From ba5ead5941bbdccdffa2b0f6aff3ff5e0720a990 Mon Sep 17 00:00:00 2001 From: 360dgries Date: Wed, 13 Dec 2023 15:56:15 -0500 Subject: [PATCH 1/9] Update Rubocop and Ruby minimum versions --- .github/workflows/ruby.yml | 2 +- .ruby-version | 1 + .simplecov | 10 ++++---- .tool-versions | 1 + Gemfile.lock | 52 ++++++++++++++++++++------------------ fhir_dstu2_models.gemspec | 3 ++- 6 files changed, 37 insertions(+), 32 deletions(-) create mode 100644 .ruby-version create mode 100644 .tool-versions diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 8eda4263..266855f8 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.6', '2.7'] + ruby-version: ['3.0', '3.1', '3.2'] steps: - uses: actions/checkout@v2 diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..ef538c28 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.2 diff --git a/.simplecov b/.simplecov index a555a375..dd33d9ab 100644 --- a/.simplecov +++ b/.simplecov @@ -1,14 +1,14 @@ require 'simplecov' SimpleCov.command_name 'Unit Tests' -SimpleCov.start do - add_filter "test/" - add_group "Library", "lib" -end +# SimpleCov.start do +# add_filter 'test/' +# add_group 'Library', 'lib' +# end class SimpleCov::Formatter::QualityFormatter def format(result) SimpleCov::Formatter::HTMLFormatter.new.format(result) - File.open("coverage/covered_percent", "w") do |f| + File.open('coverage/covered_percent', 'w') do |f| f.puts result.source_files.covered_percent.to_f end end diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..0b2d8587 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.1.2 diff --git a/Gemfile.lock b/Gemfile.lock index 052ed47c..1e408c19 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,7 +18,7 @@ GEM date_time_precision (0.8.1) diff-lcs (1.3) docile (1.1.5) - ffi (1.11.1) + ffi (1.16.3) formatador (0.2.5) guard (2.15.0) formatador (>= 0.2.4) @@ -39,21 +39,19 @@ GEM test-unit (~> 3.0) i18n (1.8.10) concurrent-ruby (~> 1.0) - jaro_winkler (1.5.4) json (2.3.1) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) + listen (3.8.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) lumberjack (1.0.13) method_source (0.9.2) mime-types (3.3.1) mime-types-data (~> 3.2015) mime-types-data (3.2021.0901) - mini_portile2 (2.5.3) + mini_portile2 (2.8.5) nenv (0.3.0) - nokogiri (1.11.7) - mini_portile2 (~> 2.5.0) + nokogiri (1.15.5) + mini_portile2 (~> 2.8.2) racc (~> 1.4) nokogiri-diff (0.2.0) nokogiri (~> 1.5) @@ -61,20 +59,22 @@ GEM notiffany (0.1.3) nenv (~> 0.1) shellany (~> 0.0) - parallel (1.20.1) - parser (3.0.0.0) + parallel (1.23.0) + parser (3.2.2.4) ast (~> 2.4.1) + racc power_assert (1.1.5) pry (0.12.2) coderay (~> 1.1.0) method_source (~> 0.9.0) - racc (1.5.2) - rainbow (3.0.0) + racc (1.7.3) + rainbow (3.1.1) rake (12.3.3) - rb-fsevent (0.10.3) - rb-inotify (0.10.0) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) ffi (~> 1.0) - rexml (3.2.5) + regexp_parser (2.8.3) + rexml (3.2.6) rspec (3.8.0) rspec-core (~> 3.8.0) rspec-expectations (~> 3.8.0) @@ -88,16 +88,18 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.8.0) rspec-support (3.8.2) - rubocop (0.80.0) - jaro_winkler (~> 1.5.1) + rubocop (1.23.0) parallel (~> 1.10) - parser (>= 2.7.0.1) + parser (>= 3.0.0.0) rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) rexml + rubocop-ast (>= 1.12.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 1.7) - ruby-progressbar (1.11.0) - ruby_dep (1.5.0) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + ruby-progressbar (1.13.0) shellany (0.0.1) simplecov (0.13.0) docile (~> 1.1.0) @@ -108,7 +110,7 @@ GEM test-unit (3.3.3) power_assert thor (0.20.3) - unicode-display_width (1.6.1) + unicode-display_width (2.5.0) PLATFORMS ruby @@ -122,12 +124,12 @@ DEPENDENCIES pry rake rspec - rubocop (= 0.80) + rubocop (= 1.23.0) simplecov test-unit RUBY VERSION - ruby 2.7.2p137 + ruby 3.1.2p20 BUNDLED WITH 2.2.17 diff --git a/fhir_dstu2_models.gemspec b/fhir_dstu2_models.gemspec index 87d5a490..5c8ecd8e 100644 --- a/fhir_dstu2_models.gemspec +++ b/fhir_dstu2_models.gemspec @@ -21,6 +21,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] + spec.required_ruby_version = '>= 3.0.0' spec.add_dependency 'nokogiri', '>= 1.11.4' spec.add_dependency 'date_time_precision', '>= 0.8' spec.add_dependency 'bcp47', '>= 0.3' @@ -33,7 +34,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rspec' spec.add_development_dependency 'simplecov' spec.add_development_dependency 'nokogiri-diff' - spec.add_development_dependency 'rubocop', '0.80' + spec.add_development_dependency 'rubocop', '1.23.0' spec.add_development_dependency 'guard-rspec' spec.add_development_dependency 'guard-test' end From a4efe0060531a6d1331368a84df8d432594b090d Mon Sep 17 00:00:00 2001 From: 360dgries Date: Thu, 7 Dec 2023 12:38:37 -0500 Subject: [PATCH 2/9] Update pry and dependencies --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1e408c19..9242d52a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,7 +13,7 @@ GEM ast (2.4.2) bcp47 (0.3.3) i18n - coderay (1.1.2) + coderay (1.1.3) concurrent-ruby (1.1.9) date_time_precision (0.8.1) diff-lcs (1.3) @@ -44,7 +44,7 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) lumberjack (1.0.13) - method_source (0.9.2) + method_source (1.0.0) mime-types (3.3.1) mime-types-data (~> 3.2015) mime-types-data (3.2021.0901) @@ -64,9 +64,9 @@ GEM ast (~> 2.4.1) racc power_assert (1.1.5) - pry (0.12.2) - coderay (~> 1.1.0) - method_source (~> 0.9.0) + pry (0.14.2) + coderay (~> 1.1) + method_source (~> 1.0) racc (1.7.3) rainbow (3.1.1) rake (12.3.3) From 29266827f0c757c2a6a011998e26d38f62c2b8df Mon Sep 17 00:00:00 2001 From: 360dgries Date: Thu, 7 Dec 2023 14:24:02 -0500 Subject: [PATCH 3/9] Update codeclimate to use new rubocop version --- .codeclimate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 69fb35bd..c59304e5 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -9,7 +9,7 @@ engines: enabled: true rubocop: enabled: true - channel: rubocop-0-80 + channel: rubocop-1-23-0 ratings: paths: - "**.inc" From cafac0a3cf1a70037a611e00bd18f8be0c1e191a Mon Sep 17 00:00:00 2001 From: 360dgries Date: Wed, 13 Dec 2023 16:15:10 -0500 Subject: [PATCH 4/9] Initial Autocorrect --- .rubocop.yml | 6 +- .rubocop_todo.yml | 153 +++++++----------- Guardfile | 2 +- .../bootstrap/definitions.rb | 8 +- lib/fhir_dstu2_models/bootstrap/field.rb | 4 +- lib/fhir_dstu2_models/bootstrap/generator.rb | 8 +- lib/fhir_dstu2_models/bootstrap/hashable.rb | 10 +- lib/fhir_dstu2_models/bootstrap/json.rb | 4 +- lib/fhir_dstu2_models/bootstrap/model.rb | 25 +-- lib/fhir_dstu2_models/bootstrap/preprocess.rb | 23 +-- lib/fhir_dstu2_models/bootstrap/xml.rb | 15 +- lib/fhir_dstu2_models/fhir.rb | 12 +- lib/fhir_dstu2_models/fhir/metadata.rb | 2 +- .../fhir/resources/Account.rb | 2 +- .../fhir/resources/AllergyIntolerance.rb | 2 +- .../fhir/resources/Appointment.rb | 2 +- .../fhir/resources/AppointmentResponse.rb | 2 +- .../fhir/resources/AuditEvent.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/Basic.rb | 2 +- .../fhir/resources/Binary.rb | 2 +- .../fhir/resources/BodySite.rb | 2 +- .../fhir/resources/Bundle.rb | 2 +- .../fhir/resources/CarePlan.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/Claim.rb | 2 +- .../fhir/resources/ClaimResponse.rb | 3 +- .../fhir/resources/ClinicalImpression.rb | 2 +- .../fhir/resources/Communication.rb | 2 +- .../fhir/resources/CommunicationRequest.rb | 2 +- .../fhir/resources/Composition.rb | 2 +- .../fhir/resources/ConceptMap.rb | 2 +- .../fhir/resources/Condition.rb | 2 +- .../fhir/resources/Conformance.rb | 2 +- .../fhir/resources/Contract.rb | 2 +- .../fhir/resources/Coverage.rb | 2 +- .../fhir/resources/DataElement.rb | 2 +- .../fhir/resources/DetectedIssue.rb | 2 +- .../fhir/resources/Device.rb | 2 +- .../fhir/resources/DeviceComponent.rb | 2 +- .../fhir/resources/DeviceMetric.rb | 2 +- .../fhir/resources/DeviceUseRequest.rb | 2 +- .../fhir/resources/DeviceUseStatement.rb | 2 +- .../fhir/resources/DiagnosticOrder.rb | 2 +- .../fhir/resources/DiagnosticReport.rb | 2 +- .../fhir/resources/DocumentManifest.rb | 2 +- .../fhir/resources/DocumentReference.rb | 2 +- .../fhir/resources/DomainResource.rb | 4 +- .../fhir/resources/EligibilityRequest.rb | 2 +- .../fhir/resources/EligibilityResponse.rb | 2 +- .../fhir/resources/Encounter.rb | 2 +- .../fhir/resources/EnrollmentRequest.rb | 2 +- .../fhir/resources/EnrollmentResponse.rb | 2 +- .../fhir/resources/EpisodeOfCare.rb | 2 +- .../fhir/resources/ExplanationOfBenefit.rb | 2 +- .../fhir/resources/FamilyMemberHistory.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/Flag.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/Goal.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/Group.rb | 2 +- .../fhir/resources/HealthcareService.rb | 2 +- .../fhir/resources/ImagingObjectSelection.rb | 2 +- .../fhir/resources/ImagingStudy.rb | 2 +- .../fhir/resources/Immunization.rb | 2 +- .../resources/ImmunizationRecommendation.rb | 2 +- .../fhir/resources/ImplementationGuide.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/List.rb | 2 +- .../fhir/resources/Location.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/Media.rb | 2 +- .../fhir/resources/Medication.rb | 2 +- .../resources/MedicationAdministration.rb | 2 +- .../fhir/resources/MedicationDispense.rb | 2 +- .../fhir/resources/MedicationOrder.rb | 2 +- .../fhir/resources/MedicationStatement.rb | 2 +- .../fhir/resources/MessageHeader.rb | 2 +- .../fhir/resources/NamingSystem.rb | 2 +- .../fhir/resources/NutritionOrder.rb | 2 +- .../fhir/resources/Observation.rb | 2 +- .../fhir/resources/OperationDefinition.rb | 2 +- .../fhir/resources/OperationOutcome.rb | 4 +- lib/fhir_dstu2_models/fhir/resources/Order.rb | 2 +- .../fhir/resources/OrderResponse.rb | 2 +- .../fhir/resources/Organization.rb | 2 +- .../fhir/resources/Parameters.rb | 4 +- .../fhir/resources/Patient.rb | 2 +- .../fhir/resources/PaymentNotice.rb | 2 +- .../fhir/resources/PaymentReconciliation.rb | 2 +- .../fhir/resources/Person.rb | 2 +- .../fhir/resources/Practitioner.rb | 2 +- .../fhir/resources/Procedure.rb | 2 +- .../fhir/resources/ProcedureRequest.rb | 2 +- .../fhir/resources/ProcessRequest.rb | 2 +- .../fhir/resources/ProcessResponse.rb | 2 +- .../fhir/resources/Provenance.rb | 2 +- .../fhir/resources/Questionnaire.rb | 2 +- .../fhir/resources/QuestionnaireResponse.rb | 2 +- .../fhir/resources/ReferralRequest.rb | 2 +- .../fhir/resources/RelatedPerson.rb | 2 +- .../fhir/resources/Resource.rb | 2 +- .../fhir/resources/RiskAssessment.rb | 2 +- .../fhir/resources/Schedule.rb | 2 +- .../fhir/resources/SearchParameter.rb | 2 +- lib/fhir_dstu2_models/fhir/resources/Slot.rb | 2 +- .../fhir/resources/Specimen.rb | 2 +- .../fhir/resources/StructureDefinition.rb | 2 +- .../fhir/resources/Subscription.rb | 2 +- .../fhir/resources/Substance.rb | 2 +- .../fhir/resources/SupplyDelivery.rb | 2 +- .../fhir/resources/SupplyRequest.rb | 2 +- .../fhir/resources/TestScript.rb | 2 +- .../fhir/resources/ValueSet.rb | 2 +- .../fhir/resources/VisionPrescription.rb | 2 +- lib/fhir_dstu2_models/fhir/types/Address.rb | 4 +- .../fhir/types/Annotation.rb | 4 +- .../fhir/types/Attachment.rb | 4 +- .../fhir/types/BackboneElement.rb | 4 +- .../fhir/types/CodeableConcept.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Coding.rb | 4 +- .../fhir/types/ContactPoint.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Element.rb | 2 +- .../fhir/types/ElementDefinition.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Extension.rb | 4 +- lib/fhir_dstu2_models/fhir/types/HumanName.rb | 4 +- .../fhir/types/Identifier.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Meta.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Narrative.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Period.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Quantity.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Range.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Ratio.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Reference.rb | 2 +- .../fhir/types/SampledData.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Signature.rb | 4 +- lib/fhir_dstu2_models/fhir/types/Timing.rb | 4 +- .../fhir_ext/structure_definition.rb | 29 ++-- .../fhir_ext/structure_definition_finding.rb | 4 +- lib/fhir_dstu2_models/fluentpath/evaluate.rb | 25 +-- .../fluentpath/expression.rb | 8 +- lib/fhir_dstu2_models/fluentpath/parse.rb | 8 +- 136 files changed, 296 insertions(+), 333 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 33307610..5e6fa477 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,6 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 Exclude: - 'test/**/*' - 'spec/**/*' @@ -12,6 +12,8 @@ AllCops: - 'bin/*' Layout/LineLength: Enabled: false +Style/AccessorGrouping: + Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/HashEachMethods: @@ -20,6 +22,8 @@ Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true +Style/WordArray: + EnforcedStyle: brackets inherit_mode: merge: - Exclude diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6ec4af38..7e228817 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2021-03-30 17:40:28 -0400 using RuboCop version 0.80.0. +# on 2023-12-13 21:05:46 UTC using RuboCop version 1.23.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -29,12 +29,6 @@ Layout/EmptyLineAfterGuardClause: - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' - 'lib/fhir_dstu2_models/fluentpath/parse.rb' -# Offense count: 1 -# Cop supports --auto-correct. -Layout/EmptyLines: - Exclude: - - 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb' - # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. @@ -55,7 +49,7 @@ Layout/EmptyLinesAroundModuleBody: # Cop supports --auto-correct. Layout/RescueEnsureAlignment: Exclude: - - 'lib/fhir_dstu2_models/bootstrap/hashable.rb' + - 'lib/fhir_dstu2_models/bootstrap/model.rb' # Offense count: 19223 # Cop supports --auto-correct. @@ -72,39 +66,20 @@ Layout/SpaceAroundOperators: Layout/SpaceInsideHashLiteralBraces: Enabled: false -# Offense count: 120 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: final_newline, final_blank_line -Layout/TrailingEmptyLines: - Enabled: false - -# Offense count: 23 -# Cop supports --auto-correct. -# Configuration parameters: AllowInHeredoc. -Layout/TrailingWhitespace: - Enabled: false - # Offense count: 6 # Cop supports --auto-correct. Lint/NonDeterministicRequireOrder: Exclude: - 'lib/fhir_dstu2_models.rb' -# Offense count: 2 -# Cop supports --auto-correct. -Lint/ToJSON: - Exclude: - - 'lib/fhir_dstu2_models/bootstrap/json.rb' - - 'lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb' - -# Offense count: 41 +# Offense count: 40 +# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: - Max: 461 + Max: 533 # Offense count: 10 -# Configuration parameters: CountComments, ExcludedMethods. -# ExcludedMethods: refine +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. +# IgnoredMethods: refine Metrics/BlockLength: Max: 131 @@ -114,35 +89,38 @@ Metrics/BlockNesting: Max: 6 # Offense count: 7 -# Configuration parameters: CountComments. +# Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 470 -# Offense count: 30 +# Offense count: 36 +# Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: - Max: 142 + Max: 156 -# Offense count: 48 -# Configuration parameters: CountComments, ExcludedMethods. +# Offense count: 49 +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 463 # Offense count: 2 -# Configuration parameters: CountComments. +# Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: Max: 520 -# Offense count: 28 +# Offense count: 31 +# Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: - Max: 145 + Max: 160 # Offense count: 118 -# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. +# CheckDefinitionPathHierarchyRoots: lib, spec, test, src # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS Naming/FileName: Enabled: false -# Offense count: 96 +# Offense count: 1380 # Configuration parameters: EnforcedStyle, IgnoredPatterns. # SupportedStyles: snake_case, camelCase Naming/MethodName: @@ -150,23 +128,18 @@ Naming/MethodName: # Offense count: 4 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. -# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp +# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: Exclude: - 'lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb' -# Offense count: 2 +# Offense count: 1 # Cop supports --auto-correct. -# Configuration parameters: PreferredName. -Naming/RescuedExceptionsVariableName: +# Configuration parameters: EnforcedStyle. +# SupportedStyles: nested, compact +Style/ClassAndModuleChildren: Exclude: - - 'lib/fhir_dstu2_models/bootstrap/hashable.rb' - -# Offense count: 1 -# Configuration parameters: . -# SupportedStyles: inline, group -Style/AccessModifierDeclarations: - EnforcedStyle: inline + - '.simplecov' # Offense count: 19 Style/ClassVars: @@ -175,7 +148,13 @@ Style/ClassVars: - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' - 'lib/fhir_dstu2_models/fluentpath/parse.rb' +# Offense count: 1 +Style/CombinableLoops: + Exclude: + - 'lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb' + # Offense count: 6 +# Cop supports --auto-correct. Style/CommentedKeyword: Exclude: - 'lib/fhir_dstu2_models/bootstrap/hashable.rb' @@ -190,9 +169,16 @@ Style/ConditionalAssignment: - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' # Offense count: 358 +# Configuration parameters: AllowedConstants. Style/Documentation: Enabled: false +# Offense count: 1 +# Cop supports --auto-correct. +Style/GlobalStdStream: + Exclude: + - 'lib/fhir_dstu2_models/fhir.rb' + # Offense count: 16 # Configuration parameters: MinBodyLength. Style/GuardClause: @@ -228,21 +214,11 @@ Style/LambdaCall: Exclude: - 'lib/fhir_dstu2_models/fhir_ext/structure_definition.rb' -# Offense count: 1 -Style/MethodMissingSuper: - Exclude: - - 'lib/fhir_dstu2_models/bootstrap/model.rb' - # Offense count: 1 Style/MissingRespondToMissing: Exclude: - 'lib/fhir_dstu2_models/bootstrap/model.rb' -# Offense count: 3 -Style/MultipleComparison: - Exclude: - - 'lib/fhir_dstu2_models/bootstrap/definitions.rb' - # Offense count: 494 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. @@ -252,14 +228,21 @@ Style/MutableConstant: # Offense count: 3 # Cop supports --auto-correct. -# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. +# Configuration parameters: EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - - 'spec/**/*' - 'lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb' - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' +# Offense count: 2 +# Configuration parameters: AllowedMethods. +# AllowedMethods: respond_to_missing? +Style/OptionalBooleanParameter: + Exclude: + - 'lib/fhir_dstu2_models/bootstrap/generator.rb' + - 'lib/fhir_dstu2_models/bootstrap/template.rb' + # Offense count: 1 # Cop supports --auto-correct. Style/OrAssignment: @@ -268,9 +251,9 @@ Style/OrAssignment: # Offense count: 1 # Cop supports --auto-correct. -Style/RedundantBegin: +Style/RedundantSelfAssignment: Exclude: - - 'lib/fhir_dstu2_models/fluentpath/expression.rb' + - 'lib/fhir_dstu2_models/fhir_ext/element_definition.rb' # Offense count: 6 # Cop supports --auto-correct. @@ -278,33 +261,12 @@ Style/RescueModifier: Exclude: - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' -# Offense count: 18 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: implicit, explicit -Style/RescueStandardError: - Exclude: - - 'lib/fhir_dstu2_models/bootstrap/definitions.rb' - - 'lib/fhir_dstu2_models/bootstrap/hashable.rb' - - 'lib/fhir_dstu2_models/bootstrap/json.rb' - - 'lib/fhir_dstu2_models/bootstrap/model.rb' - - 'lib/fhir_dstu2_models/bootstrap/xml.rb' - - 'lib/fhir_dstu2_models/fhir.rb' - - 'lib/fhir_dstu2_models/fhir_ext/structure_definition.rb' - - 'lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb' - - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' - - 'lib/fhir_dstu2_models/fluentpath/expression.rb' - - 'lib/fhir_dstu2_models/fluentpath/parse.rb' - -# Offense count: 4 +# Offense count: 1 # Cop supports --auto-correct. -# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods. -# AllowedMethods: present?, blank?, presence, try, try! -Style/SafeNavigation: +# Configuration parameters: AllowModifier. +Style/SoleNestedConditional: Exclude: - - 'lib/fhir_dstu2_models/bootstrap/definitions.rb' - - 'lib/fhir_dstu2_models/bootstrap/xml.rb' - - 'lib/fhir_dstu2_models/fhir_ext/structure_definition.rb' + - 'lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb' # Offense count: 1 # Cop supports --auto-correct. @@ -328,10 +290,3 @@ Style/WhileUntilModifier: Exclude: - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' -# Offense count: 624 -# Cop supports --auto-correct. -# Configuration parameters: WordRegex. -# SupportedStyles: percent, brackets -Style/WordArray: - EnforcedStyle: percent - MinSize: 6402 diff --git a/Guardfile b/Guardfile index 0544a08a..d5332cd4 100644 --- a/Guardfile +++ b/Guardfile @@ -15,7 +15,7 @@ # # and, you'll have to watch "config/Guardfile" instead of "Guardfile" -# Note: The cmd option is now required due to the increasing number of ways +# NOTE: The cmd option is now required due to the increasing number of ways # rspec may be run, below are examples of the most common uses. # * bundler: 'bundle exec rspec' # * bundler binstubs: 'bin/rspec' diff --git a/lib/fhir_dstu2_models/bootstrap/definitions.rb b/lib/fhir_dstu2_models/bootstrap/definitions.rb index 20d0be31..27c6fa80 100644 --- a/lib/fhir_dstu2_models/bootstrap/definitions.rb +++ b/lib/fhir_dstu2_models/bootstrap/definitions.rb @@ -161,7 +161,7 @@ def self.get_profile_class(uri) load f # set the return class type klass = Object.const_get("FHIR::DSTU2::Profile::#{id}::#{type}") - rescue + rescue StandardError FHIR::DSTU2.logger.error "Failed to generate class for profile #{uri}" end # unlink the file so it can be garbage collected @@ -234,7 +234,7 @@ def self.get_codes(uri, parent_code = nil) [] end end - x['concept'].each { |y| @@cache[uri][system] += get_codes_from_concept(y, parent_code) } if x['concept'] + x['concept']&.each { |y| @@cache[uri][system] += get_codes_from_concept(y, parent_code) } next unless x['filter'] x['filter'].each do |filter| if filter['property'] == 'concept' && filter['op'] == 'is-a' @@ -255,7 +255,7 @@ def self.get_codes(uri, parent_code = nil) [] end end - x['concept'].each { |y| @@cache[uri][system].delete(y['code']) } if x['concept'] + x['concept']&.each { |y| @@cache[uri][system].delete(y['code']) } end end end @@ -296,7 +296,7 @@ def self.get_codes_from_concept(concept, filter_code = nil) end end codes - rescue => e + rescue StandardError => e FHIR::DSTU2.logger.debug "Unable to extract codes from concept #{concept}: #{e.message}" end diff --git a/lib/fhir_dstu2_models/bootstrap/field.rb b/lib/fhir_dstu2_models/bootstrap/field.rb index 37408544..9312326d 100644 --- a/lib/fhir_dstu2_models/bootstrap/field.rb +++ b/lib/fhir_dstu2_models/bootstrap/field.rb @@ -23,7 +23,7 @@ def initialize(name = '') def serialize hash = {} instance_variables.each do |v| - hash[v.to_s[1..-1]] = instance_variable_get(v) + hash[v.to_s[1..]] = instance_variable_get(v) end hash.delete('name') hash.keep_if do |_key, value| @@ -37,7 +37,7 @@ def serialize def fix_name(name) fix = nil - fix = "local_#{name}" if %w[class method resourceType].include?(name) + fix = "local_#{name}" if ['class', 'method', 'resourceType'].include?(name) fix end end diff --git a/lib/fhir_dstu2_models/bootstrap/generator.rb b/lib/fhir_dstu2_models/bootstrap/generator.rb index af6ac57d..c1e5c0da 100644 --- a/lib/fhir_dstu2_models/bootstrap/generator.rb +++ b/lib/fhir_dstu2_models/bootstrap/generator.rb @@ -183,13 +183,13 @@ def generate_class(hierarchy, structure_def, top_level = false) field.path = element['path'].gsub(path_type, type_name) field.type = data_type field.type = 'Extension' if field.path.end_with?('extension') - field.type_profiles = profiles if %w[Reference Extension].include?(data_type) + field.type_profiles = profiles if ['Reference', 'Extension'].include?(data_type) field.min = element['min'] field.max = element['max'] field.max = field.max.to_i field.max = '*' if element['max'] == '*' - if %w[code Coding CodeableConcept].include?(data_type) && element['binding'] + if ['code', 'Coding', 'CodeableConcept'].include?(data_type) && element['binding'] field.binding = element['binding'] field.binding['uri'] = field.binding['valueSetUri'] field.binding['uri'] = field.binding['valueSetReference'] if field.binding['uri'].nil? @@ -206,7 +206,7 @@ def generate_class(hierarchy, structure_def, top_level = false) @missing_expansions = true @missing_required_expansion = (field.binding['strength'] == 'required') unless @missing_required_expansion end - elsif %w[Element BackboneElement].include?(data_type) + elsif ['Element', 'BackboneElement'].include?(data_type) # This is a nested structure or class field.type = "#{hierarchy.join('::')}::#{cap_first(field.name)}" end @@ -217,7 +217,7 @@ def generate_class(hierarchy, structure_def, top_level = false) field = FHIR::DSTU2::Field.new(field_base_name) field.path = element['path'].gsub(path_type, type_name) field.type = element['nameReference'] - field.type = field.type[1..-1] if field.type[0] == '#' + field.type = field.type[1..] if field.type[0] == '#' hindex = hierarchy.index { |x| x.casecmp(field.type).zero? } if hindex # reference to self diff --git a/lib/fhir_dstu2_models/bootstrap/hashable.rb b/lib/fhir_dstu2_models/bootstrap/hashable.rb index cd4e1028..5804ea53 100644 --- a/lib/fhir_dstu2_models/bootstrap/hashable.rb +++ b/lib/fhir_dstu2_models/bootstrap/hashable.rb @@ -43,7 +43,7 @@ def from_hash(hash) local_name = meta['local_name'] if meta['local_name'] begin instance_variable_set("@#{local_name}", value) - rescue + rescue StandardError # TODO: this appears to be a dead code branch nil end @@ -86,17 +86,17 @@ def make_child(child, klass) if child['resourceType'] && !klass::METADATA['resourceType'] klass = begin FHIR::DSTU2.const_get(child['resourceType']) - rescue => exception + rescue StandardError => e # TODO: this appears to be a dead code branch - FHIR::DSTU2.logger.error("Unable to identify embedded class #{child['resourceType']}\n#{exception.message}\n#{exception.backtrace}") + FHIR::DSTU2.logger.error("Unable to identify embedded class #{child['resourceType']}\n#{e.message}\n#{e.backtrace}") nil end end begin obj = klass.new(child) - rescue => exception + rescue StandardError => e # TODO: this appears to be a dead code branch - FHIR::DSTU2.logger.error("Unable to inflate embedded class #{klass}\n#{exception.message}\n#{exception.backtrace}") + FHIR::DSTU2.logger.error("Unable to inflate embedded class #{klass}\n#{e.message}\n#{e.backtrace}") end obj end diff --git a/lib/fhir_dstu2_models/bootstrap/json.rb b/lib/fhir_dstu2_models/bootstrap/json.rb index cf62a983..84c3259c 100644 --- a/lib/fhir_dstu2_models/bootstrap/json.rb +++ b/lib/fhir_dstu2_models/bootstrap/json.rb @@ -7,7 +7,7 @@ module Json # This module includes methods to serialize or deserialize FHIR::DSTU2 resources to and from JSON. # - def to_json + def to_json(*_args) JSON.pretty_unparse(to_hash) end @@ -18,7 +18,7 @@ def self.from_json(json) resource_type = hash['resourceType'] klass = Module.const_get("FHIR::DSTU2::#{resource_type}") resource = klass.new(hash) - rescue => e + rescue StandardError => e FHIR::DSTU2.logger.error("Failed to deserialize JSON:\n#{e.message}\n#{e.backtrace}") FHIR::DSTU2.logger.debug("JSON:\n#{json}") resource = nil diff --git a/lib/fhir_dstu2_models/bootstrap/model.rb b/lib/fhir_dstu2_models/bootstrap/model.rb index 3cc3e630..a0ce097d 100644 --- a/lib/fhir_dstu2_models/bootstrap/model.rb +++ b/lib/fhir_dstu2_models/bootstrap/model.rb @@ -150,14 +150,14 @@ def validate_profile(metadata, contained = nil) end # metadata.each # check multiple types multiple_types = begin - self.class::MULTIPLE_TYPES - rescue - {} - end + self.class::MULTIPLE_TYPES + rescue StandardError + {} + end multiple_types.each do |prefix, suffixes| present = [] suffixes.each do |suffix| - typename = "#{prefix}#{suffix[0].upcase}#{suffix[1..-1]}" + typename = "#{prefix}#{suffix[0].upcase}#{suffix[1..]}" # check which multiple data types are actually present, not just errors # actually, this might be allowed depending on cardinality value = instance_variable_get("@#{typename}") @@ -167,7 +167,7 @@ def validate_profile(metadata, contained = nil) # remove errors for suffixes that are not present next unless present.length == 1 suffixes.each do |suffix| - typename = "#{prefix}#{suffix[0].upcase}#{suffix[1..-1]}" + typename = "#{prefix}#{suffix[0].upcase}#{suffix[1..]}" errors.delete(typename) unless present.include?(typename) end end @@ -231,9 +231,10 @@ def validate_field(field, value, contained_here, meta, errors) next unless meta['binding'] next unless meta['binding']['strength'] == 'required' the_codes = [v] - if meta['type'] == 'Coding' + case meta['type'] + when 'Coding' the_codes = [v.code] - elsif meta['type'] == 'CodeableConcept' + when 'CodeableConcept' the_codes = v.coding.map(&:code).compact end has_valid_code = false @@ -267,7 +268,7 @@ def validate_reference_type(ref, meta, contained_here, errors) matches_one_profile = true if meta['type_profiles'].include?('http://hl7.org/fhir/StructureDefinition/Resource') if !matches_one_profile && ref.reference.start_with?('#') # we need to look at the local contained resources - r = contained_here.find { |x| x.id == ref.reference[1..-1] } + r = contained_here.find { |x| x.id == ref.reference[1..] } if !r.nil? meta['type_profiles'].each do |p| p = p.split('/').last @@ -288,12 +289,12 @@ def primitive?(datatype, value) def check_binding_uri(uri, value) valid = false - if %w[http://hl7.org/fhir/ValueSet/content-type http://www.rfc-editor.org/bcp/bcp13.txt].include?(uri) + if ['http://hl7.org/fhir/ValueSet/content-type', 'http://www.rfc-editor.org/bcp/bcp13.txt'].include?(uri) matches = MIME::Types[value] json_or_xml = value.downcase.include?('xml') || value.downcase.include?('json') - known_weird = %w[text/cql application/cql+text].include?(value) + known_weird = ['text/cql', 'application/cql+text'].include?(value) valid = json_or_xml || known_weird || (!matches.nil? && !matches.empty?) - elsif %w[http://hl7.org/fhir/ValueSet/languages http://tools.ietf.org/html/bcp47].include?(uri) + elsif ['http://hl7.org/fhir/ValueSet/languages', 'http://tools.ietf.org/html/bcp47'].include?(uri) has_region = !(value =~ /-/).nil? valid = !BCP47::Language.identify(value.downcase).nil? && (!has_region || !BCP47::Region.identify(value.upcase).nil?) else diff --git a/lib/fhir_dstu2_models/bootstrap/preprocess.rb b/lib/fhir_dstu2_models/bootstrap/preprocess.rb index 84386dd9..e5a0bde4 100644 --- a/lib/fhir_dstu2_models/bootstrap/preprocess.rb +++ b/lib/fhir_dstu2_models/bootstrap/preprocess.rb @@ -12,7 +12,7 @@ def self.pre_process_bundle(filename) # Remove entries that do not interest us: CompartmentDefinitions, OperationDefinitions, Conformance statements hash['entry'].select! do |entry| - %w[StructureDefinition ValueSet CodeSystem SearchParameter].include? entry['resource']['resourceType'] + ['StructureDefinition', 'ValueSet', 'CodeSystem', 'SearchParameter'].include? entry['resource']['resourceType'] end # Remove unnecessary elements from the hash @@ -35,23 +35,23 @@ def self.pre_process_bundle(filename) def self.pre_process_structuredefinition(hash) # Remove large HTML narratives and unused content - %w[text publisher contact description requirements mapping].each { |key| hash.delete(key) } + ['text', 'publisher', 'contact', 'description', 'requirements', 'mapping'].each { |key| hash.delete(key) } # Remove unused descriptions within the snapshot and differential elements - %w[snapshot differential].each do |key| + ['snapshot', 'differential'].each do |key| next unless hash[key] hash[key]['element'].each do |element| - %w[short definition comments requirements alias mapping].each { |subkey| element.delete(subkey) } + ['short', 'definition', 'comments', 'requirements', 'alias', 'mapping'].each { |subkey| element.delete(subkey) } end end end def self.pre_process_valueset(hash) # Remove large HTML narratives and unused content - %w[meta text publisher contact description requirements].each { |key| hash.delete(key) } + ['meta', 'text', 'publisher', 'contact', 'description', 'requirements'].each { |key| hash.delete(key) } return unless hash['compose'] - %w[include exclude].each do |key| + ['include', 'exclude'].each do |key| next unless hash['compose'][key] hash['compose'][key].each do |element| next unless element['concept'] @@ -64,7 +64,7 @@ def self.pre_process_valueset(hash) def self.pre_process_codesystem(hash) # Remove large HTML narratives and unused content - %w[meta text publisher contact description requirements].each { |key| hash.delete(key) } + ['meta', 'text', 'publisher', 'contact', 'description', 'requirements'].each { |key| hash.delete(key) } return unless hash['concept'] hash['concept'].each do |concept| pre_process_codesystem_concept(concept) @@ -72,7 +72,7 @@ def self.pre_process_codesystem(hash) end def self.pre_process_codesystem_concept(hash) - %w[extension definition designation].each { |key| hash.delete(key) } + ['extension', 'definition', 'designation'].each { |key| hash.delete(key) } return unless hash['concept'] hash['concept'].each do |concept| pre_process_codesystem_concept(concept) @@ -81,15 +81,16 @@ def self.pre_process_codesystem_concept(hash) def self.pre_process_searchparam(hash) # Remove large HTML narratives and unused content - %w[id url name date publisher contact description xpathUsage].each { |key| hash.delete(key) } + ['id', 'url', 'name', 'date', 'publisher', 'contact', 'description', 'xpathUsage'].each { |key| hash.delete(key) } end def self.remove_fhir_comments(hash) hash.delete('fhir_comments') hash.each do |_key, value| - if value.is_a?(Hash) + case value + when Hash remove_fhir_comments(value) - elsif value.is_a?(Array) + when Array value.each do |v| remove_fhir_comments(v) if v.is_a?(Hash) end diff --git a/lib/fhir_dstu2_models/bootstrap/xml.rb b/lib/fhir_dstu2_models/bootstrap/xml.rb index 4c49026c..65a48463 100644 --- a/lib/fhir_dstu2_models/bootstrap/xml.rb +++ b/lib/fhir_dstu2_models/bootstrap/xml.rb @@ -25,7 +25,7 @@ def hash_to_xml_node(name, hash, doc) # if hash contains resourceType # create a child node with the name==resourceType # fill that, and place the child under the above `node` - if hash['resourceType'] && hash['resourceType'].is_a?(String) + if hash['resourceType'].is_a?(String) child_name = hash['resourceType'] hash.delete('resourceType') child = hash_to_xml_node(child_name, hash, doc) @@ -34,11 +34,12 @@ def hash_to_xml_node(name, hash, doc) end hash.each do |key, value| - next if %w[extension modifierExtension].include?(name) && key == 'url' + next if ['extension', 'modifierExtension'].include?(name) && key == 'url' next if key == 'id' && !FHIR::DSTU2::RESOURCES.include?(name) - if value.is_a?(Hash) + case value + when Hash node.add_child(hash_to_xml_node(key, value, doc)) - elsif value.is_a?(Array) + when Array value.each do |v| if v.is_a?(Hash) node.add_child(hash_to_xml_node(key, v, doc)) @@ -63,7 +64,7 @@ def hash_to_xml_node(name, hash, doc) node.add_child(child) end end - node.set_attribute('url', hash['url']) if %w[extension modifierExtension].include?(name) + node.set_attribute('url', hash['url']) if ['extension', 'modifierExtension'].include?(name) node.set_attribute('id', hash['id']) if hash['id'] && !FHIR::DSTU2::RESOURCES.include?(name) node end @@ -79,7 +80,7 @@ def self.from_xml(xml) resource_type = doc.root.name klass = Module.const_get("FHIR::DSTU2::#{resource_type}") resource = klass.new(hash) - rescue => e + rescue StandardError => e FHIR::DSTU2.logger.error("Failed to deserialize XML:\n#{e.message}\n#{e.backtrace}") FHIR::DSTU2.logger.debug("XML:\n#{xml}") resource = nil @@ -109,7 +110,7 @@ def self.xml_node_to_hash(node) end end end - hash['url'] = node.get_attribute('url') if %w[extension modifierExtension].include?(node.name) + hash['url'] = node.get_attribute('url') if ['extension', 'modifierExtension'].include?(node.name) hash['id'] = node.get_attribute('id') if node.get_attribute('id') # Testscript fixture ids (applies to any BackboneElement) hash['resourceType'] = node.name if FHIR::DSTU2::RESOURCES.include?(node.name) diff --git a/lib/fhir_dstu2_models/fhir.rb b/lib/fhir_dstu2_models/fhir.rb index 79bd4eba..9ba8a9ac 100644 --- a/lib/fhir_dstu2_models/fhir.rb +++ b/lib/fhir_dstu2_models/fhir.rb @@ -35,11 +35,11 @@ def self.primitive?(datatype:, value:) when 'string', 'markdown' value.is_a?(String) when 'decimal' - !(value.to_s =~ /\A([-+]?([0]|([1-9][0-9]*))(\.[0-9]+)?)\Z/).nil? + !(value.to_s =~ /\A([-+]?(0|([1-9][0-9]*))(\.[0-9]+)?)\Z/).nil? when 'uri' begin !URI.parse(value).nil? - rescue + rescue StandardError false end when 'base64binary' @@ -48,7 +48,7 @@ def self.primitive?(datatype:, value:) # whitespace is not significant so we strip it out before doing the regex so that we can be sure that # the number of characters is a multiple of 4. # https://tools.ietf.org/html/rfc4648 - !(value.to_s.gsub(/\s/, '') =~ %r{\A(|[0-9a-zA-Z\+=/]{4}+)\Z}).nil? + !(value.to_s.gsub(/\s/, '') =~ %r{\A(|[0-9a-zA-Z+=/]{4}+)\Z}).nil? when 'instant' formatted_value = value.respond_to?(:xmlschema) ? value.xmlschema : value.to_s !(formatted_value =~ /\A([0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))))))\Z/).nil? @@ -63,16 +63,16 @@ def self.primitive?(datatype:, value:) when 'time' !(value.to_s =~ /\A(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?)\Z/).nil? when 'code' - !(value.to_s =~ /\A[^\s]+([\s]?[^\s]+)*\Z/).nil? + !(value.to_s =~ /\A[^\s]+(\s?[^\s]+)*\Z/).nil? when 'oid' !(value.to_s =~ /\Aurn:oid:[0-2](\.[1-9]\d*)+\Z/).nil? when 'id' - !(value.to_s =~ /\A[A-Za-z0-9\-\.]{1,64}\Z/).nil? + !(value.to_s =~ /\A[A-Za-z0-9\-.]{1,64}\Z/).nil? when 'xhtml' fragment = Nokogiri::HTML::DocumentFragment.parse(value) value.is_a?(String) && fragment.errors.size.zero? when 'unsignedint' - !(value.to_s =~ /\A([0]|([1-9][0-9]*))\Z/).nil? + !(value.to_s =~ /\A(0|([1-9][0-9]*))\Z/).nil? when 'positiveint' !(value.to_s =~ /\A+?[1-9][0-9]*\Z/).nil? else diff --git a/lib/fhir_dstu2_models/fhir/metadata.rb b/lib/fhir_dstu2_models/fhir/metadata.rb index 0af9926f..49cf2a91 100644 --- a/lib/fhir_dstu2_models/fhir/metadata.rb +++ b/lib/fhir_dstu2_models/fhir/metadata.rb @@ -25,4 +25,4 @@ module DSTU2 RESOURCES = ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Account.rb b/lib/fhir_dstu2_models/fhir/resources/Account.rb index f4c0e558..f3d6271c 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Account.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Account.rb @@ -53,4 +53,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb b/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb index 06c2552e..ed31c66b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb @@ -91,4 +91,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Appointment.rb b/lib/fhir_dstu2_models/fhir/resources/Appointment.rb index b274f151..304ffd1e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Appointment.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Appointment.rb @@ -79,4 +79,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb b/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb index c976b95b..1fa7ab37 100644 --- a/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb @@ -47,4 +47,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb b/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb index b466fba5..ea9a6114 100644 --- a/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb +++ b/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb @@ -205,4 +205,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Basic.rb b/lib/fhir_dstu2_models/fhir/resources/Basic.rb index 862730d4..ac55926d 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Basic.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Basic.rb @@ -41,4 +41,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Binary.rb b/lib/fhir_dstu2_models/fhir/resources/Binary.rb index e76e0713..50d9e3bc 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Binary.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Binary.rb @@ -27,4 +27,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/BodySite.rb b/lib/fhir_dstu2_models/fhir/resources/BodySite.rb index 1865024d..3ca53a7f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/BodySite.rb +++ b/lib/fhir_dstu2_models/fhir/resources/BodySite.rb @@ -43,4 +43,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Bundle.rb b/lib/fhir_dstu2_models/fhir/resources/Bundle.rb index ba62dae3..dbb5a997 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Bundle.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Bundle.rb @@ -153,4 +153,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb b/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb index ee3de952..514dd1b6 100644 --- a/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb +++ b/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb @@ -183,4 +183,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Claim.rb b/lib/fhir_dstu2_models/fhir/resources/Claim.rb index 0e955099..34e96f2e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Claim.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Claim.rb @@ -329,4 +329,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb b/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb index bfcc463a..e95831e7 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb @@ -163,7 +163,6 @@ class Subadjudication < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - end attr_accessor :id # 0-1 id @@ -395,4 +394,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb b/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb index 1fa177a9..0cc7fc02 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb @@ -130,4 +130,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Communication.rb b/lib/fhir_dstu2_models/fhir/resources/Communication.rb index 9db1a114..6fc1dc9a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Communication.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Communication.rb @@ -82,4 +82,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb b/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb index 13e06711..1768de2e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb @@ -89,4 +89,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Composition.rb b/lib/fhir_dstu2_models/fhir/resources/Composition.rb index 125fb689..d0f59f9b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Composition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Composition.rb @@ -135,4 +135,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb b/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb index ce1d8c71..5831dcf0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb @@ -163,4 +163,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Condition.rb b/lib/fhir_dstu2_models/fhir/resources/Condition.rb index a83bf98a..70a14af3 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Condition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Condition.rb @@ -125,4 +125,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Conformance.rb b/lib/fhir_dstu2_models/fhir/resources/Conformance.rb index 4a8e4ce3..fc46d6e5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Conformance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Conformance.rb @@ -439,4 +439,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Contract.rb b/lib/fhir_dstu2_models/fhir/resources/Contract.rb index 0b5b3541..2e6771ca 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Contract.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Contract.rb @@ -317,4 +317,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Coverage.rb b/lib/fhir_dstu2_models/fhir/resources/Coverage.rb index d9c61865..155bc496 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Coverage.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Coverage.rb @@ -59,4 +59,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DataElement.rb b/lib/fhir_dstu2_models/fhir/resources/DataElement.rb index 44cce50c..d32cb396 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DataElement.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DataElement.rb @@ -103,4 +103,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb b/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb index dcab5d89..335d3259 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb @@ -73,4 +73,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Device.rb b/lib/fhir_dstu2_models/fhir/resources/Device.rb index 40ae9cce..8171a94f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Device.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Device.rb @@ -63,4 +63,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb index 25d46c91..bbba1a73 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb @@ -73,4 +73,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb index 50eaae57..881284d8 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb @@ -73,4 +73,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb index 20666fcd..cb180bca 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb @@ -67,4 +67,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb index 7b8108c9..67e1db4e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb @@ -59,4 +59,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb b/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb index fa6072c9..a7410ba9 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb @@ -105,4 +105,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb b/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb index 3e5bd92f..1fef6f0d 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb @@ -90,4 +90,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb b/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb index 8b896277..8d2fbb3a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb @@ -98,4 +98,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb b/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb index 38c55d26..4b4142f2 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb @@ -155,4 +155,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb b/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb index 4e596644..9c8a4c02 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb @@ -5,7 +5,7 @@ class DomainResource < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'DomainResource.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'DomainResource.meta', 'min'=>0, 'max'=>1}, @@ -31,4 +31,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb b/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb index 2a20c080..5be26eab 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb @@ -45,4 +45,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb b/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb index d8e9a453..635d4726 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb @@ -51,4 +51,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Encounter.rb b/lib/fhir_dstu2_models/fhir/resources/Encounter.rb index cc37aa75..e0a454c4 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Encounter.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Encounter.rb @@ -171,4 +171,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb b/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb index 6f3e05f8..7f5a06f3 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb @@ -51,4 +51,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb b/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb index df0385a4..ee0c8eb0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb @@ -51,4 +51,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb b/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb index 4079ede7..ed3b0217 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb @@ -95,4 +95,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb b/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb index de966e8c..693551ea 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb @@ -51,4 +51,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb b/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb index 20d3cb73..8e0e7322 100644 --- a/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb +++ b/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb @@ -109,4 +109,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Flag.rb b/lib/fhir_dstu2_models/fhir/resources/Flag.rb index 79bdc2ad..fbe82502 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Flag.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Flag.rb @@ -47,4 +47,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Goal.rb b/lib/fhir_dstu2_models/fhir/resources/Goal.rb index c47a7bda..61cc4685 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Goal.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Goal.rb @@ -90,4 +90,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Group.rb b/lib/fhir_dstu2_models/fhir/resources/Group.rb index bac31b84..19ba8bc0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Group.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Group.rb @@ -102,4 +102,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb b/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb index 9b43d661..54bd540b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb +++ b/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb @@ -139,4 +139,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb b/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb index 0f2155b2..a1b1fee3 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb @@ -135,4 +135,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb b/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb index 497454c8..f645ddc5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb @@ -129,4 +129,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Immunization.rb b/lib/fhir_dstu2_models/fhir/resources/Immunization.rb index 1f834bf9..d032c6f8 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Immunization.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Immunization.rb @@ -147,4 +147,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb b/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb index a9036d21..19f49ea4 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb @@ -113,4 +113,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb b/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb index 9aab37f0..41e306e5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb @@ -210,4 +210,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/List.rb b/lib/fhir_dstu2_models/fhir/resources/List.rb index 6c5161f6..cdea6049 100644 --- a/lib/fhir_dstu2_models/fhir/resources/List.rb +++ b/lib/fhir_dstu2_models/fhir/resources/List.rb @@ -81,4 +81,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Location.rb b/lib/fhir_dstu2_models/fhir/resources/Location.rb index 9cbd15e1..33b613ab 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Location.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Location.rb @@ -77,4 +77,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Media.rb b/lib/fhir_dstu2_models/fhir/resources/Media.rb index a35fb5fe..91437ed2 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Media.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Media.rb @@ -55,4 +55,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Medication.rb b/lib/fhir_dstu2_models/fhir/resources/Medication.rb index 25368e18..9bc29190 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Medication.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Medication.rb @@ -143,4 +143,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb index 00453bd2..862729de 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb @@ -103,4 +103,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb index d58f523b..f241c3ed 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb @@ -140,4 +140,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb index f66e9d37..629785e0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb @@ -170,4 +170,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb index e6b50095..aef70ed0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb @@ -116,4 +116,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb b/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb index fc88791e..4d7d7ed8 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb @@ -123,4 +123,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb b/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb index 9634822c..caa3b83c 100644 --- a/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb +++ b/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb @@ -101,4 +101,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb b/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb index fed73a59..ab8fa703 100644 --- a/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb +++ b/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb @@ -210,4 +210,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Observation.rb b/lib/fhir_dstu2_models/fhir/resources/Observation.rb index 4841089a..73885d79 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Observation.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Observation.rb @@ -186,4 +186,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb b/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb index e1e36f27..b1f18e56 100644 --- a/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb @@ -148,4 +148,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb b/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb index 6c791658..a5e2c615 100644 --- a/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb +++ b/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb @@ -5,7 +5,7 @@ class OperationOutcome < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'OperationOutcome.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'OperationOutcome.meta', 'min'=>0, 'max'=>1}, @@ -59,4 +59,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Order.rb b/lib/fhir_dstu2_models/fhir/resources/Order.rb index 11959cc1..056a6260 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Order.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Order.rb @@ -72,4 +72,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb b/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb index fdbf8f1c..b914e6e9 100644 --- a/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb @@ -45,4 +45,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Organization.rb b/lib/fhir_dstu2_models/fhir/resources/Organization.rb index aeb758b4..cc13283e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Organization.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Organization.rb @@ -71,4 +71,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Parameters.rb b/lib/fhir_dstu2_models/fhir/resources/Parameters.rb index df0d7480..b9362a3f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Parameters.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Parameters.rb @@ -5,7 +5,7 @@ class Parameters < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Parameters.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'Parameters.meta', 'min'=>0, 'max'=>1}, @@ -116,4 +116,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Patient.rb b/lib/fhir_dstu2_models/fhir/resources/Patient.rb index 0cd6b98a..a3c9d0a2 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Patient.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Patient.rb @@ -165,4 +165,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb b/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb index c89a3ab2..6d1104e0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb +++ b/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb @@ -51,4 +51,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb b/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb index 2b95c83f..0f765dba 100644 --- a/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb +++ b/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb @@ -111,4 +111,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Person.rb b/lib/fhir_dstu2_models/fhir/resources/Person.rb index 45fcaed4..e76441cc 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Person.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Person.rb @@ -71,4 +71,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb b/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb index f3120de6..409e81a7 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb @@ -105,4 +105,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Procedure.rb b/lib/fhir_dstu2_models/fhir/resources/Procedure.rb index 40d873a0..78bf3ab5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Procedure.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Procedure.rb @@ -121,4 +121,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb b/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb index 30d45457..d4caafd6 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb @@ -72,4 +72,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb b/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb index 611827f5..5a8868ad 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb @@ -81,4 +81,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb b/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb index df001279..3f8cdb65 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb @@ -77,4 +77,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Provenance.rb b/lib/fhir_dstu2_models/fhir/resources/Provenance.rb index 5298608f..270eb2a4 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Provenance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Provenance.rb @@ -121,4 +121,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb b/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb index eb8be991..b5d6feba 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb @@ -113,4 +113,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb b/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb index 41b8261d..f1233870 100644 --- a/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb @@ -146,4 +146,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb b/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb index a271223a..2bc2c4a0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb @@ -63,4 +63,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb b/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb index 8c1bb66d..241872fd 100644 --- a/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb +++ b/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb @@ -51,4 +51,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Resource.rb b/lib/fhir_dstu2_models/fhir/resources/Resource.rb index 01b753a2..d4ffe7de 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Resource.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Resource.rb @@ -23,4 +23,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb b/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb index 3ee93afa..3143c390 100644 --- a/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb +++ b/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb @@ -87,4 +87,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Schedule.rb b/lib/fhir_dstu2_models/fhir/resources/Schedule.rb index 75d91b7e..58327c07 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Schedule.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Schedule.rb @@ -41,4 +41,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb b/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb index 6b9883df..7503ac81 100644 --- a/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb +++ b/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb @@ -81,4 +81,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Slot.rb b/lib/fhir_dstu2_models/fhir/resources/Slot.rb index 875507d2..4d06e7de 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Slot.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Slot.rb @@ -47,4 +47,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Specimen.rb b/lib/fhir_dstu2_models/fhir/resources/Specimen.rb index 8647ed77..4f4c91fa 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Specimen.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Specimen.rb @@ -139,4 +139,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb b/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb index 0948cffc..faf91bf0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb @@ -161,4 +161,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Subscription.rb b/lib/fhir_dstu2_models/fhir/resources/Subscription.rb index f1abf2ba..75425d33 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Subscription.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Subscription.rb @@ -71,4 +71,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/Substance.rb b/lib/fhir_dstu2_models/fhir/resources/Substance.rb index 0d8e3237..6e8c417f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Substance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Substance.rb @@ -85,4 +85,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb b/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb index 8f9c72c9..87f23572 100644 --- a/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb +++ b/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb @@ -53,4 +53,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb b/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb index 902fabe2..e63764ca 100644 --- a/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb @@ -76,4 +76,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/TestScript.rb b/lib/fhir_dstu2_models/fhir/resources/TestScript.rb index 5654b2e4..e0f2befb 100644 --- a/lib/fhir_dstu2_models/fhir/resources/TestScript.rb +++ b/lib/fhir_dstu2_models/fhir/resources/TestScript.rb @@ -443,4 +443,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb b/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb index 5914a238..dd0c2756 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb @@ -342,4 +342,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb b/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb index d98f0512..dee4e4d2 100644 --- a/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb +++ b/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb @@ -96,4 +96,4 @@ def resourceType end end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Address.rb b/lib/fhir_dstu2_models/fhir/types/Address.rb index 8c7d2cd6..9638bda7 100644 --- a/lib/fhir_dstu2_models/fhir/types/Address.rb +++ b/lib/fhir_dstu2_models/fhir/types/Address.rb @@ -5,7 +5,7 @@ class Address < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Address.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Address.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -35,4 +35,4 @@ class Address < FHIR::DSTU2::Model attr_accessor :period # 0-1 Period end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Annotation.rb b/lib/fhir_dstu2_models/fhir/types/Annotation.rb index 4b655b3c..90cb4493 100644 --- a/lib/fhir_dstu2_models/fhir/types/Annotation.rb +++ b/lib/fhir_dstu2_models/fhir/types/Annotation.rb @@ -8,7 +8,7 @@ class Annotation < FHIR::DSTU2::Model MULTIPLE_TYPES = { 'author' => ['Reference', 'string'] } - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Annotation.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Annotation.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -26,4 +26,4 @@ class Annotation < FHIR::DSTU2::Model attr_accessor :text # 1-1 string end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Attachment.rb b/lib/fhir_dstu2_models/fhir/types/Attachment.rb index 98cdd7fb..05c59de5 100644 --- a/lib/fhir_dstu2_models/fhir/types/Attachment.rb +++ b/lib/fhir_dstu2_models/fhir/types/Attachment.rb @@ -5,7 +5,7 @@ class Attachment < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Attachment.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Attachment.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -31,4 +31,4 @@ class Attachment < FHIR::DSTU2::Model attr_accessor :creation # 0-1 dateTime end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb b/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb index e16592ab..33430493 100644 --- a/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb +++ b/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb @@ -5,7 +5,7 @@ class BackboneElement < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'BackboneElement.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'BackboneElement.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -17,4 +17,4 @@ class BackboneElement < FHIR::DSTU2::Model attr_accessor :modifierExtension # 0-* [ Extension ] end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb b/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb index c8092e06..3c70ff96 100644 --- a/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb +++ b/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb @@ -5,7 +5,7 @@ class CodeableConcept < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'CodeableConcept.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'CodeableConcept.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -19,4 +19,4 @@ class CodeableConcept < FHIR::DSTU2::Model attr_accessor :text # 0-1 string end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Coding.rb b/lib/fhir_dstu2_models/fhir/types/Coding.rb index 83feef2e..108531cd 100644 --- a/lib/fhir_dstu2_models/fhir/types/Coding.rb +++ b/lib/fhir_dstu2_models/fhir/types/Coding.rb @@ -5,7 +5,7 @@ class Coding < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Coding.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Coding.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -25,4 +25,4 @@ class Coding < FHIR::DSTU2::Model attr_accessor :userSelected # 0-1 boolean end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb b/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb index 6b1065b0..8265a28c 100644 --- a/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb +++ b/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb @@ -5,7 +5,7 @@ class ContactPoint < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'ContactPoint.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'ContactPoint.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -25,4 +25,4 @@ class ContactPoint < FHIR::DSTU2::Model attr_accessor :period # 0-1 Period end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Element.rb b/lib/fhir_dstu2_models/fhir/types/Element.rb index 1e5b5865..a3f42209 100644 --- a/lib/fhir_dstu2_models/fhir/types/Element.rb +++ b/lib/fhir_dstu2_models/fhir/types/Element.rb @@ -15,4 +15,4 @@ class Element < FHIR::DSTU2::Model attr_accessor :extension # 0-* [ Extension ] end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb b/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb index 0c348777..58e8e428 100644 --- a/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb +++ b/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb @@ -13,7 +13,7 @@ class ElementDefinition < FHIR::DSTU2::Model 'minValue' => ['boolean', 'integer', 'decimal', 'base64Binary', 'instant', 'string', 'uri', 'date', 'dateTime', 'time', 'code', 'oid', 'id', 'unsignedInt', 'positiveInt', 'markdown', 'Annotation', 'Attachment', 'Identifier', 'CodeableConcept', 'Coding', 'Quantity', 'Range', 'Period', 'Ratio', 'SampledData', 'Signature', 'HumanName', 'Address', 'ContactPoint', 'Timing', 'Reference', 'Meta'], 'maxValue' => ['boolean', 'integer', 'decimal', 'base64Binary', 'instant', 'string', 'uri', 'date', 'dateTime', 'time', 'code', 'oid', 'id', 'unsignedInt', 'positiveInt', 'markdown', 'Annotation', 'Attachment', 'Identifier', 'CodeableConcept', 'Coding', 'Quantity', 'Range', 'Period', 'Ratio', 'SampledData', 'Signature', 'HumanName', 'Address', 'ContactPoint', 'Timing', 'Reference', 'Meta'] } - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'ElementDefinition.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'ElementDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -600,4 +600,4 @@ class Mapping < FHIR::DSTU2::Model attr_accessor :mapping # 0-* [ ElementDefinition::Mapping ] end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Extension.rb b/lib/fhir_dstu2_models/fhir/types/Extension.rb index 25b0d839..9fdd92dc 100644 --- a/lib/fhir_dstu2_models/fhir/types/Extension.rb +++ b/lib/fhir_dstu2_models/fhir/types/Extension.rb @@ -8,7 +8,7 @@ class Extension < FHIR::DSTU2::Model MULTIPLE_TYPES = { 'value' => ['boolean', 'integer', 'decimal', 'base64Binary', 'instant', 'string', 'uri', 'date', 'dateTime', 'time', 'code', 'oid', 'id', 'unsignedInt', 'positiveInt', 'markdown', 'Annotation', 'Attachment', 'Identifier', 'CodeableConcept', 'Coding', 'Quantity', 'Range', 'Period', 'Ratio', 'SampledData', 'Signature', 'HumanName', 'Address', 'ContactPoint', 'Timing', 'Reference', 'Meta'] } - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Extension.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Extension.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -86,4 +86,4 @@ class Extension < FHIR::DSTU2::Model attr_accessor :valueMeta # 0-1 Meta end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/HumanName.rb b/lib/fhir_dstu2_models/fhir/types/HumanName.rb index 858f09f8..b5e63736 100644 --- a/lib/fhir_dstu2_models/fhir/types/HumanName.rb +++ b/lib/fhir_dstu2_models/fhir/types/HumanName.rb @@ -5,7 +5,7 @@ class HumanName < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'HumanName.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'HumanName.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -29,4 +29,4 @@ class HumanName < FHIR::DSTU2::Model attr_accessor :period # 0-1 Period end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Identifier.rb b/lib/fhir_dstu2_models/fhir/types/Identifier.rb index a5dc362a..1c7e512d 100644 --- a/lib/fhir_dstu2_models/fhir/types/Identifier.rb +++ b/lib/fhir_dstu2_models/fhir/types/Identifier.rb @@ -5,7 +5,7 @@ class Identifier < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Identifier.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Identifier.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -27,4 +27,4 @@ class Identifier < FHIR::DSTU2::Model attr_accessor :assigner # 0-1 Reference() end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Meta.rb b/lib/fhir_dstu2_models/fhir/types/Meta.rb index 24a11303..8fad3864 100644 --- a/lib/fhir_dstu2_models/fhir/types/Meta.rb +++ b/lib/fhir_dstu2_models/fhir/types/Meta.rb @@ -5,7 +5,7 @@ class Meta < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Meta.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Meta.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -25,4 +25,4 @@ class Meta < FHIR::DSTU2::Model attr_accessor :tag # 0-* [ Coding ] end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Narrative.rb b/lib/fhir_dstu2_models/fhir/types/Narrative.rb index c1682402..bf73d578 100644 --- a/lib/fhir_dstu2_models/fhir/types/Narrative.rb +++ b/lib/fhir_dstu2_models/fhir/types/Narrative.rb @@ -5,7 +5,7 @@ class Narrative < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Narrative.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Narrative.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -19,4 +19,4 @@ class Narrative < FHIR::DSTU2::Model attr_accessor :div # 1-1 xhtml end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Period.rb b/lib/fhir_dstu2_models/fhir/types/Period.rb index c68433df..718399c3 100644 --- a/lib/fhir_dstu2_models/fhir/types/Period.rb +++ b/lib/fhir_dstu2_models/fhir/types/Period.rb @@ -5,7 +5,7 @@ class Period < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Period.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Period.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -19,4 +19,4 @@ class Period < FHIR::DSTU2::Model attr_accessor :end # 0-1 dateTime end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Quantity.rb b/lib/fhir_dstu2_models/fhir/types/Quantity.rb index 95c3fff9..20a7c48f 100644 --- a/lib/fhir_dstu2_models/fhir/types/Quantity.rb +++ b/lib/fhir_dstu2_models/fhir/types/Quantity.rb @@ -5,7 +5,7 @@ class Quantity < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Quantity.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Quantity.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -25,4 +25,4 @@ class Quantity < FHIR::DSTU2::Model attr_accessor :code # 0-1 code end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Range.rb b/lib/fhir_dstu2_models/fhir/types/Range.rb index edb63ebc..d9d1cfab 100644 --- a/lib/fhir_dstu2_models/fhir/types/Range.rb +++ b/lib/fhir_dstu2_models/fhir/types/Range.rb @@ -5,7 +5,7 @@ class Range < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Range.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Range.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -19,4 +19,4 @@ class Range < FHIR::DSTU2::Model attr_accessor :high # 0-1 Quantity end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Ratio.rb b/lib/fhir_dstu2_models/fhir/types/Ratio.rb index 66058340..340e12a7 100644 --- a/lib/fhir_dstu2_models/fhir/types/Ratio.rb +++ b/lib/fhir_dstu2_models/fhir/types/Ratio.rb @@ -5,7 +5,7 @@ class Ratio < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Ratio.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Ratio.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -19,4 +19,4 @@ class Ratio < FHIR::DSTU2::Model attr_accessor :denominator # 0-1 Quantity end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Reference.rb b/lib/fhir_dstu2_models/fhir/types/Reference.rb index 4c7bdd97..acfa4a80 100644 --- a/lib/fhir_dstu2_models/fhir/types/Reference.rb +++ b/lib/fhir_dstu2_models/fhir/types/Reference.rb @@ -19,4 +19,4 @@ class Reference < FHIR::DSTU2::Model attr_accessor :display # 0-1 string end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/SampledData.rb b/lib/fhir_dstu2_models/fhir/types/SampledData.rb index 2b90d0ab..c67e7cf5 100644 --- a/lib/fhir_dstu2_models/fhir/types/SampledData.rb +++ b/lib/fhir_dstu2_models/fhir/types/SampledData.rb @@ -5,7 +5,7 @@ class SampledData < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'SampledData.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'SampledData.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -29,4 +29,4 @@ class SampledData < FHIR::DSTU2::Model attr_accessor :data # 1-1 string end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Signature.rb b/lib/fhir_dstu2_models/fhir/types/Signature.rb index abe50cf5..144ae4a3 100644 --- a/lib/fhir_dstu2_models/fhir/types/Signature.rb +++ b/lib/fhir_dstu2_models/fhir/types/Signature.rb @@ -8,7 +8,7 @@ class Signature < FHIR::DSTU2::Model MULTIPLE_TYPES = { 'who' => ['uri', 'Reference'] } - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Signature.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Signature.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -30,4 +30,4 @@ class Signature < FHIR::DSTU2::Model attr_accessor :blob # 1-1 base64Binary end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir/types/Timing.rb b/lib/fhir_dstu2_models/fhir/types/Timing.rb index a01e7f9d..8decb253 100644 --- a/lib/fhir_dstu2_models/fhir/types/Timing.rb +++ b/lib/fhir_dstu2_models/fhir/types/Timing.rb @@ -5,7 +5,7 @@ class Timing < FHIR::DSTU2::Model include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - SEARCH_PARAMS = + SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'id', 'path'=>'Timing.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Timing.extension', 'min'=>0, 'max'=>Float::INFINITY}, @@ -64,4 +64,4 @@ class Repeat < FHIR::DSTU2::Model attr_accessor :code # 0-1 CodeableConcept end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb b/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb index 18a9480a..fa2ab02f 100644 --- a/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb +++ b/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb @@ -61,7 +61,7 @@ def valid_json?(json) if json.is_a? String begin json = JSON.parse(json) - rescue => e + rescue StandardError => e @errors << "Failed to parse JSON: #{e.message} %n #{h} %n #{e.backtrace.join("\n")}" return false end @@ -105,11 +105,12 @@ def get_json_nodes(json, path) return [json] if path.nil? steps = path.split('.') steps.each.with_index do |step, index| - if json.is_a? Hash + case json + when Hash json = json[step] - elsif json.is_a? Array + when Array json.each do |e| - results << get_json_nodes(e, steps[index..-1].join('.')) + results << get_json_nodes(e, steps[index..].join('.')) end return results.flatten! else @@ -129,11 +130,11 @@ def get_json_nodes(json, path) def verify_element(element, json) path = element.local_name || element.path - path = path[(@hierarchy.path.size + 1)..-1] if path.start_with? @hierarchy.path + path = path[(@hierarchy.path.size + 1)..] if path.start_with? @hierarchy.path begin data_type_found = element.type.first.code - rescue + rescue StandardError data_type_found = nil end @@ -167,7 +168,7 @@ def verify_element(element, json) return if nodes.empty? # Check the datatype for each node, only if the element has one declared, and it isn't the root element if !element.type.empty? && element.path != id - codeable_concept_pattern = element.pattern && element.pattern.is_a?(FHIR::DSTU2::CodeableConcept) + codeable_concept_pattern = element.pattern&.is_a?(FHIR::DSTU2::CodeableConcept) matching_pattern = false nodes.each do |value| matching_type = 0 @@ -204,7 +205,7 @@ def verify_element(element, json) matching_pattern = true if vcoding.system == pcoding.system && vcoding.code == pcoding.code end end - elsif %w[CodeableConcept Coding Quantity].include? data_type_found + elsif ['CodeableConcept', 'Coding', 'Quantity'].include? data_type_found required_strength = element&.binding&.strength == 'required' binding_issues = required_strength ? @errors : @warnings @@ -296,7 +297,7 @@ def data_type?(data_type_code, value) ret_val = definition.validates_hash?(value) @errors += definition.errors @warnings += definition.warnings - rescue + rescue StandardError @errors << "Unable to verify #{data_type_code} as a FHIR::DSTU2 Resource." end return ret_val @@ -316,7 +317,7 @@ def data_type?(data_type_code, value) ret_val = definition.validates_hash?(value) @errors += definition.errors @warnings += definition.warnings - rescue + rescue StandardError @errors << "Unable to verify #{resource_type} as a FHIR::DSTU2 Resource." end ret_val @@ -338,7 +339,7 @@ def data_type?(data_type_code, value) ret_val = definition.validates_hash?(value) @errors += definition.errors @warnings += definition.warnings - rescue + rescue StandardError @errors << "Unable to verify #{data_type_code} as a FHIR::DSTU2 type." end ret_val @@ -356,13 +357,13 @@ def check_binding_element(element, value) matching_type = 0 - if %w[http://hl7.org/fhir/ValueSet/content-type http://www.rfc-editor.org/bcp/bcp13.txt].include?(vs_uri) + if ['http://hl7.org/fhir/ValueSet/content-type', 'http://www.rfc-editor.org/bcp/bcp13.txt'].include?(vs_uri) matches = MIME::Types[value] if (matches.nil? || matches.size.zero?) && !some_type_of_xml_or_json?(value) @errors << "#{element.path} has invalid mime-type: '#{value}'" matching_type -= 1 if element.binding.strength == 'required' end - elsif %w[http://hl7.org/fhir/ValueSet/languages http://tools.ietf.org/html/bcp47].include?(vs_uri) + elsif ['http://hl7.org/fhir/ValueSet/languages', 'http://tools.ietf.org/html/bcp47'].include?(vs_uri) has_region = !(value =~ /-/).nil? valid = !BCP47::Language.identify(value.downcase).nil? && (!has_region || !BCP47::Region.identify(value.upcase).nil?) unless valid @@ -395,7 +396,7 @@ def check_binding_element(element, value) def some_type_of_xml_or_json?(code) m = code.downcase - return true if %w[xml json].include?(m) + return true if ['xml', 'json'].include?(m) return true if (m.starts_with?('application/') || m.starts_with?('text/')) && (m.ends_with?('json') || m.ends_with?('xml')) return true if m.starts_with?('application/xml') || m.starts_with?('text/xml') return true if m.starts_with?('application/json') || m.starts_with?('text/json') diff --git a/lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb b/lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb index 55a7a498..c0331122 100644 --- a/lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb +++ b/lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb @@ -16,7 +16,7 @@ def to_s "#{resourceType},#{profileIdA},#{profileIdB},#{path},#{attribute},#{status},#{message},#{valueA},#{valueB}" end - def to_json + def to_json(*_args) JSON.pretty_unparse(as_json) end @@ -31,7 +31,7 @@ def from_json(json) hash.each do |key, value| obj.send("#{key}=".to_sym, value) if value end - rescue => e + rescue StandardError => e FHIR::DSTU2.logger.error "Failed to parse JSON: #{e.message}" return nil end diff --git a/lib/fhir_dstu2_models/fluentpath/evaluate.rb b/lib/fhir_dstu2_models/fluentpath/evaluate.rb index 5a53d4f3..15df7690 100644 --- a/lib/fhir_dstu2_models/fluentpath/evaluate.rb +++ b/lib/fhir_dstu2_models/fluentpath/evaluate.rb @@ -20,7 +20,7 @@ def self.get(key, hash) return 'http://unitsofmeasure.org' if key == '%ucum' return 'http://snomed.info/sct' if key == '%sct' return 'http://loinc.org' if key == '%loinc' - return key.gsub!(/\A\'|\'\Z/, '') if key.start_with?("'") && key.end_with?("'") + return key.gsub!(/\A'|'\Z/, '') if key.start_with?("'") && key.end_with?("'") key.gsub!(/\A"|"\Z/, '') # remove quotes around path if they exist if hash.is_a?(Array) response = [] @@ -99,7 +99,7 @@ def self.compute(tree, data) if node.is_a?(String) && !(node.start_with?("'") && node.end_with?("'")) array_index = nil if node.include?('[') && node.end_with?(']') - array_index = node[node.index('[')..-1].gsub(/\[|\]/, '') + array_index = node[node.index('[')..].gsub(/\[|\]/, '') t = get(array_index, data) t = array_index.to_i if t.nil? || t == :null array_index = t @@ -128,14 +128,15 @@ def self.compute(tree, data) raise 'Where function requires a block.' end previous_node = [] if previous_node == :null - if previous_node.is_a?(Array) + case previous_node + when Array previous_node.keep_if do |item| sub = compute(block.clone, item) convert_to_boolean(sub) end tree[index] = previous_node clean_index(tree, previous_index) - elsif previous_node.is_a?(Hash) + when Hash sub = compute(block, previous_node) tree[index] = convert_to_boolean(sub) ? previous_node : {} clean_index(tree, previous_index) @@ -154,13 +155,14 @@ def self.compute(tree, data) raise 'Select function requires a block.' end previous_node = [] if previous_node == :null - if previous_node.is_a?(Array) + case previous_node + when Array previous_node.map! do |item| compute(block.clone, item) end tree[index] = previous_node clean_index(tree, previous_index) - elsif previous_node.is_a?(Hash) + when Hash tree[index] = compute(block, previous_node) clean_index(tree, previous_index) else @@ -182,8 +184,8 @@ def self.compute(tree, data) if exts.is_a?(Array) url = nil begin - url = block.tree.first.gsub(/\'|\"/, '') - rescue + url = block.tree.first.gsub(/'|"/, '') + rescue StandardError raise 'Extension function requires a single URL as String.' end ext = exts.select { |x| x['url'] == url }.first @@ -380,9 +382,10 @@ def self.compute(tree, data) break when :toInteger # the previous node should be a data (as String, Integer, Boolean) - if previous_node.is_a?(String) + case previous_node + when String tree[index] = previous_node.to_i rescue 0 - elsif previous_node.is_a?(Numeric) + when Numeric tree[index] = previous_node.to_i else tree[index] = 0 @@ -587,4 +590,4 @@ def self.compute(tree, data) tree.first end end -end \ No newline at end of file +end diff --git a/lib/fhir_dstu2_models/fluentpath/expression.rb b/lib/fhir_dstu2_models/fluentpath/expression.rb index 9bb734fd..e1968c5a 100644 --- a/lib/fhir_dstu2_models/fluentpath/expression.rb +++ b/lib/fhir_dstu2_models/fluentpath/expression.rb @@ -17,11 +17,9 @@ def inspect def clone clone_tree = @tree.map do |x| - begin - x.clone - rescue - x - end + x.clone + rescue StandardError + x end FluentPath::DSTU2::Expression.new(clone_tree) end diff --git a/lib/fhir_dstu2_models/fluentpath/parse.rb b/lib/fhir_dstu2_models/fluentpath/parse.rb index babf2059..e5ca2212 100644 --- a/lib/fhir_dstu2_models/fluentpath/parse.rb +++ b/lib/fhir_dstu2_models/fluentpath/parse.rb @@ -8,7 +8,7 @@ def self.parse(expression) # This method tokenizes the expression into a flat array of tokens def self.tokenize(expression) - raw_tokens = expression.gsub('()', '').split(%r{(\(|\)|\s|>=|<=|>|<|=|!=|\+|-|\/|\*)}) + raw_tokens = expression.gsub('()', '').split(%r{(\(|\)|\s|>=|<=|>|<|=|!=|\+|-|/|\*)}) # recreate strings if they were split size = nil while raw_tokens.include?("'") && size != raw_tokens.length @@ -47,9 +47,9 @@ def self.reassemble_strings(tokens) next unless token.is_a?(String) e_index = nil if token.start_with?('"') && !token.end_with?('"') - e_index = tokens[index..-1].index { |t| t.end_with?('"') } + e_index = tokens[index..].index { |t| t.end_with?('"') } elsif token.start_with?("'") && !token.end_with?("'") - e_index = tokens[index..-1].index { |t| t.end_with?("'") } + e_index = tokens[index..].index { |t| t.end_with?("'") } end next unless e_index i = index + 1 @@ -92,7 +92,7 @@ def self.atom(token) value = token begin value = Float(token) - rescue + rescue StandardError value = token value = token.to_sym if @@reserved.include?(token) value = true if token == 'true' From eb2a33dcc9c73e7efc2de6cff80136d2f6152bbd Mon Sep 17 00:00:00 2001 From: 360dgries Date: Wed, 13 Dec 2023 16:17:04 -0500 Subject: [PATCH 5/9] Add lines after guard clauses --- .rubocop_todo.yml | 17 ----------------- lib/fhir_dstu2_models/bootstrap/definitions.rb | 14 ++++++++++++++ lib/fhir_dstu2_models/bootstrap/generator.rb | 2 ++ lib/fhir_dstu2_models/bootstrap/hashable.rb | 1 + lib/fhir_dstu2_models/bootstrap/model.rb | 5 +++++ lib/fhir_dstu2_models/bootstrap/preprocess.rb | 7 +++++++ lib/fhir_dstu2_models/bootstrap/xml.rb | 1 + lib/fhir_dstu2_models/deprecate.rb | 1 + .../fhir_ext/element_definition.rb | 3 +++ .../fhir_ext/structure_definition.rb | 4 ++++ .../fhir_ext/structure_definition_compare.rb | 10 ++++++++++ lib/fhir_dstu2_models/fluentpath/evaluate.rb | 4 ++++ lib/fhir_dstu2_models/fluentpath/parse.rb | 3 +++ 13 files changed, 55 insertions(+), 17 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 7e228817..6d41b3b6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -12,23 +12,6 @@ Layout/AssignmentIndentation: Enabled: false -# Offense count: 55 -# Cop supports --auto-correct. -Layout/EmptyLineAfterGuardClause: - Exclude: - - 'lib/fhir_dstu2_models/bootstrap/definitions.rb' - - 'lib/fhir_dstu2_models/bootstrap/generator.rb' - - 'lib/fhir_dstu2_models/bootstrap/hashable.rb' - - 'lib/fhir_dstu2_models/bootstrap/model.rb' - - 'lib/fhir_dstu2_models/bootstrap/preprocess.rb' - - 'lib/fhir_dstu2_models/bootstrap/xml.rb' - - 'lib/fhir_dstu2_models/deprecate.rb' - - 'lib/fhir_dstu2_models/fhir_ext/element_definition.rb' - - 'lib/fhir_dstu2_models/fhir_ext/structure_definition.rb' - - 'lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb' - - 'lib/fhir_dstu2_models/fluentpath/evaluate.rb' - - 'lib/fhir_dstu2_models/fluentpath/parse.rb' - # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. diff --git a/lib/fhir_dstu2_models/bootstrap/definitions.rb b/lib/fhir_dstu2_models/bootstrap/definitions.rb index 27c6fa80..ddb77994 100644 --- a/lib/fhir_dstu2_models/bootstrap/definitions.rb +++ b/lib/fhir_dstu2_models/bootstrap/definitions.rb @@ -44,6 +44,7 @@ def self.complex_types def self.type_definition(type_name) return nil if type_name.nil? return @@cache[type_name] if @@cache[type_name] + definition = types.find { |x| x['xmlId'] == type_name || x['name'] == type_name || x['url'] == type_name } @@cache[type_name] = FHIR::DSTU2::StructureDefinition.new(definition) if definition @@cache[type_name] @@ -73,6 +74,7 @@ def self.resource_definitions def self.resource_definition(resource_name) return nil if resource_name.nil? return @@cache[resource_name] if @@cache[resource_name] + definition = resources.find { |x| x['xmlId'] == resource_name || x['name'] == resource_name || x['url'] == resource_name } @@cache[resource_name] = FHIR::DSTU2::StructureDefinition.new(definition) if definition @@cache[resource_name] @@ -103,8 +105,10 @@ def self.extensions def self.extension_definition(extension_name) return nil if extension_name.nil? + extension = extensions.find { |x| x['xmlId'] == extension_name || x['name'] == extension_name || x['url'] == extension_name } return nil if extension.nil? + FHIR::DSTU2::StructureDefinition.new(extension) end deprecate :get_extension_definition, :extension_definition @@ -112,8 +116,10 @@ def self.extension_definition(extension_name) # Get the basetype (String) for a given profile or extension. def self.basetype(uri) return nil if uri.nil? + defn = profiles.detect { |x| x['url'] == uri } || extensions.detect { |x| x['url'] == uri } return nil if defn.nil? + defn['baseType'] end deprecate :get_basetype, :basetype @@ -121,14 +127,17 @@ def self.basetype(uri) # Get the StructureDefinition for a given profile. def self.profile(uri) return nil if uri.nil? + defn = profiles.detect { |x| x['url'] == uri } || extensions.detect { |x| x['url'] == uri } return nil if defn.nil? + FHIR::DSTU2::StructureDefinition.new(defn) end deprecate :get_profile, :profile def self.profiles_for_resource(resource_name) return nil if resource_name.nil? + profiles.select { |x| x['baseType'] == resource_name }.map { |x| FHIR::DSTU2::StructureDefinition.new(x) } end deprecate :get_profiles_for_resource, :profile_for_resource @@ -136,6 +145,7 @@ def self.profiles_for_resource(resource_name) # Get a dynamically generated class for a given profile. def self.get_profile_class(uri) return nil if uri.nil? + load_profiles load_extensions @@ -197,6 +207,7 @@ def self.valuesets def self.get_codes(uri, parent_code = nil) return nil if uri.nil? return @@cache[uri] if @@cache[uri] + FHIR::DSTU2.logger.debug "Looking up codes for #{uri}" valueset = valuesets.select { |x| x['url'] == uri }.first if valueset.nil? @@ -236,6 +247,7 @@ def self.get_codes(uri, parent_code = nil) end x['concept']&.each { |y| @@cache[uri][system] += get_codes_from_concept(y, parent_code) } next unless x['filter'] + x['filter'].each do |filter| if filter['property'] == 'concept' && filter['op'] == 'is-a' codes = get_codes(system, filter['value']) @@ -273,6 +285,7 @@ def self.get_codes(uri, parent_code = nil) codes = lookup[sys] if lookup end next unless codes + codes.each do |code| @@cache[uri][sys] = [] unless @@cache[uri].keys.include?(sys) @@cache[uri][sys] << code @@ -342,6 +355,7 @@ def self.search_params def self.search_parameters(type_name) return nil if type_name.nil? + search_params.select { |p| p['base'].include?(type_name) && p['xpath'] && !p['xpath'].include?('extension') }.map { |p| p['code'] } end deprecate :get_search_parameters, :search_parameters diff --git a/lib/fhir_dstu2_models/bootstrap/generator.rb b/lib/fhir_dstu2_models/bootstrap/generator.rb index c1e5c0da..97fafc7a 100644 --- a/lib/fhir_dstu2_models/bootstrap/generator.rb +++ b/lib/fhir_dstu2_models/bootstrap/generator.rb @@ -120,6 +120,7 @@ def generate_class(hierarchy, structure_def, top_level = false) # skip the first element next if element['path'] == path_type next unless element['type'] + unique_types = element['type'].map { |t| t['code'] }.uniq if unique_types.include?('Element') || unique_types.include?('BackboneElement') child_templates << element['path'] @@ -129,6 +130,7 @@ def generate_class(hierarchy, structure_def, top_level = false) child_templates.each do |child_name| child_fixed_name = cap_first(child_name.gsub("#{type_name}.", '')) next if child_fixed_name.include?('.') + child_def = { 'id' => child_fixed_name, 'snapshot' => { 'element' => [] } } # Copy the element definitions for the child structure structure_def['snapshot']['element'].each do |element| diff --git a/lib/fhir_dstu2_models/bootstrap/hashable.rb b/lib/fhir_dstu2_models/bootstrap/hashable.rb index 5804ea53..fd2f79f7 100644 --- a/lib/fhir_dstu2_models/bootstrap/hashable.rb +++ b/lib/fhir_dstu2_models/bootstrap/hashable.rb @@ -39,6 +39,7 @@ def from_hash(hash) key = key.to_s meta = self.class::METADATA[key] next if meta.nil? + local_name = key local_name = meta['local_name'] if meta['local_name'] begin diff --git a/lib/fhir_dstu2_models/bootstrap/model.rb b/lib/fhir_dstu2_models/bootstrap/model.rb index a0ce097d..3558506c 100644 --- a/lib/fhir_dstu2_models/bootstrap/model.rb +++ b/lib/fhir_dstu2_models/bootstrap/model.rb @@ -66,6 +66,7 @@ def to_reference def equals?(other, exclude = []) self.class::METADATA.each do |key, value| next if exclude.include?(key) + local_name = key local_name = value['local_name'] if value['local_name'] return false unless compare_attribute(instance_variable_get("@#{local_name}".to_sym), other.instance_variable_get("@#{local_name}".to_sym), exclude) @@ -77,6 +78,7 @@ def mismatch(other, exclude = []) misses = [] self.class::METADATA.each do |key, value| next if exclude.include?(key) + local_name = key local_name = value['local_name'] if value['local_name'] these = attribute_mismatch(instance_variable_get("@#{local_name}".to_sym), other.instance_variable_get("@#{local_name}".to_sym), exclude) @@ -166,6 +168,7 @@ def validate_profile(metadata, contained = nil) errors[prefix] = ["#{prefix}[x]: more than one type present."] if present.length > 1 # remove errors for suffixes that are not present next unless present.length == 1 + suffixes.each do |suffix| typename = "#{prefix}#{suffix[0].upcase}#{suffix[1..]}" errors.delete(typename) unless present.include?(typename) @@ -230,6 +233,7 @@ def validate_field(field, value, contained_here, meta, errors) # check binding next unless meta['binding'] next unless meta['binding']['strength'] == 'required' + the_codes = [v] case meta['type'] when 'Coding' @@ -257,6 +261,7 @@ def validate_field(field, value, contained_here, meta, errors) def validate_reference_type(ref, meta, contained_here, errors) return unless ref.reference && meta['type_profiles'] return if ref.reference.start_with?('urn:uuid:', 'urn:oid:') + matches_one_profile = false meta['type_profiles'].each do |p| basetype = p.split('/').last diff --git a/lib/fhir_dstu2_models/bootstrap/preprocess.rb b/lib/fhir_dstu2_models/bootstrap/preprocess.rb index e5a0bde4..e32d45b6 100644 --- a/lib/fhir_dstu2_models/bootstrap/preprocess.rb +++ b/lib/fhir_dstu2_models/bootstrap/preprocess.rb @@ -18,6 +18,7 @@ def self.pre_process_bundle(filename) # Remove unnecessary elements from the hash hash['entry'].each do |entry| next unless entry['resource'] + pre_process_structuredefinition(entry['resource']) if entry['resource']['resourceType'] == 'StructureDefinition' pre_process_valueset(entry['resource']) if entry['resource']['resourceType'] == 'ValueSet' pre_process_codesystem(entry['resource']) if entry['resource']['resourceType'] == 'CodeSystem' @@ -40,6 +41,7 @@ def self.pre_process_structuredefinition(hash) # Remove unused descriptions within the snapshot and differential elements ['snapshot', 'differential'].each do |key| next unless hash[key] + hash[key]['element'].each do |element| ['short', 'definition', 'comments', 'requirements', 'alias', 'mapping'].each { |subkey| element.delete(subkey) } end @@ -51,10 +53,13 @@ def self.pre_process_valueset(hash) ['meta', 'text', 'publisher', 'contact', 'description', 'requirements'].each { |key| hash.delete(key) } return unless hash['compose'] + ['include', 'exclude'].each do |key| next unless hash['compose'][key] + hash['compose'][key].each do |element| next unless element['concept'] + element['concept'].each do |concept| concept.delete('designation') end @@ -66,6 +71,7 @@ def self.pre_process_codesystem(hash) # Remove large HTML narratives and unused content ['meta', 'text', 'publisher', 'contact', 'description', 'requirements'].each { |key| hash.delete(key) } return unless hash['concept'] + hash['concept'].each do |concept| pre_process_codesystem_concept(concept) end @@ -74,6 +80,7 @@ def self.pre_process_codesystem(hash) def self.pre_process_codesystem_concept(hash) ['extension', 'definition', 'designation'].each { |key| hash.delete(key) } return unless hash['concept'] + hash['concept'].each do |concept| pre_process_codesystem_concept(concept) end diff --git a/lib/fhir_dstu2_models/bootstrap/xml.rb b/lib/fhir_dstu2_models/bootstrap/xml.rb index 65a48463..eb0dae0a 100644 --- a/lib/fhir_dstu2_models/bootstrap/xml.rb +++ b/lib/fhir_dstu2_models/bootstrap/xml.rb @@ -36,6 +36,7 @@ def hash_to_xml_node(name, hash, doc) hash.each do |key, value| next if ['extension', 'modifierExtension'].include?(name) && key == 'url' next if key == 'id' && !FHIR::DSTU2::RESOURCES.include?(name) + case value when Hash node.add_child(hash_to_xml_node(key, value, doc)) diff --git a/lib/fhir_dstu2_models/deprecate.rb b/lib/fhir_dstu2_models/deprecate.rb index f7a07ee2..cd531606 100644 --- a/lib/fhir_dstu2_models/deprecate.rb +++ b/lib/fhir_dstu2_models/deprecate.rb @@ -11,6 +11,7 @@ def deprecate(old_method, new_method) end end return unless methods.include? new_method + (class << self; self; end).instance_eval do define_method(old_method) do |*args, &block| message = "DEPRECATED: `#{old_method}` has been deprecated. Use `#{new_method}` instead. Called from #{caller.first}" diff --git a/lib/fhir_dstu2_models/fhir_ext/element_definition.rb b/lib/fhir_dstu2_models/fhir_ext/element_definition.rb index c66b3902..137f4f89 100644 --- a/lib/fhir_dstu2_models/fhir_ext/element_definition.rb +++ b/lib/fhir_dstu2_models/fhir_ext/element_definition.rb @@ -26,6 +26,7 @@ def add_descendent(element) def keep_children(whitelist = []) @marked_for_keeping = true if whitelist.include?(path) return unless @children + @children.each do |child| child.keep_children(whitelist) end @@ -33,6 +34,7 @@ def keep_children(whitelist = []) def sweep_children return unless @children + @children.each(&:sweep_children) @children = @children.keep_if(&:marked_for_keeping) @marked_for_keeping = !@children.empty? || @marked_for_keeping @@ -41,6 +43,7 @@ def sweep_children def print_children(spaces = 0) puts "#{' ' * spaces}+#{local_name || path} #{name} #{min}..#{max}" return nil unless @children + @children.each do |child| child.print_children(spaces + 2) end diff --git a/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb b/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb index fa2ab02f..2b663aa6 100644 --- a/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb +++ b/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb @@ -103,6 +103,7 @@ def describe_element(element) def get_json_nodes(json, path) results = [] return [json] if path.nil? + steps = path.split('.') steps.each.with_index do |step, index| case json @@ -166,6 +167,7 @@ def verify_element(element, json) end return if nodes.empty? + # Check the datatype for each node, only if the element has one declared, and it isn't the root element if !element.type.empty? && element.path != id codeable_concept_pattern = element.pattern&.is_a?(FHIR::DSTU2::CodeableConcept) @@ -278,6 +280,7 @@ def verify_element(element, json) # check children if the element has any return unless element.children + nodes.each do |node| element.children.each do |child| verify_element(child, node) @@ -400,6 +403,7 @@ def some_type_of_xml_or_json?(code) return true if (m.starts_with?('application/') || m.starts_with?('text/')) && (m.ends_with?('json') || m.ends_with?('xml')) return true if m.starts_with?('application/xml') || m.starts_with?('text/xml') return true if m.starts_with?('application/json') || m.starts_with?('text/json') + false end deprecate :is_some_type_of_xml_or_json, :some_type_of_xml_or_json? diff --git a/lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb b/lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb index 07e942a8..77eeeb7b 100644 --- a/lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb +++ b/lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb @@ -57,6 +57,7 @@ def compatible?(another_definition) # generate warnings for missing fields (ignoring extensions) left_missing.each do |e| next if e.include? 'extension' + elem = get_element_by_path(e, right_elements) if !elem.min.nil? && elem.min > 0 @errors << @finding.error(e, 'min', 'Missing REQUIRED element', 'Missing', elem.min.to_s) @@ -68,6 +69,7 @@ def compatible?(another_definition) end right_missing.each do |e| next if e.include? 'extension' + elem = get_element_by_path(e, left_elements) if !elem.min.nil? && elem.min > 0 @errors << @finding.error(e, 'min', 'Missing REQUIRED element', elem.min.to_s, 'Missing') @@ -114,6 +116,7 @@ def compatible?(another_definition) end y = get_extension(x.type[0].profile, right_extensions) next unless !y.nil? && x.name != y.name + # both profiles share the same extension definition but with a different name checked_extensions << x.name checked_extensions << y.name @@ -121,6 +124,7 @@ def compatible?(another_definition) end right_extensions.each do |y| next if checked_extensions.include?(y.name) + x = get_extension(y.name, left_extensions) unless x.nil? # both profiles share an extension with the same name @@ -129,6 +133,7 @@ def compatible?(another_definition) end x = get_extension(y.type[0].profile, left_extensions) next unless !x.nil? && x.name != y.name && !checked_extensions.include?(x.name) + # both profiles share the same extension definition but with a different name checked_extensions << x.name checked_extensions << y.name @@ -180,13 +185,16 @@ def add_missing_elements(_name, missing_paths, elements, base_elements) x = path.split('.') root = x.first(x.size - 1).join('.') next unless root.include? '.' + # get the root element to fill in the details elem = get_element_by_path(root, elements) # get the data type definition to fill in the details # assume missing elements are from first data type (gross) next if elem.type.nil? || elem.type.empty? + type_def = FHIR::DSTU2::Definitions.type_definition(elem.type[0].code) next if type_def.nil? + type_elements = Array.new(type_def.snapshot.element) # _DEEP_ copy type_elements.map! do |e| # {|e| FHIR::DSTU2::ElementDefinition.from_fhir_json(e.to_fhir_json) } @@ -200,6 +208,7 @@ def add_missing_elements(_name, missing_paths, elements, base_elements) type_elements.each do |z| y = get_element_by_path(z.path, elements) next unless y.nil? + elements << z # else # @warnings << "StructureDefinition #{name} already contains #{z.path}" @@ -368,6 +377,7 @@ def compare_element_definitions(x, y, another_definition) # isModifier return unless x.isModifier != y.isModifier + @errors << @finding.error(x.path.to_s, 'isModifier', 'Incompatible isModifier', (x.isModifier || false).to_s, (y.isModifier || false).to_s) end diff --git a/lib/fhir_dstu2_models/fluentpath/evaluate.rb b/lib/fhir_dstu2_models/fluentpath/evaluate.rb index 15df7690..dc14a043 100644 --- a/lib/fhir_dstu2_models/fluentpath/evaluate.rb +++ b/lib/fhir_dstu2_models/fluentpath/evaluate.rb @@ -21,11 +21,13 @@ def self.get(key, hash) return 'http://snomed.info/sct' if key == '%sct' return 'http://loinc.org' if key == '%loinc' return key.gsub!(/\A'|'\Z/, '') if key.start_with?("'") && key.end_with?("'") + key.gsub!(/\A"|"\Z/, '') # remove quotes around path if they exist if hash.is_a?(Array) response = [] hash.each do |e| next unless e.is_a?(Hash) + item = e[key] if item.is_a?(Array) item.each { |i| response << i } @@ -37,6 +39,7 @@ def self.get(key, hash) end return :null unless hash.is_a?(Hash) return hash if hash['resourceType'] == key + val = hash[key] if val.nil? # this block is a dangerous hack to get fields of multiple data types @@ -60,6 +63,7 @@ def self.convert_to_boolean(value) return false if value.is_a?(Hash) && value.empty? return false if value == :null return false if value == false + true end diff --git a/lib/fhir_dstu2_models/fluentpath/parse.rb b/lib/fhir_dstu2_models/fluentpath/parse.rb index e5ca2212..9567072d 100644 --- a/lib/fhir_dstu2_models/fluentpath/parse.rb +++ b/lib/fhir_dstu2_models/fluentpath/parse.rb @@ -45,6 +45,7 @@ def self.tokenize(expression) def self.reassemble_strings(tokens) tokens.each_with_index do |token, index| next unless token.is_a?(String) + e_index = nil if token.start_with?('"') && !token.end_with?('"') e_index = tokens[index..].index { |t| t.end_with?('"') } @@ -52,6 +53,7 @@ def self.reassemble_strings(tokens) e_index = tokens[index..].index { |t| t.end_with?("'") } end next unless e_index + i = index + 1 while i <= index + e_index tokens[index] += tokens[i] @@ -64,6 +66,7 @@ def self.reassemble_strings(tokens) # This method builds an Abstract Syntax Tree (AST) from a flat list of tokens def self.build_tree(tokens) return if tokens.empty? + tree = [] until tokens.empty? token = tokens.delete_at(0) From 15a9ba7a01aa1cf0f5920a39bdc7b8c8c11e2043 Mon Sep 17 00:00:00 2001 From: 360dgries Date: Wed, 13 Dec 2023 16:19:47 -0500 Subject: [PATCH 6/9] Indentation auto correct --- .rubocop_todo.yml | 6 - .../fhir/resources/DomainResource.rb | 20 +- .../fhir/resources/OperationOutcome.rb | 22 +- .../fhir/resources/Parameters.rb | 14 +- lib/fhir_dstu2_models/fhir/types/Address.rb | 28 +- .../fhir/types/Annotation.rb | 16 +- .../fhir/types/Attachment.rb | 24 +- .../fhir/types/BackboneElement.rb | 10 +- .../fhir/types/CodeableConcept.rb | 12 +- lib/fhir_dstu2_models/fhir/types/Coding.rb | 18 +- .../fhir/types/ContactPoint.rb | 18 +- .../fhir/types/ElementDefinition.rb | 454 +++++++++--------- lib/fhir_dstu2_models/fhir/types/Extension.rb | 76 +-- lib/fhir_dstu2_models/fhir/types/HumanName.rb | 22 +- .../fhir/types/Identifier.rb | 20 +- lib/fhir_dstu2_models/fhir/types/Meta.rb | 18 +- lib/fhir_dstu2_models/fhir/types/Narrative.rb | 12 +- lib/fhir_dstu2_models/fhir/types/Period.rb | 12 +- lib/fhir_dstu2_models/fhir/types/Quantity.rb | 18 +- lib/fhir_dstu2_models/fhir/types/Range.rb | 12 +- lib/fhir_dstu2_models/fhir/types/Ratio.rb | 12 +- .../fhir/types/SampledData.rb | 22 +- lib/fhir_dstu2_models/fhir/types/Signature.rb | 20 +- lib/fhir_dstu2_models/fhir/types/Timing.rb | 14 +- 24 files changed, 447 insertions(+), 453 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6d41b3b6..96582889 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,12 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 23 -# Cop supports --auto-correct. -# Configuration parameters: IndentationWidth. -Layout/AssignmentIndentation: - Enabled: false - # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. diff --git a/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb b/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb index 9c8a4c02..f032d1f7 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb @@ -6,16 +6,16 @@ class DomainResource < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'DomainResource.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DomainResource.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DomainResource.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DomainResource.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DomainResource.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DomainResource.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DomainResource.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DomainResource.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'DomainResource.id', 'min'=>0, 'max'=>1}, + 'meta' => {'type'=>'Meta', 'path'=>'DomainResource.meta', 'min'=>0, 'max'=>1}, + 'implicitRules' => {'type'=>'uri', 'path'=>'DomainResource.implicitRules', 'min'=>0, 'max'=>1}, + 'language' => {'type'=>'code', 'path'=>'DomainResource.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, + 'text' => {'type'=>'Narrative', 'path'=>'DomainResource.text', 'min'=>0, 'max'=>1}, + 'contained' => {'type'=>'Resource', 'path'=>'DomainResource.contained', 'min'=>0, 'max'=>Float::INFINITY}, + 'extension' => {'type'=>'Extension', 'path'=>'DomainResource.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'modifierExtension' => {'type'=>'Extension', 'path'=>'DomainResource.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY} + } attr_accessor :id # 0-1 id attr_accessor :meta # 0-1 Meta diff --git a/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb b/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb index a5e2c615..6a839bf1 100644 --- a/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb +++ b/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb @@ -6,17 +6,17 @@ class OperationOutcome < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'OperationOutcome.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'OperationOutcome.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'OperationOutcome.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'OperationOutcome.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'OperationOutcome.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'OperationOutcome.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'OperationOutcome.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'OperationOutcome.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'issue' => {'type'=>'OperationOutcome::Issue', 'path'=>'OperationOutcome.issue', 'min'=>1, 'max'=>Float::INFINITY} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'OperationOutcome.id', 'min'=>0, 'max'=>1}, + 'meta' => {'type'=>'Meta', 'path'=>'OperationOutcome.meta', 'min'=>0, 'max'=>1}, + 'implicitRules' => {'type'=>'uri', 'path'=>'OperationOutcome.implicitRules', 'min'=>0, 'max'=>1}, + 'language' => {'type'=>'code', 'path'=>'OperationOutcome.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, + 'text' => {'type'=>'Narrative', 'path'=>'OperationOutcome.text', 'min'=>0, 'max'=>1}, + 'contained' => {'type'=>'Resource', 'path'=>'OperationOutcome.contained', 'min'=>0, 'max'=>Float::INFINITY}, + 'extension' => {'type'=>'Extension', 'path'=>'OperationOutcome.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'modifierExtension' => {'type'=>'Extension', 'path'=>'OperationOutcome.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, + 'issue' => {'type'=>'OperationOutcome::Issue', 'path'=>'OperationOutcome.issue', 'min'=>1, 'max'=>Float::INFINITY} + } class Issue < FHIR::DSTU2::Model include FHIR::DSTU2::Hashable diff --git a/lib/fhir_dstu2_models/fhir/resources/Parameters.rb b/lib/fhir_dstu2_models/fhir/resources/Parameters.rb index b9362a3f..0df7aedf 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Parameters.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Parameters.rb @@ -6,13 +6,13 @@ class Parameters < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Parameters.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Parameters.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Parameters.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Parameters.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'parameter' => {'type'=>'Parameters::Parameter', 'path'=>'Parameters.parameter', 'min'=>0, 'max'=>Float::INFINITY} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Parameters.id', 'min'=>0, 'max'=>1}, + 'meta' => {'type'=>'Meta', 'path'=>'Parameters.meta', 'min'=>0, 'max'=>1}, + 'implicitRules' => {'type'=>'uri', 'path'=>'Parameters.implicitRules', 'min'=>0, 'max'=>1}, + 'language' => {'type'=>'code', 'path'=>'Parameters.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, + 'parameter' => {'type'=>'Parameters::Parameter', 'path'=>'Parameters.parameter', 'min'=>0, 'max'=>Float::INFINITY} + } class Parameter < FHIR::DSTU2::Model include FHIR::DSTU2::Hashable diff --git a/lib/fhir_dstu2_models/fhir/types/Address.rb b/lib/fhir_dstu2_models/fhir/types/Address.rb index 9638bda7..09db89ac 100644 --- a/lib/fhir_dstu2_models/fhir/types/Address.rb +++ b/lib/fhir_dstu2_models/fhir/types/Address.rb @@ -6,20 +6,20 @@ class Address < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Address.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Address.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/address-use'=>['home', 'work', 'temp', 'old']}, 'type'=>'code', 'path'=>'Address.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/address-use'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/address-type'=>['postal', 'physical', 'both']}, 'type'=>'code', 'path'=>'Address.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/address-type'}}, - 'text' => {'type'=>'string', 'path'=>'Address.text', 'min'=>0, 'max'=>1}, - 'line' => {'type'=>'string', 'path'=>'Address.line', 'min'=>0, 'max'=>Float::INFINITY}, - 'city' => {'type'=>'string', 'path'=>'Address.city', 'min'=>0, 'max'=>1}, - 'district' => {'type'=>'string', 'path'=>'Address.district', 'min'=>0, 'max'=>1}, - 'state' => {'type'=>'string', 'path'=>'Address.state', 'min'=>0, 'max'=>1}, - 'postalCode' => {'type'=>'string', 'path'=>'Address.postalCode', 'min'=>0, 'max'=>1}, - 'country' => {'type'=>'string', 'path'=>'Address.country', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Address.period', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Address.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Address.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'use' => {'valid_codes'=>{'http://hl7.org/fhir/address-use'=>['home', 'work', 'temp', 'old']}, 'type'=>'code', 'path'=>'Address.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/address-use'}}, + 'type' => {'valid_codes'=>{'http://hl7.org/fhir/address-type'=>['postal', 'physical', 'both']}, 'type'=>'code', 'path'=>'Address.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/address-type'}}, + 'text' => {'type'=>'string', 'path'=>'Address.text', 'min'=>0, 'max'=>1}, + 'line' => {'type'=>'string', 'path'=>'Address.line', 'min'=>0, 'max'=>Float::INFINITY}, + 'city' => {'type'=>'string', 'path'=>'Address.city', 'min'=>0, 'max'=>1}, + 'district' => {'type'=>'string', 'path'=>'Address.district', 'min'=>0, 'max'=>1}, + 'state' => {'type'=>'string', 'path'=>'Address.state', 'min'=>0, 'max'=>1}, + 'postalCode' => {'type'=>'string', 'path'=>'Address.postalCode', 'min'=>0, 'max'=>1}, + 'country' => {'type'=>'string', 'path'=>'Address.country', 'min'=>0, 'max'=>1}, + 'period' => {'type'=>'Period', 'path'=>'Address.period', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Annotation.rb b/lib/fhir_dstu2_models/fhir/types/Annotation.rb index 90cb4493..79620af6 100644 --- a/lib/fhir_dstu2_models/fhir/types/Annotation.rb +++ b/lib/fhir_dstu2_models/fhir/types/Annotation.rb @@ -9,14 +9,14 @@ class Annotation < FHIR::DSTU2::Model 'author' => ['Reference', 'string'] } SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Annotation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Annotation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'authorReference' => {'type'=>'Reference', 'path'=>'Annotation.author[x]', 'min'=>0, 'max'=>1}, - 'authorString' => {'type'=>'string', 'path'=>'Annotation.author[x]', 'min'=>0, 'max'=>1}, - 'time' => {'type'=>'dateTime', 'path'=>'Annotation.time', 'min'=>0, 'max'=>1}, - 'text' => {'type'=>'string', 'path'=>'Annotation.text', 'min'=>1, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Annotation.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Annotation.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'authorReference' => {'type'=>'Reference', 'path'=>'Annotation.author[x]', 'min'=>0, 'max'=>1}, + 'authorString' => {'type'=>'string', 'path'=>'Annotation.author[x]', 'min'=>0, 'max'=>1}, + 'time' => {'type'=>'dateTime', 'path'=>'Annotation.time', 'min'=>0, 'max'=>1}, + 'text' => {'type'=>'string', 'path'=>'Annotation.text', 'min'=>1, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Attachment.rb b/lib/fhir_dstu2_models/fhir/types/Attachment.rb index 05c59de5..02b448b1 100644 --- a/lib/fhir_dstu2_models/fhir/types/Attachment.rb +++ b/lib/fhir_dstu2_models/fhir/types/Attachment.rb @@ -6,18 +6,18 @@ class Attachment < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Attachment.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Attachment.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'contentType' => {'type'=>'code', 'path'=>'Attachment.contentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'language' => {'type'=>'code', 'path'=>'Attachment.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'data' => {'type'=>'base64Binary', 'path'=>'Attachment.data', 'min'=>0, 'max'=>1}, - 'url' => {'type'=>'uri', 'path'=>'Attachment.url', 'min'=>0, 'max'=>1}, - 'size' => {'type'=>'unsignedInt', 'path'=>'Attachment.size', 'min'=>0, 'max'=>1}, - 'hash' => {'type'=>'base64Binary', 'path'=>'Attachment.hash', 'min'=>0, 'max'=>1}, - 'title' => {'type'=>'string', 'path'=>'Attachment.title', 'min'=>0, 'max'=>1}, - 'creation' => {'type'=>'dateTime', 'path'=>'Attachment.creation', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Attachment.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Attachment.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'contentType' => {'type'=>'code', 'path'=>'Attachment.contentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, + 'language' => {'type'=>'code', 'path'=>'Attachment.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, + 'data' => {'type'=>'base64Binary', 'path'=>'Attachment.data', 'min'=>0, 'max'=>1}, + 'url' => {'type'=>'uri', 'path'=>'Attachment.url', 'min'=>0, 'max'=>1}, + 'size' => {'type'=>'unsignedInt', 'path'=>'Attachment.size', 'min'=>0, 'max'=>1}, + 'hash' => {'type'=>'base64Binary', 'path'=>'Attachment.hash', 'min'=>0, 'max'=>1}, + 'title' => {'type'=>'string', 'path'=>'Attachment.title', 'min'=>0, 'max'=>1}, + 'creation' => {'type'=>'dateTime', 'path'=>'Attachment.creation', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb b/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb index 33430493..190947cc 100644 --- a/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb +++ b/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb @@ -6,11 +6,11 @@ class BackboneElement < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'BackboneElement.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'BackboneElement.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'BackboneElement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'BackboneElement.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'BackboneElement.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'modifierExtension' => {'type'=>'Extension', 'path'=>'BackboneElement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb b/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb index 3c70ff96..3684de33 100644 --- a/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb +++ b/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb @@ -6,12 +6,12 @@ class CodeableConcept < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'CodeableConcept.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'CodeableConcept.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'coding' => {'type'=>'Coding', 'path'=>'CodeableConcept.coding', 'min'=>0, 'max'=>Float::INFINITY}, - 'text' => {'type'=>'string', 'path'=>'CodeableConcept.text', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'CodeableConcept.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'CodeableConcept.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'coding' => {'type'=>'Coding', 'path'=>'CodeableConcept.coding', 'min'=>0, 'max'=>Float::INFINITY}, + 'text' => {'type'=>'string', 'path'=>'CodeableConcept.text', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Coding.rb b/lib/fhir_dstu2_models/fhir/types/Coding.rb index 108531cd..d020233d 100644 --- a/lib/fhir_dstu2_models/fhir/types/Coding.rb +++ b/lib/fhir_dstu2_models/fhir/types/Coding.rb @@ -6,15 +6,15 @@ class Coding < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Coding.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Coding.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'system' => {'type'=>'uri', 'path'=>'Coding.system', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Coding.version', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'Coding.code', 'min'=>0, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'Coding.display', 'min'=>0, 'max'=>1}, - 'userSelected' => {'type'=>'boolean', 'path'=>'Coding.userSelected', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Coding.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Coding.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'system' => {'type'=>'uri', 'path'=>'Coding.system', 'min'=>0, 'max'=>1}, + 'version' => {'type'=>'string', 'path'=>'Coding.version', 'min'=>0, 'max'=>1}, + 'code' => {'type'=>'code', 'path'=>'Coding.code', 'min'=>0, 'max'=>1}, + 'display' => {'type'=>'string', 'path'=>'Coding.display', 'min'=>0, 'max'=>1}, + 'userSelected' => {'type'=>'boolean', 'path'=>'Coding.userSelected', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb b/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb index 8265a28c..c53bab3d 100644 --- a/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb +++ b/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb @@ -6,15 +6,15 @@ class ContactPoint < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'ContactPoint.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ContactPoint.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'system' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-system'=>['phone', 'fax', 'email', 'pager', 'other']}, 'type'=>'code', 'path'=>'ContactPoint.system', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-system'}}, - 'value' => {'type'=>'string', 'path'=>'ContactPoint.value', 'min'=>0, 'max'=>1}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-use'=>['home', 'work', 'temp', 'old', 'mobile']}, 'type'=>'code', 'path'=>'ContactPoint.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-use'}}, - 'rank' => {'type'=>'positiveInt', 'path'=>'ContactPoint.rank', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'ContactPoint.period', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'ContactPoint.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'ContactPoint.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'system' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-system'=>['phone', 'fax', 'email', 'pager', 'other']}, 'type'=>'code', 'path'=>'ContactPoint.system', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-system'}}, + 'value' => {'type'=>'string', 'path'=>'ContactPoint.value', 'min'=>0, 'max'=>1}, + 'use' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-use'=>['home', 'work', 'temp', 'old', 'mobile']}, 'type'=>'code', 'path'=>'ContactPoint.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-use'}}, + 'rank' => {'type'=>'positiveInt', 'path'=>'ContactPoint.rank', 'min'=>0, 'max'=>1}, + 'period' => {'type'=>'Period', 'path'=>'ContactPoint.period', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb b/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb index 58e8e428..cb1da98d 100644 --- a/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb +++ b/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb @@ -14,233 +14,233 @@ class ElementDefinition < FHIR::DSTU2::Model 'maxValue' => ['boolean', 'integer', 'decimal', 'base64Binary', 'instant', 'string', 'uri', 'date', 'dateTime', 'time', 'code', 'oid', 'id', 'unsignedInt', 'positiveInt', 'markdown', 'Annotation', 'Attachment', 'Identifier', 'CodeableConcept', 'Coding', 'Quantity', 'Range', 'Period', 'Ratio', 'SampledData', 'Signature', 'HumanName', 'Address', 'ContactPoint', 'Timing', 'Reference', 'Meta'] } SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'ElementDefinition.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ElementDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'path' => {'type'=>'string', 'path'=>'ElementDefinition.path', 'min'=>1, 'max'=>1}, - 'representation' => {'valid_codes'=>{'http://hl7.org/fhir/property-representation'=>['xmlAttr']}, 'type'=>'code', 'path'=>'ElementDefinition.representation', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/property-representation'}}, - 'name' => {'type'=>'string', 'path'=>'ElementDefinition.name', 'min'=>0, 'max'=>1}, - 'label' => {'type'=>'string', 'path'=>'ElementDefinition.label', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'Coding', 'path'=>'ElementDefinition.code', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-codes'}}, - 'slicing' => {'type'=>'ElementDefinition::Slicing', 'path'=>'ElementDefinition.slicing', 'min'=>0, 'max'=>1}, - 'short' => {'type'=>'string', 'path'=>'ElementDefinition.short', 'min'=>0, 'max'=>1}, - 'definition' => {'type'=>'markdown', 'path'=>'ElementDefinition.definition', 'min'=>0, 'max'=>1}, - 'comments' => {'type'=>'markdown', 'path'=>'ElementDefinition.comments', 'min'=>0, 'max'=>1}, - 'requirements' => {'type'=>'markdown', 'path'=>'ElementDefinition.requirements', 'min'=>0, 'max'=>1}, - 'alias' => {'type'=>'string', 'path'=>'ElementDefinition.alias', 'min'=>0, 'max'=>Float::INFINITY}, - 'min' => {'type'=>'integer', 'path'=>'ElementDefinition.min', 'min'=>0, 'max'=>1}, - 'max' => {'type'=>'string', 'path'=>'ElementDefinition.max', 'min'=>0, 'max'=>1}, - 'base' => {'type'=>'ElementDefinition::Base', 'path'=>'ElementDefinition.base', 'min'=>0, 'max'=>1}, - 'type' => {'type'=>'ElementDefinition::Type', 'path'=>'ElementDefinition.type', 'min'=>0, 'max'=>Float::INFINITY}, - 'nameReference' => {'type'=>'string', 'path'=>'ElementDefinition.nameReference', 'min'=>0, 'max'=>1}, - 'defaultValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueString' => {'type'=>'string', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueId' => {'type'=>'id', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'meaningWhenMissing' => {'type'=>'markdown', 'path'=>'ElementDefinition.meaningWhenMissing', 'min'=>0, 'max'=>1}, - 'fixedBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedString' => {'type'=>'string', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedUri' => {'type'=>'uri', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedDate' => {'type'=>'date', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedTime' => {'type'=>'time', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedCode' => {'type'=>'code', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedOid' => {'type'=>'oid', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedId' => {'type'=>'id', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedRange' => {'type'=>'Range', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'patternBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternString' => {'type'=>'string', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternUri' => {'type'=>'uri', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternDate' => {'type'=>'date', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternTime' => {'type'=>'time', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternCode' => {'type'=>'code', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternOid' => {'type'=>'oid', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternId' => {'type'=>'id', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternRange' => {'type'=>'Range', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'exampleBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleString' => {'type'=>'string', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleUri' => {'type'=>'uri', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleDate' => {'type'=>'date', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleTime' => {'type'=>'time', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleCode' => {'type'=>'code', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleOid' => {'type'=>'oid', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleId' => {'type'=>'id', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'examplePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleRange' => {'type'=>'Range', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'examplePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'minValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueString' => {'type'=>'string', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueId' => {'type'=>'id', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueString' => {'type'=>'string', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueId' => {'type'=>'id', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxLength' => {'type'=>'integer', 'path'=>'ElementDefinition.maxLength', 'min'=>0, 'max'=>1}, - 'condition' => {'type'=>'id', 'path'=>'ElementDefinition.condition', 'min'=>0, 'max'=>Float::INFINITY}, - 'constraint' => {'type'=>'ElementDefinition::Constraint', 'path'=>'ElementDefinition.constraint', 'min'=>0, 'max'=>Float::INFINITY}, - 'mustSupport' => {'type'=>'boolean', 'path'=>'ElementDefinition.mustSupport', 'min'=>0, 'max'=>1}, - 'isModifier' => {'type'=>'boolean', 'path'=>'ElementDefinition.isModifier', 'min'=>0, 'max'=>1}, - 'isSummary' => {'type'=>'boolean', 'path'=>'ElementDefinition.isSummary', 'min'=>0, 'max'=>1}, - 'binding' => {'type'=>'ElementDefinition::Binding', 'path'=>'ElementDefinition.binding', 'min'=>0, 'max'=>1}, - 'mapping' => {'type'=>'ElementDefinition::Mapping', 'path'=>'ElementDefinition.mapping', 'min'=>0, 'max'=>Float::INFINITY} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'ElementDefinition.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'ElementDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'path' => {'type'=>'string', 'path'=>'ElementDefinition.path', 'min'=>1, 'max'=>1}, + 'representation' => {'valid_codes'=>{'http://hl7.org/fhir/property-representation'=>['xmlAttr']}, 'type'=>'code', 'path'=>'ElementDefinition.representation', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/property-representation'}}, + 'name' => {'type'=>'string', 'path'=>'ElementDefinition.name', 'min'=>0, 'max'=>1}, + 'label' => {'type'=>'string', 'path'=>'ElementDefinition.label', 'min'=>0, 'max'=>1}, + 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'Coding', 'path'=>'ElementDefinition.code', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-codes'}}, + 'slicing' => {'type'=>'ElementDefinition::Slicing', 'path'=>'ElementDefinition.slicing', 'min'=>0, 'max'=>1}, + 'short' => {'type'=>'string', 'path'=>'ElementDefinition.short', 'min'=>0, 'max'=>1}, + 'definition' => {'type'=>'markdown', 'path'=>'ElementDefinition.definition', 'min'=>0, 'max'=>1}, + 'comments' => {'type'=>'markdown', 'path'=>'ElementDefinition.comments', 'min'=>0, 'max'=>1}, + 'requirements' => {'type'=>'markdown', 'path'=>'ElementDefinition.requirements', 'min'=>0, 'max'=>1}, + 'alias' => {'type'=>'string', 'path'=>'ElementDefinition.alias', 'min'=>0, 'max'=>Float::INFINITY}, + 'min' => {'type'=>'integer', 'path'=>'ElementDefinition.min', 'min'=>0, 'max'=>1}, + 'max' => {'type'=>'string', 'path'=>'ElementDefinition.max', 'min'=>0, 'max'=>1}, + 'base' => {'type'=>'ElementDefinition::Base', 'path'=>'ElementDefinition.base', 'min'=>0, 'max'=>1}, + 'type' => {'type'=>'ElementDefinition::Type', 'path'=>'ElementDefinition.type', 'min'=>0, 'max'=>Float::INFINITY}, + 'nameReference' => {'type'=>'string', 'path'=>'ElementDefinition.nameReference', 'min'=>0, 'max'=>1}, + 'defaultValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueString' => {'type'=>'string', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueId' => {'type'=>'id', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'defaultValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, + 'meaningWhenMissing' => {'type'=>'markdown', 'path'=>'ElementDefinition.meaningWhenMissing', 'min'=>0, 'max'=>1}, + 'fixedBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedString' => {'type'=>'string', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedUri' => {'type'=>'uri', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedDate' => {'type'=>'date', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedTime' => {'type'=>'time', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedCode' => {'type'=>'code', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedOid' => {'type'=>'oid', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedId' => {'type'=>'id', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedRange' => {'type'=>'Range', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'fixedMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, + 'patternBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternString' => {'type'=>'string', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternUri' => {'type'=>'uri', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternDate' => {'type'=>'date', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternTime' => {'type'=>'time', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternCode' => {'type'=>'code', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternOid' => {'type'=>'oid', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternId' => {'type'=>'id', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternRange' => {'type'=>'Range', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'patternMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, + 'exampleBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleString' => {'type'=>'string', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleUri' => {'type'=>'uri', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleDate' => {'type'=>'date', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleTime' => {'type'=>'time', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleCode' => {'type'=>'code', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleOid' => {'type'=>'oid', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleId' => {'type'=>'id', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'examplePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleRange' => {'type'=>'Range', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'examplePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'exampleMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, + 'minValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueString' => {'type'=>'string', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueId' => {'type'=>'id', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'minValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueString' => {'type'=>'string', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueId' => {'type'=>'id', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, + 'maxLength' => {'type'=>'integer', 'path'=>'ElementDefinition.maxLength', 'min'=>0, 'max'=>1}, + 'condition' => {'type'=>'id', 'path'=>'ElementDefinition.condition', 'min'=>0, 'max'=>Float::INFINITY}, + 'constraint' => {'type'=>'ElementDefinition::Constraint', 'path'=>'ElementDefinition.constraint', 'min'=>0, 'max'=>Float::INFINITY}, + 'mustSupport' => {'type'=>'boolean', 'path'=>'ElementDefinition.mustSupport', 'min'=>0, 'max'=>1}, + 'isModifier' => {'type'=>'boolean', 'path'=>'ElementDefinition.isModifier', 'min'=>0, 'max'=>1}, + 'isSummary' => {'type'=>'boolean', 'path'=>'ElementDefinition.isSummary', 'min'=>0, 'max'=>1}, + 'binding' => {'type'=>'ElementDefinition::Binding', 'path'=>'ElementDefinition.binding', 'min'=>0, 'max'=>1}, + 'mapping' => {'type'=>'ElementDefinition::Mapping', 'path'=>'ElementDefinition.mapping', 'min'=>0, 'max'=>Float::INFINITY} + } class Slicing < FHIR::DSTU2::Model include FHIR::DSTU2::Hashable diff --git a/lib/fhir_dstu2_models/fhir/types/Extension.rb b/lib/fhir_dstu2_models/fhir/types/Extension.rb index 9fdd92dc..1bfed3f3 100644 --- a/lib/fhir_dstu2_models/fhir/types/Extension.rb +++ b/lib/fhir_dstu2_models/fhir/types/Extension.rb @@ -9,44 +9,44 @@ class Extension < FHIR::DSTU2::Model 'value' => ['boolean', 'integer', 'decimal', 'base64Binary', 'instant', 'string', 'uri', 'date', 'dateTime', 'time', 'code', 'oid', 'id', 'unsignedInt', 'positiveInt', 'markdown', 'Annotation', 'Attachment', 'Identifier', 'CodeableConcept', 'Coding', 'Quantity', 'Range', 'Period', 'Ratio', 'SampledData', 'Signature', 'HumanName', 'Address', 'ContactPoint', 'Timing', 'Reference', 'Meta'] } SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Extension.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Extension.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'Extension.url', 'min'=>1, 'max'=>1}, - 'valueBoolean' => {'type'=>'boolean', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueInteger' => {'type'=>'integer', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueDecimal' => {'type'=>'decimal', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueBase64Binary' => {'type'=>'base64Binary', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueInstant' => {'type'=>'instant', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueString' => {'type'=>'string', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueUri' => {'type'=>'uri', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueDate' => {'type'=>'date', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueTime' => {'type'=>'time', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueCode' => {'type'=>'code', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueOid' => {'type'=>'oid', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueId' => {'type'=>'id', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valuePositiveInt' => {'type'=>'positiveInt', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueMarkdown' => {'type'=>'markdown', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueAnnotation' => {'type'=>'Annotation', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueIdentifier' => {'type'=>'Identifier', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueCoding' => {'type'=>'Coding', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueRange' => {'type'=>'Range', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valuePeriod' => {'type'=>'Period', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueRatio' => {'type'=>'Ratio', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueSampledData' => {'type'=>'SampledData', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueSignature' => {'type'=>'Signature', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueHumanName' => {'type'=>'HumanName', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueAddress' => {'type'=>'Address', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueContactPoint' => {'type'=>'ContactPoint', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueTiming' => {'type'=>'Timing', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueReference' => {'type'=>'Reference', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueMeta' => {'type'=>'Meta', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Extension.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Extension.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'url' => {'type'=>'uri', 'path'=>'Extension.url', 'min'=>1, 'max'=>1}, + 'valueBoolean' => {'type'=>'boolean', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueInteger' => {'type'=>'integer', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueDecimal' => {'type'=>'decimal', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueBase64Binary' => {'type'=>'base64Binary', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueInstant' => {'type'=>'instant', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueString' => {'type'=>'string', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueUri' => {'type'=>'uri', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueDate' => {'type'=>'date', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueTime' => {'type'=>'time', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueCode' => {'type'=>'code', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueOid' => {'type'=>'oid', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueId' => {'type'=>'id', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valuePositiveInt' => {'type'=>'positiveInt', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueMarkdown' => {'type'=>'markdown', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueAnnotation' => {'type'=>'Annotation', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueIdentifier' => {'type'=>'Identifier', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueCoding' => {'type'=>'Coding', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueRange' => {'type'=>'Range', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valuePeriod' => {'type'=>'Period', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueRatio' => {'type'=>'Ratio', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueSampledData' => {'type'=>'SampledData', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueSignature' => {'type'=>'Signature', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueHumanName' => {'type'=>'HumanName', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueAddress' => {'type'=>'Address', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueContactPoint' => {'type'=>'ContactPoint', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueTiming' => {'type'=>'Timing', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueReference' => {'type'=>'Reference', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, + 'valueMeta' => {'type'=>'Meta', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/HumanName.rb b/lib/fhir_dstu2_models/fhir/types/HumanName.rb index b5e63736..1f8685bb 100644 --- a/lib/fhir_dstu2_models/fhir/types/HumanName.rb +++ b/lib/fhir_dstu2_models/fhir/types/HumanName.rb @@ -6,17 +6,17 @@ class HumanName < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'HumanName.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'HumanName.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/name-use'=>['usual', 'official', 'temp', 'nickname', 'anonymous', 'old', 'maiden']}, 'type'=>'code', 'path'=>'HumanName.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/name-use'}}, - 'text' => {'type'=>'string', 'path'=>'HumanName.text', 'min'=>0, 'max'=>1}, - 'family' => {'type'=>'string', 'path'=>'HumanName.family', 'min'=>0, 'max'=>Float::INFINITY}, - 'given' => {'type'=>'string', 'path'=>'HumanName.given', 'min'=>0, 'max'=>Float::INFINITY}, - 'prefix' => {'type'=>'string', 'path'=>'HumanName.prefix', 'min'=>0, 'max'=>Float::INFINITY}, - 'suffix' => {'type'=>'string', 'path'=>'HumanName.suffix', 'min'=>0, 'max'=>Float::INFINITY}, - 'period' => {'type'=>'Period', 'path'=>'HumanName.period', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'HumanName.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'HumanName.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'use' => {'valid_codes'=>{'http://hl7.org/fhir/name-use'=>['usual', 'official', 'temp', 'nickname', 'anonymous', 'old', 'maiden']}, 'type'=>'code', 'path'=>'HumanName.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/name-use'}}, + 'text' => {'type'=>'string', 'path'=>'HumanName.text', 'min'=>0, 'max'=>1}, + 'family' => {'type'=>'string', 'path'=>'HumanName.family', 'min'=>0, 'max'=>Float::INFINITY}, + 'given' => {'type'=>'string', 'path'=>'HumanName.given', 'min'=>0, 'max'=>Float::INFINITY}, + 'prefix' => {'type'=>'string', 'path'=>'HumanName.prefix', 'min'=>0, 'max'=>Float::INFINITY}, + 'suffix' => {'type'=>'string', 'path'=>'HumanName.suffix', 'min'=>0, 'max'=>Float::INFINITY}, + 'period' => {'type'=>'Period', 'path'=>'HumanName.period', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Identifier.rb b/lib/fhir_dstu2_models/fhir/types/Identifier.rb index 1c7e512d..bb19ab31 100644 --- a/lib/fhir_dstu2_models/fhir/types/Identifier.rb +++ b/lib/fhir_dstu2_models/fhir/types/Identifier.rb @@ -6,16 +6,16 @@ class Identifier < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Identifier.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Identifier.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-use'=>['usual', 'official', 'temp', 'secondary']}, 'type'=>'code', 'path'=>'Identifier.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-use'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-type'=>['UDI', 'SNO', 'SB', 'PLAC', 'FILL'], 'http://hl7.org/fhir/v2/0203'=>['ACSN', 'AM', 'AMA', 'AN', 'ANC', 'AND', 'ANON', 'ANT', 'APRN', 'ASID', 'An Identifier for a provider a', 'An identifier for a provi', 'An identifier for a provider r', 'BA', 'BC', 'BCT', 'BR', 'BRN', 'BSNR', 'CC', 'CONM', 'CY', 'CZ', 'DDS', 'DEA', 'DFN', 'DI', 'DL', 'DN', 'DO', 'DP', 'DPM', 'DR', 'DS', 'EI', 'EN', 'ESN', 'FI', 'GI', 'GL', 'GN', 'HC', 'IND', 'JHN', 'LACSN', 'LANR', 'LI', 'LN', 'LR', 'MA', 'MB', 'MC', 'MCD', 'MCN', 'MCR', 'MCT', 'MD', 'MI', 'MR', 'MRT', 'MS', 'NBSNR', 'NCT', 'NE', 'NH', 'NI', 'NII', 'NIIP', 'NNxxx', 'NP', 'NPI', 'OD', 'PA', 'PC', 'PCN', 'PE', 'PEN', 'PI', 'PN', 'PNT', 'PPIN', 'PPN', 'PRC', 'PRN', 'PT', 'QA', 'RI', 'RN', 'RPH', 'RR', 'RRI', 'RRP', 'SID', 'SL', 'SN', 'SP', 'SR', 'SS', 'TAX', 'TN', 'TPR', 'U', 'UPIN', 'USID', 'VN', 'VP', 'VS', 'WC', 'WCN', 'WP', 'XX']}, 'type'=>'CodeableConcept', 'path'=>'Identifier.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-type'}}, - 'system' => {'type'=>'uri', 'path'=>'Identifier.system', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'string', 'path'=>'Identifier.value', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Identifier.period', 'min'=>0, 'max'=>1}, - 'assigner' => {'type'=>'Reference', 'path'=>'Identifier.assigner', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Identifier.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Identifier.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'use' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-use'=>['usual', 'official', 'temp', 'secondary']}, 'type'=>'code', 'path'=>'Identifier.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-use'}}, + 'type' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-type'=>['UDI', 'SNO', 'SB', 'PLAC', 'FILL'], 'http://hl7.org/fhir/v2/0203'=>['ACSN', 'AM', 'AMA', 'AN', 'ANC', 'AND', 'ANON', 'ANT', 'APRN', 'ASID', 'An Identifier for a provider a', 'An identifier for a provi', 'An identifier for a provider r', 'BA', 'BC', 'BCT', 'BR', 'BRN', 'BSNR', 'CC', 'CONM', 'CY', 'CZ', 'DDS', 'DEA', 'DFN', 'DI', 'DL', 'DN', 'DO', 'DP', 'DPM', 'DR', 'DS', 'EI', 'EN', 'ESN', 'FI', 'GI', 'GL', 'GN', 'HC', 'IND', 'JHN', 'LACSN', 'LANR', 'LI', 'LN', 'LR', 'MA', 'MB', 'MC', 'MCD', 'MCN', 'MCR', 'MCT', 'MD', 'MI', 'MR', 'MRT', 'MS', 'NBSNR', 'NCT', 'NE', 'NH', 'NI', 'NII', 'NIIP', 'NNxxx', 'NP', 'NPI', 'OD', 'PA', 'PC', 'PCN', 'PE', 'PEN', 'PI', 'PN', 'PNT', 'PPIN', 'PPN', 'PRC', 'PRN', 'PT', 'QA', 'RI', 'RN', 'RPH', 'RR', 'RRI', 'RRP', 'SID', 'SL', 'SN', 'SP', 'SR', 'SS', 'TAX', 'TN', 'TPR', 'U', 'UPIN', 'USID', 'VN', 'VP', 'VS', 'WC', 'WCN', 'WP', 'XX']}, 'type'=>'CodeableConcept', 'path'=>'Identifier.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-type'}}, + 'system' => {'type'=>'uri', 'path'=>'Identifier.system', 'min'=>0, 'max'=>1}, + 'value' => {'type'=>'string', 'path'=>'Identifier.value', 'min'=>0, 'max'=>1}, + 'period' => {'type'=>'Period', 'path'=>'Identifier.period', 'min'=>0, 'max'=>1}, + 'assigner' => {'type'=>'Reference', 'path'=>'Identifier.assigner', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Meta.rb b/lib/fhir_dstu2_models/fhir/types/Meta.rb index 8fad3864..b9350833 100644 --- a/lib/fhir_dstu2_models/fhir/types/Meta.rb +++ b/lib/fhir_dstu2_models/fhir/types/Meta.rb @@ -6,15 +6,15 @@ class Meta < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Meta.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Meta.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'versionId' => {'type'=>'id', 'path'=>'Meta.versionId', 'min'=>0, 'max'=>1}, - 'lastUpdated' => {'type'=>'instant', 'path'=>'Meta.lastUpdated', 'min'=>0, 'max'=>1}, - 'profile' => {'type'=>'uri', 'path'=>'Meta.profile', 'min'=>0, 'max'=>Float::INFINITY}, - 'security' => {'valid_codes'=>{'http://hl7.org/fhir/v3/Confidentiality'=>['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue'=>['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw'=>['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332']}, 'type'=>'Coding', 'path'=>'Meta.security', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/security-labels'}}, - 'tag' => {'type'=>'Coding', 'path'=>'Meta.tag', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Meta.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Meta.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'versionId' => {'type'=>'id', 'path'=>'Meta.versionId', 'min'=>0, 'max'=>1}, + 'lastUpdated' => {'type'=>'instant', 'path'=>'Meta.lastUpdated', 'min'=>0, 'max'=>1}, + 'profile' => {'type'=>'uri', 'path'=>'Meta.profile', 'min'=>0, 'max'=>Float::INFINITY}, + 'security' => {'valid_codes'=>{'http://hl7.org/fhir/v3/Confidentiality'=>['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue'=>['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw'=>['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332']}, 'type'=>'Coding', 'path'=>'Meta.security', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/security-labels'}}, + 'tag' => {'type'=>'Coding', 'path'=>'Meta.tag', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Narrative.rb b/lib/fhir_dstu2_models/fhir/types/Narrative.rb index bf73d578..b8b5218b 100644 --- a/lib/fhir_dstu2_models/fhir/types/Narrative.rb +++ b/lib/fhir_dstu2_models/fhir/types/Narrative.rb @@ -6,12 +6,12 @@ class Narrative < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Narrative.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Narrative.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/narrative-status'=>['generated', 'extensions', 'additional', 'empty']}, 'type'=>'code', 'path'=>'Narrative.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/narrative-status'}}, - 'div' => {'type'=>'xhtml', 'path'=>'Narrative.div', 'min'=>1, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Narrative.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Narrative.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'status' => {'valid_codes'=>{'http://hl7.org/fhir/narrative-status'=>['generated', 'extensions', 'additional', 'empty']}, 'type'=>'code', 'path'=>'Narrative.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/narrative-status'}}, + 'div' => {'type'=>'xhtml', 'path'=>'Narrative.div', 'min'=>1, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Period.rb b/lib/fhir_dstu2_models/fhir/types/Period.rb index 718399c3..eb57e80a 100644 --- a/lib/fhir_dstu2_models/fhir/types/Period.rb +++ b/lib/fhir_dstu2_models/fhir/types/Period.rb @@ -6,12 +6,12 @@ class Period < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Period.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Period.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'start' => {'type'=>'dateTime', 'path'=>'Period.start', 'min'=>0, 'max'=>1}, - 'end' => {'type'=>'dateTime', 'path'=>'Period.end', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Period.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Period.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'start' => {'type'=>'dateTime', 'path'=>'Period.start', 'min'=>0, 'max'=>1}, + 'end' => {'type'=>'dateTime', 'path'=>'Period.end', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Quantity.rb b/lib/fhir_dstu2_models/fhir/types/Quantity.rb index 20a7c48f..09d22c67 100644 --- a/lib/fhir_dstu2_models/fhir/types/Quantity.rb +++ b/lib/fhir_dstu2_models/fhir/types/Quantity.rb @@ -6,15 +6,15 @@ class Quantity < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Quantity.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Quantity.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'value' => {'type'=>'decimal', 'path'=>'Quantity.value', 'min'=>0, 'max'=>1}, - 'comparator' => {'valid_codes'=>{'http://hl7.org/fhir/quantity-comparator'=>['<', '<=', '>=', '>']}, 'type'=>'code', 'path'=>'Quantity.comparator', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/quantity-comparator'}}, - 'unit' => {'type'=>'string', 'path'=>'Quantity.unit', 'min'=>0, 'max'=>1}, - 'system' => {'type'=>'uri', 'path'=>'Quantity.system', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'Quantity.code', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Quantity.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Quantity.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'value' => {'type'=>'decimal', 'path'=>'Quantity.value', 'min'=>0, 'max'=>1}, + 'comparator' => {'valid_codes'=>{'http://hl7.org/fhir/quantity-comparator'=>['<', '<=', '>=', '>']}, 'type'=>'code', 'path'=>'Quantity.comparator', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/quantity-comparator'}}, + 'unit' => {'type'=>'string', 'path'=>'Quantity.unit', 'min'=>0, 'max'=>1}, + 'system' => {'type'=>'uri', 'path'=>'Quantity.system', 'min'=>0, 'max'=>1}, + 'code' => {'type'=>'code', 'path'=>'Quantity.code', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Range.rb b/lib/fhir_dstu2_models/fhir/types/Range.rb index d9d1cfab..b3bfa60a 100644 --- a/lib/fhir_dstu2_models/fhir/types/Range.rb +++ b/lib/fhir_dstu2_models/fhir/types/Range.rb @@ -6,12 +6,12 @@ class Range < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Range.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Range.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'low' => {'type'=>'Quantity', 'path'=>'Range.low', 'min'=>0, 'max'=>1}, - 'high' => {'type'=>'Quantity', 'path'=>'Range.high', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Range.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Range.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'low' => {'type'=>'Quantity', 'path'=>'Range.low', 'min'=>0, 'max'=>1}, + 'high' => {'type'=>'Quantity', 'path'=>'Range.high', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Ratio.rb b/lib/fhir_dstu2_models/fhir/types/Ratio.rb index 340e12a7..0c5cad1c 100644 --- a/lib/fhir_dstu2_models/fhir/types/Ratio.rb +++ b/lib/fhir_dstu2_models/fhir/types/Ratio.rb @@ -6,12 +6,12 @@ class Ratio < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Ratio.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Ratio.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'numerator' => {'type'=>'Quantity', 'path'=>'Ratio.numerator', 'min'=>0, 'max'=>1}, - 'denominator' => {'type'=>'Quantity', 'path'=>'Ratio.denominator', 'min'=>0, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Ratio.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Ratio.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'numerator' => {'type'=>'Quantity', 'path'=>'Ratio.numerator', 'min'=>0, 'max'=>1}, + 'denominator' => {'type'=>'Quantity', 'path'=>'Ratio.denominator', 'min'=>0, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/SampledData.rb b/lib/fhir_dstu2_models/fhir/types/SampledData.rb index c67e7cf5..657dfffe 100644 --- a/lib/fhir_dstu2_models/fhir/types/SampledData.rb +++ b/lib/fhir_dstu2_models/fhir/types/SampledData.rb @@ -6,17 +6,17 @@ class SampledData < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'SampledData.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'SampledData.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'origin' => {'type'=>'Quantity', 'path'=>'SampledData.origin', 'min'=>1, 'max'=>1}, - 'period' => {'type'=>'decimal', 'path'=>'SampledData.period', 'min'=>1, 'max'=>1}, - 'factor' => {'type'=>'decimal', 'path'=>'SampledData.factor', 'min'=>0, 'max'=>1}, - 'lowerLimit' => {'type'=>'decimal', 'path'=>'SampledData.lowerLimit', 'min'=>0, 'max'=>1}, - 'upperLimit' => {'type'=>'decimal', 'path'=>'SampledData.upperLimit', 'min'=>0, 'max'=>1}, - 'dimensions' => {'type'=>'positiveInt', 'path'=>'SampledData.dimensions', 'min'=>1, 'max'=>1}, - 'data' => {'type'=>'string', 'path'=>'SampledData.data', 'min'=>1, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'SampledData.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'SampledData.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'origin' => {'type'=>'Quantity', 'path'=>'SampledData.origin', 'min'=>1, 'max'=>1}, + 'period' => {'type'=>'decimal', 'path'=>'SampledData.period', 'min'=>1, 'max'=>1}, + 'factor' => {'type'=>'decimal', 'path'=>'SampledData.factor', 'min'=>0, 'max'=>1}, + 'lowerLimit' => {'type'=>'decimal', 'path'=>'SampledData.lowerLimit', 'min'=>0, 'max'=>1}, + 'upperLimit' => {'type'=>'decimal', 'path'=>'SampledData.upperLimit', 'min'=>0, 'max'=>1}, + 'dimensions' => {'type'=>'positiveInt', 'path'=>'SampledData.dimensions', 'min'=>1, 'max'=>1}, + 'data' => {'type'=>'string', 'path'=>'SampledData.data', 'min'=>1, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Signature.rb b/lib/fhir_dstu2_models/fhir/types/Signature.rb index 144ae4a3..dc829c7c 100644 --- a/lib/fhir_dstu2_models/fhir/types/Signature.rb +++ b/lib/fhir_dstu2_models/fhir/types/Signature.rb @@ -9,16 +9,16 @@ class Signature < FHIR::DSTU2::Model 'who' => ['uri', 'Reference'] } SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Signature.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Signature.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/valueset-signature-type'=>['1.2.840.10065.1.12.1.1', '1.2.840.10065.1.12.1.2', '1.2.840.10065.1.12.1.3', '1.2.840.10065.1.12.1.4', '1.2.840.10065.1.12.1.5', '1.2.840.10065.1.12.1.6', '1.2.840.10065.1.12.1.7', '1.2.840.10065.1.12.1.8', '1.2.840.10065.1.12.1.9', '1.2.840.10065.1.12.1.10', '1.2.840.10065.1.12.1.11', '1.2.840.10065.1.12.1.12', '1.2.840.10065.1.12.1.13', '1.2.840.10065.1.12.1.14', '1.2.840.10065.1.12.1.15', '1.2.840.10065.1.12.1.16', '1.2.840.10065.1.12.1.17']}, 'type'=>'Coding', 'path'=>'Signature.type', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/signature-type'}}, - 'when' => {'type'=>'instant', 'path'=>'Signature.when', 'min'=>1, 'max'=>1}, - 'whoUri' => {'type'=>'uri', 'path'=>'Signature.who[x]', 'min'=>1, 'max'=>1}, - 'whoReference' => {'type'=>'Reference', 'path'=>'Signature.who[x]', 'min'=>1, 'max'=>1}, - 'contentType' => {'type'=>'code', 'path'=>'Signature.contentType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'blob' => {'type'=>'base64Binary', 'path'=>'Signature.blob', 'min'=>1, 'max'=>1} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Signature.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Signature.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'type' => {'valid_codes'=>{'http://hl7.org/fhir/valueset-signature-type'=>['1.2.840.10065.1.12.1.1', '1.2.840.10065.1.12.1.2', '1.2.840.10065.1.12.1.3', '1.2.840.10065.1.12.1.4', '1.2.840.10065.1.12.1.5', '1.2.840.10065.1.12.1.6', '1.2.840.10065.1.12.1.7', '1.2.840.10065.1.12.1.8', '1.2.840.10065.1.12.1.9', '1.2.840.10065.1.12.1.10', '1.2.840.10065.1.12.1.11', '1.2.840.10065.1.12.1.12', '1.2.840.10065.1.12.1.13', '1.2.840.10065.1.12.1.14', '1.2.840.10065.1.12.1.15', '1.2.840.10065.1.12.1.16', '1.2.840.10065.1.12.1.17']}, 'type'=>'Coding', 'path'=>'Signature.type', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/signature-type'}}, + 'when' => {'type'=>'instant', 'path'=>'Signature.when', 'min'=>1, 'max'=>1}, + 'whoUri' => {'type'=>'uri', 'path'=>'Signature.who[x]', 'min'=>1, 'max'=>1}, + 'whoReference' => {'type'=>'Reference', 'path'=>'Signature.who[x]', 'min'=>1, 'max'=>1}, + 'contentType' => {'type'=>'code', 'path'=>'Signature.contentType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, + 'blob' => {'type'=>'base64Binary', 'path'=>'Signature.blob', 'min'=>1, 'max'=>1} + } attr_accessor :id # 0-1 id attr_accessor :extension # 0-* [ Extension ] diff --git a/lib/fhir_dstu2_models/fhir/types/Timing.rb b/lib/fhir_dstu2_models/fhir/types/Timing.rb index 8decb253..58852f55 100644 --- a/lib/fhir_dstu2_models/fhir/types/Timing.rb +++ b/lib/fhir_dstu2_models/fhir/types/Timing.rb @@ -6,13 +6,13 @@ class Timing < FHIR::DSTU2::Model include FHIR::DSTU2::Xml SEARCH_PARAMS = - METADATA = { - 'id' => {'type'=>'id', 'path'=>'Timing.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Timing.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'event' => {'type'=>'dateTime', 'path'=>'Timing.event', 'min'=>0, 'max'=>Float::INFINITY}, - 'repeat' => {'type'=>'Timing::Repeat', 'path'=>'Timing.repeat', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/timing-abbreviation'=>['QD', 'QOD', 'Q4H', 'Q6H'], 'http://hl7.org/fhir/v3/GTSAbbreviation'=>['AM', 'BID', 'JB', 'JE', 'JH', '_GTSAbbreviationHolidaysChristianRoman', 'JHCHREAS', 'JHCHRGFR', 'JHCHRNEW', 'JHCHRPEN', 'JHCHRXME', 'JHCHRXMS', 'JHNNL', 'JHNNLLD', 'JHNNLQD', 'JHNNLSK', 'JHNUS', 'JHNUSCLM', 'JHNUSIND', 'JHNUSIND1', 'JHNUSIND5', 'JHNUSLBR', 'JHNUSMEM', 'JHNUSMEM5', 'JHNUSMEM6', 'JHNUSMLK', 'JHNUSPRE', 'JHNUSTKS', 'JHNUSTKS5', 'JHNUSVET', 'PM', 'QID', 'TID']}, 'type'=>'CodeableConcept', 'path'=>'Timing.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/timing-abbreviation'}} - } + METADATA = { + 'id' => {'type'=>'id', 'path'=>'Timing.id', 'min'=>0, 'max'=>1}, + 'extension' => {'type'=>'Extension', 'path'=>'Timing.extension', 'min'=>0, 'max'=>Float::INFINITY}, + 'event' => {'type'=>'dateTime', 'path'=>'Timing.event', 'min'=>0, 'max'=>Float::INFINITY}, + 'repeat' => {'type'=>'Timing::Repeat', 'path'=>'Timing.repeat', 'min'=>0, 'max'=>1}, + 'code' => {'valid_codes'=>{'http://hl7.org/fhir/timing-abbreviation'=>['QD', 'QOD', 'Q4H', 'Q6H'], 'http://hl7.org/fhir/v3/GTSAbbreviation'=>['AM', 'BID', 'JB', 'JE', 'JH', '_GTSAbbreviationHolidaysChristianRoman', 'JHCHREAS', 'JHCHRGFR', 'JHCHRNEW', 'JHCHRPEN', 'JHCHRXME', 'JHCHRXMS', 'JHNNL', 'JHNNLLD', 'JHNNLQD', 'JHNNLSK', 'JHNUS', 'JHNUSCLM', 'JHNUSIND', 'JHNUSIND1', 'JHNUSIND5', 'JHNUSLBR', 'JHNUSMEM', 'JHNUSMEM5', 'JHNUSMEM6', 'JHNUSMLK', 'JHNUSPRE', 'JHNUSTKS', 'JHNUSTKS5', 'JHNUSVET', 'PM', 'QID', 'TID']}, 'type'=>'CodeableConcept', 'path'=>'Timing.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/timing-abbreviation'}} + } class Repeat < FHIR::DSTU2::Model include FHIR::DSTU2::Hashable From 70e83f0e308541ab73216543948a811bde2c91fd Mon Sep 17 00:00:00 2001 From: 360dgries Date: Wed, 13 Dec 2023 16:22:16 -0500 Subject: [PATCH 7/9] Empty Line auto corrects --- .rubocop_todo.yml | 28 ++----------------- lib/fhir_dstu2_models/fhir/metadata.rb | 2 -- .../fhir/resources/ClaimResponse.rb | 1 - 3 files changed, 3 insertions(+), 28 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 96582889..fe6dd6d3 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,28 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only -Layout/EmptyLinesAroundClassBody: - Exclude: - - 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines -Layout/EmptyLinesAroundModuleBody: - Exclude: - - 'lib/fhir_dstu2_models/fhir/metadata.rb' - -# Offense count: 1 -# Cop supports --auto-correct. -Layout/RescueEnsureAlignment: - Exclude: - - 'lib/fhir_dstu2_models/bootstrap/model.rb' - # Offense count: 19223 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. @@ -58,7 +36,7 @@ Metrics/AbcSize: # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: - Max: 131 + Max: 133 # Offense count: 45 # Configuration parameters: CountBlocks. @@ -78,12 +56,12 @@ Metrics/CyclomaticComplexity: # Offense count: 49 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: - Max: 463 + Max: 466 # Offense count: 2 # Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: - Max: 520 + Max: 523 # Offense count: 31 # Configuration parameters: IgnoredMethods. diff --git a/lib/fhir_dstu2_models/fhir/metadata.rb b/lib/fhir_dstu2_models/fhir/metadata.rb index 49cf2a91..5873dd49 100644 --- a/lib/fhir_dstu2_models/fhir/metadata.rb +++ b/lib/fhir_dstu2_models/fhir/metadata.rb @@ -1,6 +1,5 @@ module FHIR module DSTU2 - PRIMITIVES = { 'markdown' => {'type'=>'string'}, 'integer' => {'type'=>'number', 'regex'=>'-?([0]|([1-9][0-9]*))'}, @@ -23,6 +22,5 @@ module DSTU2 } TYPES = ['Address', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing'] RESOURCES = ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] - end end diff --git a/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb b/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb index e95831e7..33cd0fee 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb @@ -162,7 +162,6 @@ class Subadjudication < FHIR::DSTU2::Model include FHIR::DSTU2::Hashable include FHIR::DSTU2::Json include FHIR::DSTU2::Xml - end attr_accessor :id # 0-1 id From a8b7e3d29e320297504fb69578e50ce851b75fae Mon Sep 17 00:00:00 2001 From: 360dgries Date: Fri, 15 Dec 2023 08:36:32 -0500 Subject: [PATCH 8/9] Space around operators and hashs cops auto correct --- .rubocop.yml | 2 + .rubocop_todo.yml | 15 - lib/fhir_dstu2_models/fhir/metadata.rb | 36 +- .../fhir/resources/Account.rb | 38 +- .../fhir/resources/AllergyIntolerance.rb | 66 +-- .../fhir/resources/Appointment.rb | 54 +- .../fhir/resources/AppointmentResponse.rb | 32 +- .../fhir/resources/AuditEvent.rb | 130 ++--- lib/fhir_dstu2_models/fhir/resources/Basic.rb | 26 +- .../fhir/resources/Binary.rb | 12 +- .../fhir/resources/BodySite.rb | 28 +- .../fhir/resources/Bundle.rb | 88 +-- .../fhir/resources/CarePlan.rb | 124 ++--- lib/fhir_dstu2_models/fhir/resources/Claim.rb | 234 ++++---- .../fhir/resources/ClaimResponse.rb | 242 ++++---- .../fhir/resources/ClinicalImpression.rb | 82 +-- .../fhir/resources/Communication.rb | 54 +- .../fhir/resources/CommunicationRequest.rb | 58 +- .../fhir/resources/Composition.rb | 90 +-- .../fhir/resources/ConceptMap.rb | 104 ++-- .../fhir/resources/Condition.rb | 86 +-- .../fhir/resources/Conformance.rb | 274 ++++----- .../fhir/resources/Contract.rb | 194 +++---- .../fhir/resources/Coverage.rb | 44 +- .../fhir/resources/DataElement.rb | 68 +-- .../fhir/resources/DetectedIssue.rb | 48 +- .../fhir/resources/Device.rb | 48 +- .../fhir/resources/DeviceComponent.rb | 48 +- .../fhir/resources/DeviceMetric.rb | 48 +- .../fhir/resources/DeviceUseRequest.rb | 48 +- .../fhir/resources/DeviceUseStatement.rb | 40 +- .../fhir/resources/DiagnosticOrder.rb | 70 +-- .../fhir/resources/DiagnosticReport.rb | 62 +-- .../fhir/resources/DocumentManifest.rb | 60 +- .../fhir/resources/DocumentReference.rb | 100 ++-- .../fhir/resources/DomainResource.rb | 16 +- .../fhir/resources/EligibilityRequest.rb | 30 +- .../fhir/resources/EligibilityResponse.rb | 36 +- .../fhir/resources/Encounter.rb | 116 ++-- .../fhir/resources/EnrollmentRequest.rb | 36 +- .../fhir/resources/EnrollmentResponse.rb | 36 +- .../fhir/resources/EpisodeOfCare.rb | 60 +- .../fhir/resources/ExplanationOfBenefit.rb | 36 +- .../fhir/resources/FamilyMemberHistory.rb | 76 +-- lib/fhir_dstu2_models/fhir/resources/Flag.rb | 32 +- lib/fhir_dstu2_models/fhir/resources/Goal.rb | 58 +- lib/fhir_dstu2_models/fhir/resources/Group.rb | 64 +-- .../fhir/resources/HealthcareService.rb | 94 ++-- .../fhir/resources/ImagingObjectSelection.rb | 80 +-- .../fhir/resources/ImagingStudy.rb | 94 ++-- .../fhir/resources/Immunization.rb | 102 ++-- .../resources/ImmunizationRecommendation.rb | 68 +-- .../fhir/resources/ImplementationGuide.rb | 132 ++--- lib/fhir_dstu2_models/fhir/resources/List.rb | 56 +- .../fhir/resources/Location.rb | 52 +- lib/fhir_dstu2_models/fhir/resources/Media.rb | 40 +- .../fhir/resources/Medication.rb | 78 +-- .../resources/MedicationAdministration.rb | 70 +-- .../fhir/resources/MedicationDispense.rb | 96 ++-- .../fhir/resources/MedicationOrder.rb | 112 ++-- .../fhir/resources/MedicationStatement.rb | 80 +-- .../fhir/resources/MessageHeader.rb | 78 +-- .../fhir/resources/NamingSystem.rb | 66 +-- .../fhir/resources/NutritionOrder.rb | 132 ++--- .../fhir/resources/Observation.rb | 134 ++--- .../fhir/resources/OperationDefinition.rb | 100 ++-- .../fhir/resources/OperationOutcome.rb | 34 +- lib/fhir_dstu2_models/fhir/resources/Order.rb | 44 +- .../fhir/resources/OrderResponse.rb | 30 +- .../fhir/resources/Organization.rb | 46 +- .../fhir/resources/Parameters.rb | 88 +-- .../fhir/resources/Patient.rb | 106 ++-- .../fhir/resources/PaymentNotice.rb | 36 +- .../fhir/resources/PaymentReconciliation.rb | 76 +-- .../fhir/resources/Person.rb | 46 +- .../fhir/resources/Practitioner.rb | 70 +-- .../fhir/resources/Procedure.rb | 82 +-- .../fhir/resources/ProcedureRequest.rb | 52 +- .../fhir/resources/ProcessRequest.rb | 56 +- .../fhir/resources/ProcessResponse.rb | 52 +- .../fhir/resources/Provenance.rb | 76 +-- .../fhir/resources/Questionnaire.rb | 78 +-- .../fhir/resources/QuestionnaireResponse.rb | 98 ++-- .../fhir/resources/ReferralRequest.rb | 48 +- .../fhir/resources/RelatedPerson.rb | 36 +- .../fhir/resources/Resource.rb | 8 +- .../fhir/resources/RiskAssessment.rb | 58 +- .../fhir/resources/Schedule.rb | 26 +- .../fhir/resources/SearchParameter.rb | 56 +- lib/fhir_dstu2_models/fhir/resources/Slot.rb | 32 +- .../fhir/resources/Specimen.rb | 88 +-- .../fhir/resources/StructureDefinition.rb | 106 ++-- .../fhir/resources/Subscription.rb | 46 +- .../fhir/resources/Substance.rb | 50 +- .../fhir/resources/SupplyDelivery.rb | 38 +- .../fhir/resources/SupplyRequest.rb | 48 +- .../fhir/resources/TestScript.rb | 278 +++++----- .../fhir/resources/ValueSet.rb | 214 ++++---- .../fhir/resources/VisionPrescription.rb | 68 +-- lib/fhir_dstu2_models/fhir/types/Address.rb | 24 +- .../fhir/types/Annotation.rb | 12 +- .../fhir/types/Attachment.rb | 20 +- .../fhir/types/BackboneElement.rb | 6 +- .../fhir/types/CodeableConcept.rb | 8 +- lib/fhir_dstu2_models/fhir/types/Coding.rb | 14 +- .../fhir/types/ContactPoint.rb | 14 +- lib/fhir_dstu2_models/fhir/types/Element.rb | 4 +- .../fhir/types/ElementDefinition.rb | 518 +++++++++--------- lib/fhir_dstu2_models/fhir/types/Extension.rb | 72 +-- lib/fhir_dstu2_models/fhir/types/HumanName.rb | 18 +- .../fhir/types/Identifier.rb | 16 +- lib/fhir_dstu2_models/fhir/types/Meta.rb | 14 +- lib/fhir_dstu2_models/fhir/types/Narrative.rb | 8 +- lib/fhir_dstu2_models/fhir/types/Period.rb | 8 +- lib/fhir_dstu2_models/fhir/types/Quantity.rb | 14 +- lib/fhir_dstu2_models/fhir/types/Range.rb | 8 +- lib/fhir_dstu2_models/fhir/types/Ratio.rb | 8 +- lib/fhir_dstu2_models/fhir/types/Reference.rb | 8 +- .../fhir/types/SampledData.rb | 18 +- lib/fhir_dstu2_models/fhir/types/Signature.rb | 16 +- lib/fhir_dstu2_models/fhir/types/Timing.rb | 40 +- 121 files changed, 4069 insertions(+), 4082 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 5e6fa477..8fc572d8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,6 +12,8 @@ AllCops: - 'bin/*' Layout/LineLength: Enabled: false +Lint/NonDeterministicRequireOrder: + Enabled: false Style/AccessorGrouping: Enabled: false Style/FrozenStringLiteralComment: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fe6dd6d3..3edf3ea3 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,21 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 19223 -# Cop supports --auto-correct. -# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. -# SupportedStylesForExponentOperator: space, no_space -Layout/SpaceAroundOperators: - Enabled: false - -# Offense count: 10414 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. -# SupportedStyles: space, no_space, compact -# SupportedStylesForEmptyBraces: space, no_space -Layout/SpaceInsideHashLiteralBraces: - Enabled: false - # Offense count: 6 # Cop supports --auto-correct. Lint/NonDeterministicRequireOrder: diff --git a/lib/fhir_dstu2_models/fhir/metadata.rb b/lib/fhir_dstu2_models/fhir/metadata.rb index 5873dd49..3b93025f 100644 --- a/lib/fhir_dstu2_models/fhir/metadata.rb +++ b/lib/fhir_dstu2_models/fhir/metadata.rb @@ -1,24 +1,24 @@ module FHIR module DSTU2 PRIMITIVES = { - 'markdown' => {'type'=>'string'}, - 'integer' => {'type'=>'number', 'regex'=>'-?([0]|([1-9][0-9]*))'}, - 'dateTime' => {'type'=>'string', 'regex'=>'-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?'}, - 'unsignedInt' => {'type'=>'number', 'regex'=>'[0]|([1-9][0-9]*)'}, - 'code' => {'type'=>'string', 'regex'=>'[^\\s]+([\\s][^\\s]+)*'}, - 'date' => {'type'=>'string', 'regex'=>'-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?'}, - 'decimal' => {'type'=>'number', 'regex'=>'-?([0]|([1-9][0-9]*))(\\.[0-9]+)?'}, - 'uri' => {'type'=>'string'}, - 'id' => {'type'=>'string', 'regex'=>'[A-Za-z0-9\\-\\.]{1,64}'}, - 'base64Binary' => {'type'=>'string'}, - 'time' => {'type'=>'string', 'regex'=>'([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?'}, - 'oid' => {'type'=>'string', 'regex'=>'urn:oid:(0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*))*'}, - 'positiveInt' => {'type'=>'number', 'regex'=>'[1-9][0-9]*'}, - 'string' => {'type'=>'string'}, - 'boolean' => {'type'=>'true | false'}, - 'uuid' => {'type'=>'string', 'regex'=>'urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'}, - 'instant' => {'type'=>'string'}, - 'xhtml' => {'type'=>'string'} + 'markdown' => { 'type' => 'string' }, + 'integer' => { 'type' => 'number', 'regex' => '-?([0]|([1-9][0-9]*))' }, + 'dateTime' => { 'type' => 'string', 'regex' => '-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?' }, + 'unsignedInt' => { 'type' => 'number', 'regex' => '[0]|([1-9][0-9]*)' }, + 'code' => { 'type' => 'string', 'regex' => '[^\\s]+([\\s][^\\s]+)*' }, + 'date' => { 'type' => 'string', 'regex' => '-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?' }, + 'decimal' => { 'type' => 'number', 'regex' => '-?([0]|([1-9][0-9]*))(\\.[0-9]+)?' }, + 'uri' => { 'type' => 'string' }, + 'id' => { 'type' => 'string', 'regex' => '[A-Za-z0-9\\-\\.]{1,64}' }, + 'base64Binary' => { 'type' => 'string' }, + 'time' => { 'type' => 'string', 'regex' => '([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?' }, + 'oid' => { 'type' => 'string', 'regex' => 'urn:oid:(0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*))*' }, + 'positiveInt' => { 'type' => 'number', 'regex' => '[1-9][0-9]*' }, + 'string' => { 'type' => 'string' }, + 'boolean' => { 'type' => 'true | false' }, + 'uuid' => { 'type' => 'string', 'regex' => 'urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' }, + 'instant' => { 'type' => 'string' }, + 'xhtml' => { 'type' => 'string' } } TYPES = ['Address', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing'] RESOURCES = ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] diff --git a/lib/fhir_dstu2_models/fhir/resources/Account.rb b/lib/fhir_dstu2_models/fhir/resources/Account.rb index f3d6271c..58cadde1 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Account.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Account.rb @@ -7,25 +7,25 @@ class Account < FHIR::DSTU2::Model SEARCH_PARAMS = ['balance', 'identifier', 'name', 'owner', 'patient', 'period', 'status', 'subject', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Account.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Account.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Account.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Account.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Account.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Account.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Account.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Account.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Account.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Account.name', 'min'=>0, 'max'=>1}, - 'type' => {'type'=>'CodeableConcept', 'path'=>'Account.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/account-status'=>['active', 'inactive']}, 'type'=>'code', 'path'=>'Account.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/account-status'}}, - 'activePeriod' => {'type'=>'Period', 'path'=>'Account.activePeriod', 'min'=>0, 'max'=>1}, - 'currency' => {'type'=>'Coding', 'path'=>'Account.currency', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://www.iso.org/iso/home/standards/currency_codes'}}, - 'balance' => {'type'=>'Quantity', 'path'=>'Account.balance', 'min'=>0, 'max'=>1}, - 'coveragePeriod' => {'type'=>'Period', 'path'=>'Account.coveragePeriod', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'Account.subject', 'min'=>0, 'max'=>1}, - 'owner' => {'type'=>'Reference', 'path'=>'Account.owner', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Account.description', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Account.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Account.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Account.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Account.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Account.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Account.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Account.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Account.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Account.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Account.name', 'min' => 0, 'max' => 1 }, + 'type' => { 'type' => 'CodeableConcept', 'path' => 'Account.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/account-status' => ['active', 'inactive'] }, 'type' => 'code', 'path' => 'Account.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/account-status' } }, + 'activePeriod' => { 'type' => 'Period', 'path' => 'Account.activePeriod', 'min' => 0, 'max' => 1 }, + 'currency' => { 'type' => 'Coding', 'path' => 'Account.currency', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://www.iso.org/iso/home/standards/currency_codes' } }, + 'balance' => { 'type' => 'Quantity', 'path' => 'Account.balance', 'min' => 0, 'max' => 1 }, + 'coveragePeriod' => { 'type' => 'Period', 'path' => 'Account.coveragePeriod', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'Account.subject', 'min' => 0, 'max' => 1 }, + 'owner' => { 'type' => 'Reference', 'path' => 'Account.owner', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Account.description', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb b/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb index ed31c66b..2a890e6e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb @@ -7,28 +7,28 @@ class AllergyIntolerance < FHIR::DSTU2::Model SEARCH_PARAMS = ['category', 'criticality', 'date', 'identifier', 'last-date', 'manifestation', 'onset', 'patient', 'recorder', 'reporter', 'route', 'severity', 'status', 'substance', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'AllergyIntolerance.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'AllergyIntolerance.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'AllergyIntolerance.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'AllergyIntolerance.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'AllergyIntolerance.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'AllergyIntolerance.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'AllergyIntolerance.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'AllergyIntolerance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'AllergyIntolerance.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'onset' => {'type'=>'dateTime', 'path'=>'AllergyIntolerance.onset', 'min'=>0, 'max'=>1}, - 'recordedDate' => {'type'=>'dateTime', 'path'=>'AllergyIntolerance.recordedDate', 'min'=>0, 'max'=>1}, - 'recorder' => {'type'=>'Reference', 'path'=>'AllergyIntolerance.recorder', 'min'=>0, 'max'=>1}, - 'patient' => {'type'=>'Reference', 'path'=>'AllergyIntolerance.patient', 'min'=>1, 'max'=>1}, - 'reporter' => {'type'=>'Reference', 'path'=>'AllergyIntolerance.reporter', 'min'=>0, 'max'=>1}, - 'substance' => {'valid_codes'=>{'http://snomed.info/sct'=>['160244002', '429625007', '409137002', '428607008']}, 'type'=>'CodeableConcept', 'path'=>'AllergyIntolerance.substance', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/allergyintolerance-substance-code'}}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/allergy-intolerance-status'=>['active', 'unconfirmed', 'confirmed', 'inactive', 'resolved', 'refuted', 'entered-in-error']}, 'type'=>'code', 'path'=>'AllergyIntolerance.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergy-intolerance-status'}}, - 'criticality' => {'valid_codes'=>{'http://hl7.org/fhir/allergy-intolerance-criticality'=>['CRITL', 'CRITH', 'CRITU']}, 'type'=>'code', 'path'=>'AllergyIntolerance.criticality', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/allergy-intolerance-type'=>['allergy', 'intolerance']}, 'type'=>'code', 'path'=>'AllergyIntolerance.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergy-intolerance-type'}}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/allergy-intolerance-category'=>['food', 'medication', 'environment', 'other']}, 'type'=>'code', 'path'=>'AllergyIntolerance.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergy-intolerance-category'}}, - 'lastOccurence' => {'type'=>'dateTime', 'path'=>'AllergyIntolerance.lastOccurence', 'min'=>0, 'max'=>1}, - 'note' => {'type'=>'Annotation', 'path'=>'AllergyIntolerance.note', 'min'=>0, 'max'=>1}, - 'reaction' => {'type'=>'AllergyIntolerance::Reaction', 'path'=>'AllergyIntolerance.reaction', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'AllergyIntolerance.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'AllergyIntolerance.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'AllergyIntolerance.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'AllergyIntolerance.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'AllergyIntolerance.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'AllergyIntolerance.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'AllergyIntolerance.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'AllergyIntolerance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'AllergyIntolerance.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'onset' => { 'type' => 'dateTime', 'path' => 'AllergyIntolerance.onset', 'min' => 0, 'max' => 1 }, + 'recordedDate' => { 'type' => 'dateTime', 'path' => 'AllergyIntolerance.recordedDate', 'min' => 0, 'max' => 1 }, + 'recorder' => { 'type' => 'Reference', 'path' => 'AllergyIntolerance.recorder', 'min' => 0, 'max' => 1 }, + 'patient' => { 'type' => 'Reference', 'path' => 'AllergyIntolerance.patient', 'min' => 1, 'max' => 1 }, + 'reporter' => { 'type' => 'Reference', 'path' => 'AllergyIntolerance.reporter', 'min' => 0, 'max' => 1 }, + 'substance' => { 'valid_codes' => { 'http://snomed.info/sct' => ['160244002', '429625007', '409137002', '428607008'] }, 'type' => 'CodeableConcept', 'path' => 'AllergyIntolerance.substance', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/allergyintolerance-substance-code' } }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/allergy-intolerance-status' => ['active', 'unconfirmed', 'confirmed', 'inactive', 'resolved', 'refuted', 'entered-in-error'] }, 'type' => 'code', 'path' => 'AllergyIntolerance.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/allergy-intolerance-status' } }, + 'criticality' => { 'valid_codes' => { 'http://hl7.org/fhir/allergy-intolerance-criticality' => ['CRITL', 'CRITH', 'CRITU'] }, 'type' => 'code', 'path' => 'AllergyIntolerance.criticality', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/allergy-intolerance-type' => ['allergy', 'intolerance'] }, 'type' => 'code', 'path' => 'AllergyIntolerance.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/allergy-intolerance-type' } }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/allergy-intolerance-category' => ['food', 'medication', 'environment', 'other'] }, 'type' => 'code', 'path' => 'AllergyIntolerance.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/allergy-intolerance-category' } }, + 'lastOccurence' => { 'type' => 'dateTime', 'path' => 'AllergyIntolerance.lastOccurence', 'min' => 0, 'max' => 1 }, + 'note' => { 'type' => 'Annotation', 'path' => 'AllergyIntolerance.note', 'min' => 0, 'max' => 1 }, + 'reaction' => { 'type' => 'AllergyIntolerance::Reaction', 'path' => 'AllergyIntolerance.reaction', 'min' => 0, 'max' => Float::INFINITY } } class Reaction < FHIR::DSTU2::Model @@ -37,17 +37,17 @@ class Reaction < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Reaction.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Reaction.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Reaction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'substance' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Reaction.substance', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/substance-code'}}, - 'certainty' => {'valid_codes'=>{'http://hl7.org/fhir/reaction-event-certainty'=>['unlikely', 'likely', 'confirmed']}, 'type'=>'code', 'path'=>'Reaction.certainty', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/reaction-event-certainty'}}, - 'manifestation' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Reaction.manifestation', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/manifestation-codes'}}, - 'description' => {'type'=>'string', 'path'=>'Reaction.description', 'min'=>0, 'max'=>1}, - 'onset' => {'type'=>'dateTime', 'path'=>'Reaction.onset', 'min'=>0, 'max'=>1}, - 'severity' => {'valid_codes'=>{'http://hl7.org/fhir/reaction-event-severity'=>['mild', 'moderate', 'severe']}, 'type'=>'code', 'path'=>'Reaction.severity', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/reaction-event-severity'}}, - 'exposureRoute' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Reaction.exposureRoute', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}}, - 'note' => {'type'=>'Annotation', 'path'=>'Reaction.note', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Reaction.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Reaction.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Reaction.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'substance' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Reaction.substance', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/substance-code' } }, + 'certainty' => { 'valid_codes' => { 'http://hl7.org/fhir/reaction-event-certainty' => ['unlikely', 'likely', 'confirmed'] }, 'type' => 'code', 'path' => 'Reaction.certainty', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/reaction-event-certainty' } }, + 'manifestation' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Reaction.manifestation', 'min' => 1, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/manifestation-codes' } }, + 'description' => { 'type' => 'string', 'path' => 'Reaction.description', 'min' => 0, 'max' => 1 }, + 'onset' => { 'type' => 'dateTime', 'path' => 'Reaction.onset', 'min' => 0, 'max' => 1 }, + 'severity' => { 'valid_codes' => { 'http://hl7.org/fhir/reaction-event-severity' => ['mild', 'moderate', 'severe'] }, 'type' => 'code', 'path' => 'Reaction.severity', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/reaction-event-severity' } }, + 'exposureRoute' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Reaction.exposureRoute', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/route-codes' } }, + 'note' => { 'type' => 'Annotation', 'path' => 'Reaction.note', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Appointment.rb b/lib/fhir_dstu2_models/fhir/resources/Appointment.rb index 304ffd1e..6868c10c 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Appointment.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Appointment.rb @@ -7,26 +7,26 @@ class Appointment < FHIR::DSTU2::Model SEARCH_PARAMS = ['actor', 'date', 'identifier', 'location', 'part-status', 'patient', 'practitioner', 'status', 'actor', 'appointment', 'identifier', 'location', 'part-status', 'patient', 'practitioner'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Appointment.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Appointment.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Appointment.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Appointment.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Appointment.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Appointment.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Appointment.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Appointment.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Appointment.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/appointmentstatus'=>['proposed', 'pending', 'booked', 'arrived', 'fulfilled', 'cancelled', 'noshow']}, 'type'=>'code', 'path'=>'Appointment.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/appointmentstatus'}}, - 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004']}, 'type'=>'CodeableConcept', 'path'=>'Appointment.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-practice-codes'}}, - 'reason' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Appointment.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-reason'}}, - 'priority' => {'type'=>'unsignedInt', 'path'=>'Appointment.priority', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Appointment.description', 'min'=>0, 'max'=>1}, - 'start' => {'type'=>'instant', 'path'=>'Appointment.start', 'min'=>0, 'max'=>1}, - 'end' => {'type'=>'instant', 'path'=>'Appointment.end', 'min'=>0, 'max'=>1}, - 'minutesDuration' => {'type'=>'positiveInt', 'path'=>'Appointment.minutesDuration', 'min'=>0, 'max'=>1}, - 'slot' => {'type'=>'Reference', 'path'=>'Appointment.slot', 'min'=>0, 'max'=>Float::INFINITY}, - 'comment' => {'type'=>'string', 'path'=>'Appointment.comment', 'min'=>0, 'max'=>1}, - 'participant' => {'type'=>'Appointment::Participant', 'path'=>'Appointment.participant', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Appointment.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Appointment.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Appointment.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Appointment.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Appointment.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Appointment.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Appointment.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Appointment.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Appointment.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/appointmentstatus' => ['proposed', 'pending', 'booked', 'arrived', 'fulfilled', 'cancelled', 'noshow'] }, 'type' => 'code', 'path' => 'Appointment.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/appointmentstatus' } }, + 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => ['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004'] }, 'type' => 'CodeableConcept', 'path' => 'Appointment.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-practice-codes' } }, + 'reason' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Appointment.reason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-reason' } }, + 'priority' => { 'type' => 'unsignedInt', 'path' => 'Appointment.priority', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Appointment.description', 'min' => 0, 'max' => 1 }, + 'start' => { 'type' => 'instant', 'path' => 'Appointment.start', 'min' => 0, 'max' => 1 }, + 'end' => { 'type' => 'instant', 'path' => 'Appointment.end', 'min' => 0, 'max' => 1 }, + 'minutesDuration' => { 'type' => 'positiveInt', 'path' => 'Appointment.minutesDuration', 'min' => 0, 'max' => 1 }, + 'slot' => { 'type' => 'Reference', 'path' => 'Appointment.slot', 'min' => 0, 'max' => Float::INFINITY }, + 'comment' => { 'type' => 'string', 'path' => 'Appointment.comment', 'min' => 0, 'max' => 1 }, + 'participant' => { 'type' => 'Appointment::Participant', 'path' => 'Appointment.participant', 'min' => 1, 'max' => Float::INFINITY } } class Participant < FHIR::DSTU2::Model @@ -35,13 +35,13 @@ class Participant < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Participant.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Participant.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Participant.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/participant-type'=>['translator', 'emergency'], 'http://hl7.org/fhir/v3/ParticipationType'=>['PART', 'ADM', 'ATND', 'CALLBCK', 'CON', 'DIS', 'ESC', 'REF', '_ParticipationInformationGenerator', 'AUT', 'INF', 'TRANS', 'ENT', 'WIT', 'CST', 'DIR', 'ALY', 'BBY', 'CAT', 'CSM', 'TPA', 'DEV', 'NRD', 'RDV', 'DON', 'EXPAGNT', 'EXPART', 'EXPTRGT', 'EXSRC', 'PRD', 'SBJ', 'SPC', 'IND', 'BEN', 'CAGNT', 'COV', 'GUAR', 'HLD', 'RCT', 'RCV', 'IRCP', 'NOT', 'PRCP', 'REFB', 'REFT', 'TRC', 'LOC', 'DST', 'ELOC', 'ORG', 'RML', 'VIA', 'PRF', 'DIST', 'PPRF', 'SPRF', 'RESP', 'VRF', 'AUTHEN', 'LA']}, 'type'=>'CodeableConcept', 'path'=>'Participant.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-participant-type'}}, - 'actor' => {'type'=>'Reference', 'path'=>'Participant.actor', 'min'=>0, 'max'=>1}, - 'required' => {'valid_codes'=>{'http://hl7.org/fhir/participantrequired'=>['required', 'optional', 'information-only']}, 'type'=>'code', 'path'=>'Participant.required', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/participantrequired'}}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/participationstatus'=>['accepted', 'declined', 'tentative', 'needs-action']}, 'type'=>'code', 'path'=>'Participant.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/participationstatus'}} + 'id' => { 'type' => 'id', 'path' => 'Participant.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Participant.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Participant.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/participant-type' => ['translator', 'emergency'], 'http://hl7.org/fhir/v3/ParticipationType' => ['PART', 'ADM', 'ATND', 'CALLBCK', 'CON', 'DIS', 'ESC', 'REF', '_ParticipationInformationGenerator', 'AUT', 'INF', 'TRANS', 'ENT', 'WIT', 'CST', 'DIR', 'ALY', 'BBY', 'CAT', 'CSM', 'TPA', 'DEV', 'NRD', 'RDV', 'DON', 'EXPAGNT', 'EXPART', 'EXPTRGT', 'EXSRC', 'PRD', 'SBJ', 'SPC', 'IND', 'BEN', 'CAGNT', 'COV', 'GUAR', 'HLD', 'RCT', 'RCV', 'IRCP', 'NOT', 'PRCP', 'REFB', 'REFT', 'TRC', 'LOC', 'DST', 'ELOC', 'ORG', 'RML', 'VIA', 'PRF', 'DIST', 'PPRF', 'SPRF', 'RESP', 'VRF', 'AUTHEN', 'LA'] }, 'type' => 'CodeableConcept', 'path' => 'Participant.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-participant-type' } }, + 'actor' => { 'type' => 'Reference', 'path' => 'Participant.actor', 'min' => 0, 'max' => 1 }, + 'required' => { 'valid_codes' => { 'http://hl7.org/fhir/participantrequired' => ['required', 'optional', 'information-only'] }, 'type' => 'code', 'path' => 'Participant.required', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/participantrequired' } }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/participationstatus' => ['accepted', 'declined', 'tentative', 'needs-action'] }, 'type' => 'code', 'path' => 'Participant.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/participationstatus' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb b/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb index 1fa7ab37..2efe4f97 100644 --- a/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb @@ -7,22 +7,22 @@ class AppointmentResponse < FHIR::DSTU2::Model SEARCH_PARAMS = ['actor', 'appointment', 'identifier', 'location', 'part-status', 'patient', 'practitioner'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'AppointmentResponse.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'AppointmentResponse.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'AppointmentResponse.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'AppointmentResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'AppointmentResponse.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'AppointmentResponse.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'AppointmentResponse.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'AppointmentResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'AppointmentResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'appointment' => {'type'=>'Reference', 'path'=>'AppointmentResponse.appointment', 'min'=>1, 'max'=>1}, - 'start' => {'type'=>'instant', 'path'=>'AppointmentResponse.start', 'min'=>0, 'max'=>1}, - 'end' => {'type'=>'instant', 'path'=>'AppointmentResponse.end', 'min'=>0, 'max'=>1}, - 'participantType' => {'valid_codes'=>{'http://hl7.org/fhir/participant-type'=>['translator', 'emergency'], 'http://hl7.org/fhir/v3/ParticipationType'=>['PART', 'ADM', 'ATND', 'CALLBCK', 'CON', 'DIS', 'ESC', 'REF', '_ParticipationInformationGenerator', 'AUT', 'INF', 'TRANS', 'ENT', 'WIT', 'CST', 'DIR', 'ALY', 'BBY', 'CAT', 'CSM', 'TPA', 'DEV', 'NRD', 'RDV', 'DON', 'EXPAGNT', 'EXPART', 'EXPTRGT', 'EXSRC', 'PRD', 'SBJ', 'SPC', 'IND', 'BEN', 'CAGNT', 'COV', 'GUAR', 'HLD', 'RCT', 'RCV', 'IRCP', 'NOT', 'PRCP', 'REFB', 'REFT', 'TRC', 'LOC', 'DST', 'ELOC', 'ORG', 'RML', 'VIA', 'PRF', 'DIST', 'PPRF', 'SPRF', 'RESP', 'VRF', 'AUTHEN', 'LA']}, 'type'=>'CodeableConcept', 'path'=>'AppointmentResponse.participantType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-participant-type'}}, - 'actor' => {'type'=>'Reference', 'path'=>'AppointmentResponse.actor', 'min'=>0, 'max'=>1}, - 'participantStatus' => {'valid_codes'=>{'http://hl7.org/fhir/participantstatus'=>['accepted', 'declined', 'tentative', 'in-process', 'completed', 'needs-action']}, 'type'=>'code', 'path'=>'AppointmentResponse.participantStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/participantstatus'}}, - 'comment' => {'type'=>'string', 'path'=>'AppointmentResponse.comment', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'AppointmentResponse.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'AppointmentResponse.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'AppointmentResponse.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'AppointmentResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'AppointmentResponse.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'AppointmentResponse.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'AppointmentResponse.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'AppointmentResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'AppointmentResponse.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'appointment' => { 'type' => 'Reference', 'path' => 'AppointmentResponse.appointment', 'min' => 1, 'max' => 1 }, + 'start' => { 'type' => 'instant', 'path' => 'AppointmentResponse.start', 'min' => 0, 'max' => 1 }, + 'end' => { 'type' => 'instant', 'path' => 'AppointmentResponse.end', 'min' => 0, 'max' => 1 }, + 'participantType' => { 'valid_codes' => { 'http://hl7.org/fhir/participant-type' => ['translator', 'emergency'], 'http://hl7.org/fhir/v3/ParticipationType' => ['PART', 'ADM', 'ATND', 'CALLBCK', 'CON', 'DIS', 'ESC', 'REF', '_ParticipationInformationGenerator', 'AUT', 'INF', 'TRANS', 'ENT', 'WIT', 'CST', 'DIR', 'ALY', 'BBY', 'CAT', 'CSM', 'TPA', 'DEV', 'NRD', 'RDV', 'DON', 'EXPAGNT', 'EXPART', 'EXPTRGT', 'EXSRC', 'PRD', 'SBJ', 'SPC', 'IND', 'BEN', 'CAGNT', 'COV', 'GUAR', 'HLD', 'RCT', 'RCV', 'IRCP', 'NOT', 'PRCP', 'REFB', 'REFT', 'TRC', 'LOC', 'DST', 'ELOC', 'ORG', 'RML', 'VIA', 'PRF', 'DIST', 'PPRF', 'SPRF', 'RESP', 'VRF', 'AUTHEN', 'LA'] }, 'type' => 'CodeableConcept', 'path' => 'AppointmentResponse.participantType', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-participant-type' } }, + 'actor' => { 'type' => 'Reference', 'path' => 'AppointmentResponse.actor', 'min' => 0, 'max' => 1 }, + 'participantStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/participantstatus' => ['accepted', 'declined', 'tentative', 'in-process', 'completed', 'needs-action'] }, 'type' => 'code', 'path' => 'AppointmentResponse.participantStatus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/participantstatus' } }, + 'comment' => { 'type' => 'string', 'path' => 'AppointmentResponse.comment', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb b/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb index ea9a6114..649564b0 100644 --- a/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb +++ b/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb @@ -7,18 +7,18 @@ class AuditEvent < FHIR::DSTU2::Model SEARCH_PARAMS = ['action', 'address', 'altid', 'date', 'desc', 'identity', 'name', 'object-type', 'participant', 'patient', 'policy', 'reference', 'site', 'source', 'subtype', 'type', 'user'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'AuditEvent.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'AuditEvent.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'AuditEvent.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'AuditEvent.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'AuditEvent.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'AuditEvent.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'AuditEvent.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'AuditEvent.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'event' => {'type'=>'AuditEvent::Event', 'path'=>'AuditEvent.event', 'min'=>1, 'max'=>1}, - 'participant' => {'type'=>'AuditEvent::Participant', 'path'=>'AuditEvent.participant', 'min'=>1, 'max'=>Float::INFINITY}, - 'source' => {'type'=>'AuditEvent::Source', 'path'=>'AuditEvent.source', 'min'=>1, 'max'=>1}, - 'object' => {'type'=>'AuditEvent::Object', 'path'=>'AuditEvent.object', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'AuditEvent.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'AuditEvent.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'AuditEvent.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'AuditEvent.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'AuditEvent.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'AuditEvent.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'AuditEvent.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'AuditEvent.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'event' => { 'type' => 'AuditEvent::Event', 'path' => 'AuditEvent.event', 'min' => 1, 'max' => 1 }, + 'participant' => { 'type' => 'AuditEvent::Participant', 'path' => 'AuditEvent.participant', 'min' => 1, 'max' => Float::INFINITY }, + 'source' => { 'type' => 'AuditEvent::Source', 'path' => 'AuditEvent.source', 'min' => 1, 'max' => 1 }, + 'object' => { 'type' => 'AuditEvent::Object', 'path' => 'AuditEvent.object', 'min' => 0, 'max' => Float::INFINITY } } class Event < FHIR::DSTU2::Model @@ -27,16 +27,16 @@ class Event < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Event.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Event.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Event.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/audit-event-type'=>['rest'], 'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811']}, 'type'=>'Coding', 'path'=>'Event.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/audit-event-type'}}, - 'subtype' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'], 'http://hl7.org/fhir/restful-interaction'=>['read', 'vread', 'update', 'delete', 'history', 'history-instance', 'history-type', 'history-system', 'create', 'search', 'search-type', 'search-system', 'validate', 'conformance', 'transaction', 'operation']}, 'type'=>'Coding', 'path'=>'Event.subtype', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/audit-event-sub-type'}}, - 'action' => {'valid_codes'=>{'http://hl7.org/fhir/audit-event-action'=>['C', 'R', 'U', 'D', 'E']}, 'type'=>'code', 'path'=>'Event.action', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/audit-event-action'}}, - 'dateTime' => {'type'=>'instant', 'path'=>'Event.dateTime', 'min'=>1, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/audit-event-outcome'=>['0', '4', '8', '12']}, 'type'=>'code', 'path'=>'Event.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/audit-event-outcome'}}, - 'outcomeDesc' => {'type'=>'string', 'path'=>'Event.outcomeDesc', 'min'=>0, 'max'=>1}, - 'purposeOfEvent' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'Coding', 'path'=>'Event.purposeOfEvent', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse'}} + 'id' => { 'type' => 'id', 'path' => 'Event.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Event.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Event.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/audit-event-type' => ['rest'], 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'] }, 'type' => 'Coding', 'path' => 'Event.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/audit-event-type' } }, + 'subtype' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'], 'http://hl7.org/fhir/restful-interaction' => ['read', 'vread', 'update', 'delete', 'history', 'history-instance', 'history-type', 'history-system', 'create', 'search', 'search-type', 'search-system', 'validate', 'conformance', 'transaction', 'operation'] }, 'type' => 'Coding', 'path' => 'Event.subtype', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/audit-event-sub-type' } }, + 'action' => { 'valid_codes' => { 'http://hl7.org/fhir/audit-event-action' => ['C', 'R', 'U', 'D', 'E'] }, 'type' => 'code', 'path' => 'Event.action', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/audit-event-action' } }, + 'dateTime' => { 'type' => 'instant', 'path' => 'Event.dateTime', 'min' => 1, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/audit-event-outcome' => ['0', '4', '8', '12'] }, 'type' => 'code', 'path' => 'Event.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/audit-event-outcome' } }, + 'outcomeDesc' => { 'type' => 'string', 'path' => 'Event.outcomeDesc', 'min' => 0, 'max' => 1 }, + 'purposeOfEvent' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'] }, 'type' => 'Coding', 'path' => 'Event.purposeOfEvent', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse' } } } attr_accessor :id # 0-1 id @@ -57,20 +57,20 @@ class Participant < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Participant.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Participant.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Participant.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'role' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811']}, 'type'=>'CodeableConcept', 'path'=>'Participant.role', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/dicm-402-roleid'}}, - 'reference' => {'type'=>'Reference', 'path'=>'Participant.reference', 'min'=>0, 'max'=>1}, - 'userId' => {'type'=>'Identifier', 'path'=>'Participant.userId', 'min'=>0, 'max'=>1}, - 'altId' => {'type'=>'string', 'path'=>'Participant.altId', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'Participant.name', 'min'=>0, 'max'=>1}, - 'requestor' => {'type'=>'boolean', 'path'=>'Participant.requestor', 'min'=>1, 'max'=>1}, - 'location' => {'type'=>'Reference', 'path'=>'Participant.location', 'min'=>0, 'max'=>1}, - 'policy' => {'type'=>'uri', 'path'=>'Participant.policy', 'min'=>0, 'max'=>Float::INFINITY}, - 'media' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811']}, 'type'=>'Coding', 'path'=>'Participant.media', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/dicm-405-mediatype'}}, - 'network' => {'type'=>'AuditEvent::Participant::Network', 'path'=>'Participant.network', 'min'=>0, 'max'=>1}, - 'purposeOfUse' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'Coding', 'path'=>'Participant.purposeOfUse', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse'}} + 'id' => { 'type' => 'id', 'path' => 'Participant.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Participant.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Participant.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'role' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'] }, 'type' => 'CodeableConcept', 'path' => 'Participant.role', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/dicm-402-roleid' } }, + 'reference' => { 'type' => 'Reference', 'path' => 'Participant.reference', 'min' => 0, 'max' => 1 }, + 'userId' => { 'type' => 'Identifier', 'path' => 'Participant.userId', 'min' => 0, 'max' => 1 }, + 'altId' => { 'type' => 'string', 'path' => 'Participant.altId', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'Participant.name', 'min' => 0, 'max' => 1 }, + 'requestor' => { 'type' => 'boolean', 'path' => 'Participant.requestor', 'min' => 1, 'max' => 1 }, + 'location' => { 'type' => 'Reference', 'path' => 'Participant.location', 'min' => 0, 'max' => 1 }, + 'policy' => { 'type' => 'uri', 'path' => 'Participant.policy', 'min' => 0, 'max' => Float::INFINITY }, + 'media' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'] }, 'type' => 'Coding', 'path' => 'Participant.media', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/dicm-405-mediatype' } }, + 'network' => { 'type' => 'AuditEvent::Participant::Network', 'path' => 'Participant.network', 'min' => 0, 'max' => 1 }, + 'purposeOfUse' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'] }, 'type' => 'Coding', 'path' => 'Participant.purposeOfUse', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse' } } } class Network < FHIR::DSTU2::Model @@ -79,11 +79,11 @@ class Network < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Network.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Network.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Network.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'address' => {'type'=>'string', 'path'=>'Network.address', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/network-type'=>['1', '2', '3', '4', '5']}, 'type'=>'code', 'path'=>'Network.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/network-type'}} + 'id' => { 'type' => 'id', 'path' => 'Network.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Network.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Network.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'address' => { 'type' => 'string', 'path' => 'Network.address', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/network-type' => ['1', '2', '3', '4', '5'] }, 'type' => 'code', 'path' => 'Network.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/network-type' } } } attr_accessor :id # 0-1 id @@ -115,12 +115,12 @@ class Source < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Source.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Source.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Source.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'site' => {'type'=>'string', 'path'=>'Source.site', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Source.identifier', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/security-source-type'=>['1', '2', '3', '4', '5', '6', '7', '8', '9']}, 'type'=>'Coding', 'path'=>'Source.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/audit-source-type'}} + 'id' => { 'type' => 'id', 'path' => 'Source.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Source.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Source.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'site' => { 'type' => 'string', 'path' => 'Source.site', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Source.identifier', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/security-source-type' => ['1', '2', '3', '4', '5', '6', '7', '8', '9'] }, 'type' => 'Coding', 'path' => 'Source.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/audit-source-type' } } } attr_accessor :id # 0-1 id @@ -137,19 +137,19 @@ class Object < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Object.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Object.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Object.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Object.identifier', 'min'=>0, 'max'=>1}, - 'reference' => {'type'=>'Reference', 'path'=>'Object.reference', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/object-type'=>['1', '2', '3', '4']}, 'type'=>'Coding', 'path'=>'Object.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/object-type'}}, - 'role' => {'valid_codes'=>{'http://hl7.org/fhir/object-role'=>['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24']}, 'type'=>'Coding', 'path'=>'Object.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/object-role'}}, - 'lifecycle' => {'valid_codes'=>{'http://hl7.org/fhir/object-lifecycle'=>['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15']}, 'type'=>'Coding', 'path'=>'Object.lifecycle', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/object-lifecycle'}}, - 'securityLabel' => {'valid_codes'=>{'http://hl7.org/fhir/v3/Confidentiality'=>['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue'=>['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw'=>['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332']}, 'type'=>'Coding', 'path'=>'Object.securityLabel', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/security-labels'}}, - 'name' => {'type'=>'string', 'path'=>'Object.name', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Object.description', 'min'=>0, 'max'=>1}, - 'query' => {'type'=>'base64Binary', 'path'=>'Object.query', 'min'=>0, 'max'=>1}, - 'detail' => {'type'=>'AuditEvent::Object::Detail', 'path'=>'Object.detail', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Object.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Object.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Object.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Object.identifier', 'min' => 0, 'max' => 1 }, + 'reference' => { 'type' => 'Reference', 'path' => 'Object.reference', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/object-type' => ['1', '2', '3', '4'] }, 'type' => 'Coding', 'path' => 'Object.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/object-type' } }, + 'role' => { 'valid_codes' => { 'http://hl7.org/fhir/object-role' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24'] }, 'type' => 'Coding', 'path' => 'Object.role', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/object-role' } }, + 'lifecycle' => { 'valid_codes' => { 'http://hl7.org/fhir/object-lifecycle' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15'] }, 'type' => 'Coding', 'path' => 'Object.lifecycle', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/object-lifecycle' } }, + 'securityLabel' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/Confidentiality' => ['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue' => ['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw' => ['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332'] }, 'type' => 'Coding', 'path' => 'Object.securityLabel', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/security-labels' } }, + 'name' => { 'type' => 'string', 'path' => 'Object.name', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Object.description', 'min' => 0, 'max' => 1 }, + 'query' => { 'type' => 'base64Binary', 'path' => 'Object.query', 'min' => 0, 'max' => 1 }, + 'detail' => { 'type' => 'AuditEvent::Object::Detail', 'path' => 'Object.detail', 'min' => 0, 'max' => Float::INFINITY } } class Detail < FHIR::DSTU2::Model @@ -158,11 +158,11 @@ class Detail < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'type'=>'string', 'path'=>'Detail.type', 'min'=>1, 'max'=>1}, - 'value' => {'type'=>'base64Binary', 'path'=>'Detail.value', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Detail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Detail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Detail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'type' => 'string', 'path' => 'Detail.type', 'min' => 1, 'max' => 1 }, + 'value' => { 'type' => 'base64Binary', 'path' => 'Detail.value', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Basic.rb b/lib/fhir_dstu2_models/fhir/resources/Basic.rb index ac55926d..e6fcddb4 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Basic.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Basic.rb @@ -7,19 +7,19 @@ class Basic < FHIR::DSTU2::Model SEARCH_PARAMS = ['author', 'code', 'created', 'identifier', 'patient', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Basic.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Basic.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Basic.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Basic.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Basic.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Basic.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Basic.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Basic.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Basic.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/basic-resource-type'=>['consent', 'referral', 'advevent', 'aptmtreq', 'transfer', 'diet', 'adminact', 'exposure', 'investigation', 'account', 'invoice', 'adjudicat', 'predetreq', 'predetermine', 'study', 'protocol']}, 'type'=>'CodeableConcept', 'path'=>'Basic.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/basic-resource-type'}}, - 'subject' => {'type'=>'Reference', 'path'=>'Basic.subject', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'Basic.author', 'min'=>0, 'max'=>1}, - 'created' => {'type'=>'date', 'path'=>'Basic.created', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Basic.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Basic.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Basic.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Basic.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Basic.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Basic.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Basic.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Basic.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Basic.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/basic-resource-type' => ['consent', 'referral', 'advevent', 'aptmtreq', 'transfer', 'diet', 'adminact', 'exposure', 'investigation', 'account', 'invoice', 'adjudicat', 'predetreq', 'predetermine', 'study', 'protocol'] }, 'type' => 'CodeableConcept', 'path' => 'Basic.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/basic-resource-type' } }, + 'subject' => { 'type' => 'Reference', 'path' => 'Basic.subject', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'Basic.author', 'min' => 0, 'max' => 1 }, + 'created' => { 'type' => 'date', 'path' => 'Basic.created', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Binary.rb b/lib/fhir_dstu2_models/fhir/resources/Binary.rb index 50d9e3bc..94a82e0a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Binary.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Binary.rb @@ -7,12 +7,12 @@ class Binary < FHIR::DSTU2::Model SEARCH_PARAMS = ['contenttype'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Binary.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Binary.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Binary.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Binary.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'contentType' => {'type'=>'code', 'path'=>'Binary.contentType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'content' => {'type'=>'base64Binary', 'path'=>'Binary.content', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Binary.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Binary.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Binary.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Binary.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'contentType' => { 'type' => 'code', 'path' => 'Binary.contentType', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, + 'content' => { 'type' => 'base64Binary', 'path' => 'Binary.content', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/BodySite.rb b/lib/fhir_dstu2_models/fhir/resources/BodySite.rb index 3ca53a7f..9c6fe87a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/BodySite.rb +++ b/lib/fhir_dstu2_models/fhir/resources/BodySite.rb @@ -7,20 +7,20 @@ class BodySite < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'identifier', 'patient'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'BodySite.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'BodySite.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'BodySite.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'BodySite.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'BodySite.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'BodySite.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'BodySite.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'BodySite.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'BodySite.patient', 'min'=>1, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'BodySite.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'BodySite.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}}, - 'modifier' => {'valid_codes'=>{'http://snomed.info/sct'=>['419161000', '419465000', '51440002', '261183002', '261122009', '255561001', '49370004', '264217000', '261089000', '255551008', '351726001', '352730000']}, 'type'=>'CodeableConcept', 'path'=>'BodySite.modifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/bodysite-relative-location'}}, - 'description' => {'type'=>'string', 'path'=>'BodySite.description', 'min'=>0, 'max'=>1}, - 'image' => {'type'=>'Attachment', 'path'=>'BodySite.image', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'BodySite.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'BodySite.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'BodySite.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'BodySite.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'BodySite.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'BodySite.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'BodySite.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'BodySite.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'BodySite.patient', 'min' => 1, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'BodySite.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'BodySite.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, + 'modifier' => { 'valid_codes' => { 'http://snomed.info/sct' => ['419161000', '419465000', '51440002', '261183002', '261122009', '255561001', '49370004', '264217000', '261089000', '255551008', '351726001', '352730000'] }, 'type' => 'CodeableConcept', 'path' => 'BodySite.modifier', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/bodysite-relative-location' } }, + 'description' => { 'type' => 'string', 'path' => 'BodySite.description', 'min' => 0, 'max' => 1 }, + 'image' => { 'type' => 'Attachment', 'path' => 'BodySite.image', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Bundle.rb b/lib/fhir_dstu2_models/fhir/resources/Bundle.rb index dbb5a997..dfb68782 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Bundle.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Bundle.rb @@ -7,15 +7,15 @@ class Bundle < FHIR::DSTU2::Model SEARCH_PARAMS = ['composition', 'message', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Bundle.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Bundle.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Bundle.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Bundle.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/bundle-type'=>['document', 'message', 'transaction', 'transaction-response', 'batch', 'batch-response', 'history', 'searchset', 'collection']}, 'type'=>'code', 'path'=>'Bundle.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/bundle-type'}}, - 'total' => {'type'=>'unsignedInt', 'path'=>'Bundle.total', 'min'=>0, 'max'=>1}, - 'link' => {'type'=>'Bundle::Link', 'path'=>'Bundle.link', 'min'=>0, 'max'=>Float::INFINITY}, - 'entry' => {'type'=>'Bundle::Entry', 'path'=>'Bundle.entry', 'min'=>0, 'max'=>Float::INFINITY}, - 'signature' => {'type'=>'Signature', 'path'=>'Bundle.signature', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Bundle.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Bundle.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Bundle.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Bundle.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/bundle-type' => ['document', 'message', 'transaction', 'transaction-response', 'batch', 'batch-response', 'history', 'searchset', 'collection'] }, 'type' => 'code', 'path' => 'Bundle.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/bundle-type' } }, + 'total' => { 'type' => 'unsignedInt', 'path' => 'Bundle.total', 'min' => 0, 'max' => 1 }, + 'link' => { 'type' => 'Bundle::Link', 'path' => 'Bundle.link', 'min' => 0, 'max' => Float::INFINITY }, + 'entry' => { 'type' => 'Bundle::Entry', 'path' => 'Bundle.entry', 'min' => 0, 'max' => Float::INFINITY }, + 'signature' => { 'type' => 'Signature', 'path' => 'Bundle.signature', 'min' => 0, 'max' => 1 } } class Link < FHIR::DSTU2::Model @@ -24,11 +24,11 @@ class Link < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Link.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Link.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Link.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'relation' => {'type'=>'string', 'path'=>'Link.relation', 'min'=>1, 'max'=>1}, - 'url' => {'type'=>'uri', 'path'=>'Link.url', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Link.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Link.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Link.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'relation' => { 'type' => 'string', 'path' => 'Link.relation', 'min' => 1, 'max' => 1 }, + 'url' => { 'type' => 'uri', 'path' => 'Link.url', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -44,15 +44,15 @@ class Entry < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Entry.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Entry.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Entry.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'link' => {'type'=>'Bundle::Link', 'path'=>'Entry.link', 'min'=>0, 'max'=>Float::INFINITY}, - 'fullUrl' => {'type'=>'uri', 'path'=>'Entry.fullUrl', 'min'=>0, 'max'=>1}, - 'resource' => {'type'=>'Resource', 'path'=>'Entry.resource', 'min'=>0, 'max'=>1}, - 'search' => {'type'=>'Bundle::Entry::Search', 'path'=>'Entry.search', 'min'=>0, 'max'=>1}, - 'request' => {'type'=>'Bundle::Entry::Request', 'path'=>'Entry.request', 'min'=>0, 'max'=>1}, - 'response' => {'type'=>'Bundle::Entry::Response', 'path'=>'Entry.response', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Entry.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Entry.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Entry.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'link' => { 'type' => 'Bundle::Link', 'path' => 'Entry.link', 'min' => 0, 'max' => Float::INFINITY }, + 'fullUrl' => { 'type' => 'uri', 'path' => 'Entry.fullUrl', 'min' => 0, 'max' => 1 }, + 'resource' => { 'type' => 'Resource', 'path' => 'Entry.resource', 'min' => 0, 'max' => 1 }, + 'search' => { 'type' => 'Bundle::Entry::Search', 'path' => 'Entry.search', 'min' => 0, 'max' => 1 }, + 'request' => { 'type' => 'Bundle::Entry::Request', 'path' => 'Entry.request', 'min' => 0, 'max' => 1 }, + 'response' => { 'type' => 'Bundle::Entry::Response', 'path' => 'Entry.response', 'min' => 0, 'max' => 1 } } class Search < FHIR::DSTU2::Model @@ -61,11 +61,11 @@ class Search < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Search.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Search.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Search.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/search-entry-mode'=>['match', 'include', 'outcome']}, 'type'=>'code', 'path'=>'Search.mode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/search-entry-mode'}}, - 'score' => {'type'=>'decimal', 'path'=>'Search.score', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Search.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Search.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Search.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/search-entry-mode' => ['match', 'include', 'outcome'] }, 'type' => 'code', 'path' => 'Search.mode', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/search-entry-mode' } }, + 'score' => { 'type' => 'decimal', 'path' => 'Search.score', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -81,15 +81,15 @@ class Request < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Request.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Request.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Request.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'method' => {'local_name'=>'local_method', 'valid_codes'=>{'http://hl7.org/fhir/http-verb'=>['GET', 'POST', 'PUT', 'DELETE']}, 'type'=>'code', 'path'=>'Request.method', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/http-verb'}}, - 'url' => {'type'=>'uri', 'path'=>'Request.url', 'min'=>1, 'max'=>1}, - 'ifNoneMatch' => {'type'=>'string', 'path'=>'Request.ifNoneMatch', 'min'=>0, 'max'=>1}, - 'ifModifiedSince' => {'type'=>'instant', 'path'=>'Request.ifModifiedSince', 'min'=>0, 'max'=>1}, - 'ifMatch' => {'type'=>'string', 'path'=>'Request.ifMatch', 'min'=>0, 'max'=>1}, - 'ifNoneExist' => {'type'=>'string', 'path'=>'Request.ifNoneExist', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Request.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Request.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Request.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'method' => { 'local_name' => 'local_method', 'valid_codes' => { 'http://hl7.org/fhir/http-verb' => ['GET', 'POST', 'PUT', 'DELETE'] }, 'type' => 'code', 'path' => 'Request.method', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/http-verb' } }, + 'url' => { 'type' => 'uri', 'path' => 'Request.url', 'min' => 1, 'max' => 1 }, + 'ifNoneMatch' => { 'type' => 'string', 'path' => 'Request.ifNoneMatch', 'min' => 0, 'max' => 1 }, + 'ifModifiedSince' => { 'type' => 'instant', 'path' => 'Request.ifModifiedSince', 'min' => 0, 'max' => 1 }, + 'ifMatch' => { 'type' => 'string', 'path' => 'Request.ifMatch', 'min' => 0, 'max' => 1 }, + 'ifNoneExist' => { 'type' => 'string', 'path' => 'Request.ifNoneExist', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -109,13 +109,13 @@ class Response < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Response.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Response.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Response.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'type'=>'string', 'path'=>'Response.status', 'min'=>1, 'max'=>1}, - 'location' => {'type'=>'uri', 'path'=>'Response.location', 'min'=>0, 'max'=>1}, - 'etag' => {'type'=>'string', 'path'=>'Response.etag', 'min'=>0, 'max'=>1}, - 'lastModified' => {'type'=>'instant', 'path'=>'Response.lastModified', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Response.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Response.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Response.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'type' => 'string', 'path' => 'Response.status', 'min' => 1, 'max' => 1 }, + 'location' => { 'type' => 'uri', 'path' => 'Response.location', 'min' => 0, 'max' => 1 }, + 'etag' => { 'type' => 'string', 'path' => 'Response.etag', 'min' => 0, 'max' => 1 }, + 'lastModified' => { 'type' => 'instant', 'path' => 'Response.lastModified', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb b/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb index 514dd1b6..67d1c92c 100644 --- a/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb +++ b/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb @@ -7,30 +7,30 @@ class CarePlan < FHIR::DSTU2::Model SEARCH_PARAMS = ['activitycode', 'activitydate', 'activityreference', 'condition', 'date', 'goal', 'participant', 'patient', 'performer', 'relatedcode', 'relatedplan', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'CarePlan.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'CarePlan.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'CarePlan.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'CarePlan.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'CarePlan.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'CarePlan.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'CarePlan.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'CarePlan.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'CarePlan.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'CarePlan.subject', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/care-plan-status'=>['proposed', 'draft', 'active', 'completed', 'cancelled']}, 'type'=>'code', 'path'=>'CarePlan.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-status'}}, - 'context' => {'type'=>'Reference', 'path'=>'CarePlan.context', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'CarePlan.period', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'CarePlan.author', 'min'=>0, 'max'=>Float::INFINITY}, - 'modified' => {'type'=>'dateTime', 'path'=>'CarePlan.modified', 'min'=>0, 'max'=>1}, - 'category' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'CarePlan.category', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-category'}}, - 'description' => {'type'=>'string', 'path'=>'CarePlan.description', 'min'=>0, 'max'=>1}, - 'addresses' => {'type'=>'Reference', 'path'=>'CarePlan.addresses', 'min'=>0, 'max'=>Float::INFINITY}, - 'support' => {'type'=>'Reference', 'path'=>'CarePlan.support', 'min'=>0, 'max'=>Float::INFINITY}, - 'relatedPlan' => {'type'=>'CarePlan::RelatedPlan', 'path'=>'CarePlan.relatedPlan', 'min'=>0, 'max'=>Float::INFINITY}, - 'participant' => {'type'=>'CarePlan::Participant', 'path'=>'CarePlan.participant', 'min'=>0, 'max'=>Float::INFINITY}, - 'goal' => {'type'=>'Reference', 'path'=>'CarePlan.goal', 'min'=>0, 'max'=>Float::INFINITY}, - 'activity' => {'type'=>'CarePlan::Activity', 'path'=>'CarePlan.activity', 'min'=>0, 'max'=>Float::INFINITY}, - 'note' => {'type'=>'Annotation', 'path'=>'CarePlan.note', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'CarePlan.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'CarePlan.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'CarePlan.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'CarePlan.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'CarePlan.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'CarePlan.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'CarePlan.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'CarePlan.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'CarePlan.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'CarePlan.subject', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/care-plan-status' => ['proposed', 'draft', 'active', 'completed', 'cancelled'] }, 'type' => 'code', 'path' => 'CarePlan.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-status' } }, + 'context' => { 'type' => 'Reference', 'path' => 'CarePlan.context', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'CarePlan.period', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'CarePlan.author', 'min' => 0, 'max' => Float::INFINITY }, + 'modified' => { 'type' => 'dateTime', 'path' => 'CarePlan.modified', 'min' => 0, 'max' => 1 }, + 'category' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'CarePlan.category', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-category' } }, + 'description' => { 'type' => 'string', 'path' => 'CarePlan.description', 'min' => 0, 'max' => 1 }, + 'addresses' => { 'type' => 'Reference', 'path' => 'CarePlan.addresses', 'min' => 0, 'max' => Float::INFINITY }, + 'support' => { 'type' => 'Reference', 'path' => 'CarePlan.support', 'min' => 0, 'max' => Float::INFINITY }, + 'relatedPlan' => { 'type' => 'CarePlan::RelatedPlan', 'path' => 'CarePlan.relatedPlan', 'min' => 0, 'max' => Float::INFINITY }, + 'participant' => { 'type' => 'CarePlan::Participant', 'path' => 'CarePlan.participant', 'min' => 0, 'max' => Float::INFINITY }, + 'goal' => { 'type' => 'Reference', 'path' => 'CarePlan.goal', 'min' => 0, 'max' => Float::INFINITY }, + 'activity' => { 'type' => 'CarePlan::Activity', 'path' => 'CarePlan.activity', 'min' => 0, 'max' => Float::INFINITY }, + 'note' => { 'type' => 'Annotation', 'path' => 'CarePlan.note', 'min' => 0, 'max' => 1 } } class RelatedPlan < FHIR::DSTU2::Model @@ -39,11 +39,11 @@ class RelatedPlan < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'RelatedPlan.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'RelatedPlan.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'RelatedPlan.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/care-plan-relationship'=>['includes', 'replaces', 'fulfills']}, 'type'=>'code', 'path'=>'RelatedPlan.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-relationship'}}, - 'plan' => {'type'=>'Reference', 'path'=>'RelatedPlan.plan', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'RelatedPlan.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'RelatedPlan.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RelatedPlan.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/care-plan-relationship' => ['includes', 'replaces', 'fulfills'] }, 'type' => 'code', 'path' => 'RelatedPlan.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-relationship' } }, + 'plan' => { 'type' => 'Reference', 'path' => 'RelatedPlan.plan', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -59,11 +59,11 @@ class Participant < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Participant.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Participant.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Participant.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'role' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Participant.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/participant-role'}}, - 'member' => {'type'=>'Reference', 'path'=>'Participant.member', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Participant.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Participant.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Participant.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'role' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Participant.role', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/participant-role' } }, + 'member' => { 'type' => 'Reference', 'path' => 'Participant.member', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -79,13 +79,13 @@ class Activity < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Activity.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Activity.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Activity.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'actionResulting' => {'type'=>'Reference', 'path'=>'Activity.actionResulting', 'min'=>0, 'max'=>Float::INFINITY}, - 'progress' => {'type'=>'Annotation', 'path'=>'Activity.progress', 'min'=>0, 'max'=>Float::INFINITY}, - 'reference' => {'type'=>'Reference', 'path'=>'Activity.reference', 'min'=>0, 'max'=>1}, - 'detail' => {'type'=>'CarePlan::Activity::Detail', 'path'=>'Activity.detail', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Activity.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Activity.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Activity.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'actionResulting' => { 'type' => 'Reference', 'path' => 'Activity.actionResulting', 'min' => 0, 'max' => Float::INFINITY }, + 'progress' => { 'type' => 'Annotation', 'path' => 'Activity.progress', 'min' => 0, 'max' => Float::INFINITY }, + 'reference' => { 'type' => 'Reference', 'path' => 'Activity.reference', 'min' => 0, 'max' => 1 }, + 'detail' => { 'type' => 'CarePlan::Activity::Detail', 'path' => 'Activity.detail', 'min' => 0, 'max' => 1 } } class Detail < FHIR::DSTU2::Model @@ -98,27 +98,27 @@ class Detail < FHIR::DSTU2::Model 'product' => ['CodeableConcept', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/care-plan-activity-category'=>['diet', 'drug', 'encounter', 'observation', 'procedure', 'supply', 'other']}, 'type'=>'CodeableConcept', 'path'=>'Detail.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-activity-category'}}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Detail.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-activity'}}, - 'reasonCode' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Detail.reasonCode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/activity-reason'}}, - 'reasonReference' => {'type'=>'Reference', 'path'=>'Detail.reasonReference', 'min'=>0, 'max'=>Float::INFINITY}, - 'goal' => {'type'=>'Reference', 'path'=>'Detail.goal', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/care-plan-activity-status'=>['not-started', 'scheduled', 'in-progress', 'on-hold', 'completed', 'cancelled']}, 'type'=>'code', 'path'=>'Detail.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-activity-status'}}, - 'statusReason' => {'valid_codes'=>{'http://hl7.org/fhir/goal-status-reason'=>['surgery', 'life-event', 'replaced', 'patient-request']}, 'type'=>'CodeableConcept', 'path'=>'Detail.statusReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/goal-status-reason'}}, - 'prohibited' => {'type'=>'boolean', 'path'=>'Detail.prohibited', 'min'=>1, 'max'=>1}, - 'scheduledTiming' => {'type'=>'Timing', 'path'=>'Detail.scheduled[x]', 'min'=>0, 'max'=>1}, - 'scheduledPeriod' => {'type'=>'Period', 'path'=>'Detail.scheduled[x]', 'min'=>0, 'max'=>1}, - 'scheduledString' => {'type'=>'string', 'path'=>'Detail.scheduled[x]', 'min'=>0, 'max'=>1}, - 'location' => {'type'=>'Reference', 'path'=>'Detail.location', 'min'=>0, 'max'=>1}, - 'performer' => {'type'=>'Reference', 'path'=>'Detail.performer', 'min'=>0, 'max'=>Float::INFINITY}, - 'productCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Detail.product[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-codes'}}, - 'productReference' => {'type'=>'Reference', 'path'=>'Detail.product[x]', 'min'=>0, 'max'=>1}, - 'dailyAmount' => {'type'=>'Quantity', 'path'=>'Detail.dailyAmount', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Detail.quantity', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Detail.description', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Detail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Detail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Detail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/care-plan-activity-category' => ['diet', 'drug', 'encounter', 'observation', 'procedure', 'supply', 'other'] }, 'type' => 'CodeableConcept', 'path' => 'Detail.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-activity-category' } }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Detail.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-activity' } }, + 'reasonCode' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Detail.reasonCode', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/activity-reason' } }, + 'reasonReference' => { 'type' => 'Reference', 'path' => 'Detail.reasonReference', 'min' => 0, 'max' => Float::INFINITY }, + 'goal' => { 'type' => 'Reference', 'path' => 'Detail.goal', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/care-plan-activity-status' => ['not-started', 'scheduled', 'in-progress', 'on-hold', 'completed', 'cancelled'] }, 'type' => 'code', 'path' => 'Detail.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-activity-status' } }, + 'statusReason' => { 'valid_codes' => { 'http://hl7.org/fhir/goal-status-reason' => ['surgery', 'life-event', 'replaced', 'patient-request'] }, 'type' => 'CodeableConcept', 'path' => 'Detail.statusReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/goal-status-reason' } }, + 'prohibited' => { 'type' => 'boolean', 'path' => 'Detail.prohibited', 'min' => 1, 'max' => 1 }, + 'scheduledTiming' => { 'type' => 'Timing', 'path' => 'Detail.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'scheduledPeriod' => { 'type' => 'Period', 'path' => 'Detail.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'scheduledString' => { 'type' => 'string', 'path' => 'Detail.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'location' => { 'type' => 'Reference', 'path' => 'Detail.location', 'min' => 0, 'max' => 1 }, + 'performer' => { 'type' => 'Reference', 'path' => 'Detail.performer', 'min' => 0, 'max' => Float::INFINITY }, + 'productCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Detail.product[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-codes' } }, + 'productReference' => { 'type' => 'Reference', 'path' => 'Detail.product[x]', 'min' => 0, 'max' => 1 }, + 'dailyAmount' => { 'type' => 'Quantity', 'path' => 'Detail.dailyAmount', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Detail.quantity', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Detail.description', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Claim.rb b/lib/fhir_dstu2_models/fhir/resources/Claim.rb index 34e96f2e..9f4b2f51 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Claim.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Claim.rb @@ -7,43 +7,43 @@ class Claim < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier', 'identifier', 'patient', 'priority', 'provider', 'use'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Claim.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Claim.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Claim.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Claim.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Claim.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Claim.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Claim.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Claim.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/claim-type-link'=>['institutional', 'oral', 'pharmacy', 'professional', 'vision']}, 'type'=>'code', 'path'=>'Claim.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-type-link'}}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Claim.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'Claim.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'Claim.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'Claim.created', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'Reference', 'path'=>'Claim.target', 'min'=>0, 'max'=>1}, - 'provider' => {'type'=>'Reference', 'path'=>'Claim.provider', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'Claim.organization', 'min'=>0, 'max'=>1}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/claim-use-link'=>['complete', 'proposed', 'exploratory', 'other']}, 'type'=>'code', 'path'=>'Claim.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-use-link'}}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/processpriority'=>['stat', 'normal', 'deferred']}, 'type'=>'Coding', 'path'=>'Claim.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/process-priority'}}, - 'fundsReserve' => {'valid_codes'=>{'http://hl7.org/fhir/fundsreserve'=>['patient', 'provider', 'none']}, 'type'=>'Coding', 'path'=>'Claim.fundsReserve', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/fundsreserve'}}, - 'enterer' => {'type'=>'Reference', 'path'=>'Claim.enterer', 'min'=>0, 'max'=>1}, - 'facility' => {'type'=>'Reference', 'path'=>'Claim.facility', 'min'=>0, 'max'=>1}, - 'prescription' => {'type'=>'Reference', 'path'=>'Claim.prescription', 'min'=>0, 'max'=>1}, - 'originalPrescription' => {'type'=>'Reference', 'path'=>'Claim.originalPrescription', 'min'=>0, 'max'=>1}, - 'payee' => {'type'=>'Claim::Payee', 'path'=>'Claim.payee', 'min'=>0, 'max'=>1}, - 'referral' => {'type'=>'Reference', 'path'=>'Claim.referral', 'min'=>0, 'max'=>1}, - 'diagnosis' => {'type'=>'Claim::Diagnosis', 'path'=>'Claim.diagnosis', 'min'=>0, 'max'=>Float::INFINITY}, - 'condition' => {'valid_codes'=>{'http://hl7.org/fhir/fm-conditions'=>['123987']}, 'type'=>'Coding', 'path'=>'Claim.condition', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/fm-conditions'}}, - 'patient' => {'type'=>'Reference', 'path'=>'Claim.patient', 'min'=>1, 'max'=>1}, - 'coverage' => {'type'=>'Claim::Coverage', 'path'=>'Claim.coverage', 'min'=>0, 'max'=>Float::INFINITY}, - 'exception' => {'valid_codes'=>{'http://hl7.org/fhir/exception'=>['student', 'disabled']}, 'type'=>'Coding', 'path'=>'Claim.exception', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-exception'}}, - 'school' => {'type'=>'string', 'path'=>'Claim.school', 'min'=>0, 'max'=>1}, - 'accident' => {'type'=>'date', 'path'=>'Claim.accident', 'min'=>0, 'max'=>1}, - 'accidentType' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'Coding', 'path'=>'Claim.accidentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActIncidentCode'}}, - 'interventionException' => {'valid_codes'=>{'http://hl7.org/fhir/intervention'=>['unknown', 'other']}, 'type'=>'Coding', 'path'=>'Claim.interventionException', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/intervention'}}, - 'item' => {'type'=>'Claim::Item', 'path'=>'Claim.item', 'min'=>0, 'max'=>Float::INFINITY}, - 'additionalMaterials' => {'valid_codes'=>{'http://hl7.org/fhir/additionalmaterials'=>['xray', 'image', 'email', 'model', 'document', 'other']}, 'type'=>'Coding', 'path'=>'Claim.additionalMaterials', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/additionalmaterials'}}, - 'missingTeeth' => {'type'=>'Claim::MissingTeeth', 'path'=>'Claim.missingTeeth', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Claim.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Claim.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Claim.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Claim.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Claim.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Claim.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Claim.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Claim.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/claim-type-link' => ['institutional', 'oral', 'pharmacy', 'professional', 'vision'] }, 'type' => 'code', 'path' => 'Claim.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/claim-type-link' } }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Claim.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'Claim.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'Claim.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'Claim.created', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'Reference', 'path' => 'Claim.target', 'min' => 0, 'max' => 1 }, + 'provider' => { 'type' => 'Reference', 'path' => 'Claim.provider', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'Claim.organization', 'min' => 0, 'max' => 1 }, + 'use' => { 'valid_codes' => { 'http://hl7.org/fhir/claim-use-link' => ['complete', 'proposed', 'exploratory', 'other'] }, 'type' => 'code', 'path' => 'Claim.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/claim-use-link' } }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/processpriority' => ['stat', 'normal', 'deferred'] }, 'type' => 'Coding', 'path' => 'Claim.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/process-priority' } }, + 'fundsReserve' => { 'valid_codes' => { 'http://hl7.org/fhir/fundsreserve' => ['patient', 'provider', 'none'] }, 'type' => 'Coding', 'path' => 'Claim.fundsReserve', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/fundsreserve' } }, + 'enterer' => { 'type' => 'Reference', 'path' => 'Claim.enterer', 'min' => 0, 'max' => 1 }, + 'facility' => { 'type' => 'Reference', 'path' => 'Claim.facility', 'min' => 0, 'max' => 1 }, + 'prescription' => { 'type' => 'Reference', 'path' => 'Claim.prescription', 'min' => 0, 'max' => 1 }, + 'originalPrescription' => { 'type' => 'Reference', 'path' => 'Claim.originalPrescription', 'min' => 0, 'max' => 1 }, + 'payee' => { 'type' => 'Claim::Payee', 'path' => 'Claim.payee', 'min' => 0, 'max' => 1 }, + 'referral' => { 'type' => 'Reference', 'path' => 'Claim.referral', 'min' => 0, 'max' => 1 }, + 'diagnosis' => { 'type' => 'Claim::Diagnosis', 'path' => 'Claim.diagnosis', 'min' => 0, 'max' => Float::INFINITY }, + 'condition' => { 'valid_codes' => { 'http://hl7.org/fhir/fm-conditions' => ['123987'] }, 'type' => 'Coding', 'path' => 'Claim.condition', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/fm-conditions' } }, + 'patient' => { 'type' => 'Reference', 'path' => 'Claim.patient', 'min' => 1, 'max' => 1 }, + 'coverage' => { 'type' => 'Claim::Coverage', 'path' => 'Claim.coverage', 'min' => 0, 'max' => Float::INFINITY }, + 'exception' => { 'valid_codes' => { 'http://hl7.org/fhir/exception' => ['student', 'disabled'] }, 'type' => 'Coding', 'path' => 'Claim.exception', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/claim-exception' } }, + 'school' => { 'type' => 'string', 'path' => 'Claim.school', 'min' => 0, 'max' => 1 }, + 'accident' => { 'type' => 'date', 'path' => 'Claim.accident', 'min' => 0, 'max' => 1 }, + 'accidentType' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'Coding', 'path' => 'Claim.accidentType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActIncidentCode' } }, + 'interventionException' => { 'valid_codes' => { 'http://hl7.org/fhir/intervention' => ['unknown', 'other'] }, 'type' => 'Coding', 'path' => 'Claim.interventionException', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/intervention' } }, + 'item' => { 'type' => 'Claim::Item', 'path' => 'Claim.item', 'min' => 0, 'max' => Float::INFINITY }, + 'additionalMaterials' => { 'valid_codes' => { 'http://hl7.org/fhir/additionalmaterials' => ['xray', 'image', 'email', 'model', 'document', 'other'] }, 'type' => 'Coding', 'path' => 'Claim.additionalMaterials', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/additionalmaterials' } }, + 'missingTeeth' => { 'type' => 'Claim::MissingTeeth', 'path' => 'Claim.missingTeeth', 'min' => 0, 'max' => Float::INFINITY } } class Payee < FHIR::DSTU2::Model @@ -52,13 +52,13 @@ class Payee < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Payee.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Payee.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Payee.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/payeetype'=>['subscriber', 'provider', 'other']}, 'type'=>'Coding', 'path'=>'Payee.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payeetype'}}, - 'provider' => {'type'=>'Reference', 'path'=>'Payee.provider', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'Payee.organization', 'min'=>0, 'max'=>1}, - 'person' => {'type'=>'Reference', 'path'=>'Payee.person', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Payee.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Payee.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Payee.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/payeetype' => ['subscriber', 'provider', 'other'] }, 'type' => 'Coding', 'path' => 'Payee.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/payeetype' } }, + 'provider' => { 'type' => 'Reference', 'path' => 'Payee.provider', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'Payee.organization', 'min' => 0, 'max' => 1 }, + 'person' => { 'type' => 'Reference', 'path' => 'Payee.person', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -76,11 +76,11 @@ class Diagnosis < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Diagnosis.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Diagnosis.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Diagnosis.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequence' => {'type'=>'positiveInt', 'path'=>'Diagnosis.sequence', 'min'=>1, 'max'=>1}, - 'diagnosis' => {'valid_codes'=>{'http://hl7.org/fhir/sid/icd-10'=>['123456', '123457', '987654', '123987', '112233', '997755', '321789']}, 'type'=>'Coding', 'path'=>'Diagnosis.diagnosis', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/icd-10'}} + 'id' => { 'type' => 'id', 'path' => 'Diagnosis.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Diagnosis.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Diagnosis.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequence' => { 'type' => 'positiveInt', 'path' => 'Diagnosis.sequence', 'min' => 1, 'max' => 1 }, + 'diagnosis' => { 'valid_codes' => { 'http://hl7.org/fhir/sid/icd-10' => ['123456', '123457', '987654', '123987', '112233', '997755', '321789'] }, 'type' => 'Coding', 'path' => 'Diagnosis.diagnosis', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/icd-10' } } } attr_accessor :id # 0-1 id @@ -96,17 +96,17 @@ class Coverage < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Coverage.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Coverage.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Coverage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequence' => {'type'=>'positiveInt', 'path'=>'Coverage.sequence', 'min'=>1, 'max'=>1}, - 'focal' => {'type'=>'boolean', 'path'=>'Coverage.focal', 'min'=>1, 'max'=>1}, - 'coverage' => {'type'=>'Reference', 'path'=>'Coverage.coverage', 'min'=>1, 'max'=>1}, - 'businessArrangement' => {'type'=>'string', 'path'=>'Coverage.businessArrangement', 'min'=>0, 'max'=>1}, - 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/relationship'=>['1', '2', '3', '4', '5']}, 'type'=>'Coding', 'path'=>'Coverage.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/relationship'}}, - 'preAuthRef' => {'type'=>'string', 'path'=>'Coverage.preAuthRef', 'min'=>0, 'max'=>Float::INFINITY}, - 'claimResponse' => {'type'=>'Reference', 'path'=>'Coverage.claimResponse', 'min'=>0, 'max'=>1}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'Coverage.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}} + 'id' => { 'type' => 'id', 'path' => 'Coverage.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Coverage.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Coverage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequence' => { 'type' => 'positiveInt', 'path' => 'Coverage.sequence', 'min' => 1, 'max' => 1 }, + 'focal' => { 'type' => 'boolean', 'path' => 'Coverage.focal', 'min' => 1, 'max' => 1 }, + 'coverage' => { 'type' => 'Reference', 'path' => 'Coverage.coverage', 'min' => 1, 'max' => 1 }, + 'businessArrangement' => { 'type' => 'string', 'path' => 'Coverage.businessArrangement', 'min' => 0, 'max' => 1 }, + 'relationship' => { 'valid_codes' => { 'http://hl7.org/fhir/relationship' => ['1', '2', '3', '4', '5'] }, 'type' => 'Coding', 'path' => 'Coverage.relationship', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/relationship' } }, + 'preAuthRef' => { 'type' => 'string', 'path' => 'Coverage.preAuthRef', 'min' => 0, 'max' => Float::INFINITY }, + 'claimResponse' => { 'type' => 'Reference', 'path' => 'Coverage.claimResponse', 'min' => 0, 'max' => 1 }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'Coverage.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } } } attr_accessor :id # 0-1 id @@ -128,26 +128,26 @@ class Item < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Item.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Item.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Item.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequence' => {'type'=>'positiveInt', 'path'=>'Item.sequence', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'Coding', 'path'=>'Item.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode'}}, - 'provider' => {'type'=>'Reference', 'path'=>'Item.provider', 'min'=>0, 'max'=>1}, - 'diagnosisLinkId' => {'type'=>'positiveInt', 'path'=>'Item.diagnosisLinkId', 'min'=>0, 'max'=>Float::INFINITY}, - 'service' => {'valid_codes'=>{'http://hl7.org/fhir/ex-USCLS'=>['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555']}, 'type'=>'Coding', 'path'=>'Item.service', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-uscls'}}, - 'serviceDate' => {'type'=>'date', 'path'=>'Item.serviceDate', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Item.quantity', 'min'=>0, 'max'=>1}, - 'unitPrice' => {'type'=>'Quantity', 'path'=>'Item.unitPrice', 'min'=>0, 'max'=>1}, - 'factor' => {'type'=>'decimal', 'path'=>'Item.factor', 'min'=>0, 'max'=>1}, - 'points' => {'type'=>'decimal', 'path'=>'Item.points', 'min'=>0, 'max'=>1}, - 'net' => {'type'=>'Quantity', 'path'=>'Item.net', 'min'=>0, 'max'=>1}, - 'udi' => {'valid_codes'=>{'http://hl7.org/fhir/ex-udi'=>['{01}123456789']}, 'type'=>'Coding', 'path'=>'Item.udi', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/udi'}}, - 'bodySite' => {'valid_codes'=>{'http://hl7.org/fhir/ex-surface'=>['0', '1', '2', '3', '4', '5', '6', '7', '8', '11', '12', '13', '14', '15', '16', '17', '18', '21', '22', '23', '24', '25', '26', '27', '28', '31', '32', '33', '34', '35', '36', '37', '38', '41', '42', '43', '44', '45', '46', '47', '48']}, 'type'=>'Coding', 'path'=>'Item.bodySite', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/tooth'}}, - 'subSite' => {'valid_codes'=>{'http://hl7.org/fhir/FDI-surface'=>['M', 'O', 'I', 'D', 'B', 'V', 'L', 'MO', 'DO', 'DI', 'MOD']}, 'type'=>'Coding', 'path'=>'Item.subSite', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/surface'}}, - 'modifier' => {'valid_codes'=>{'http://hl7.org/fhir/modifiers'=>['A', 'B', 'C', 'E', 'X']}, 'type'=>'Coding', 'path'=>'Item.modifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-modifiers'}}, - 'detail' => {'type'=>'Claim::Item::Detail', 'path'=>'Item.detail', 'min'=>0, 'max'=>Float::INFINITY}, - 'prosthesis' => {'type'=>'Claim::Item::Prosthesis', 'path'=>'Item.prosthesis', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Item.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Item.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Item.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequence' => { 'type' => 'positiveInt', 'path' => 'Item.sequence', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'Coding', 'path' => 'Item.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode' } }, + 'provider' => { 'type' => 'Reference', 'path' => 'Item.provider', 'min' => 0, 'max' => 1 }, + 'diagnosisLinkId' => { 'type' => 'positiveInt', 'path' => 'Item.diagnosisLinkId', 'min' => 0, 'max' => Float::INFINITY }, + 'service' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-USCLS' => ['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555'] }, 'type' => 'Coding', 'path' => 'Item.service', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-uscls' } }, + 'serviceDate' => { 'type' => 'date', 'path' => 'Item.serviceDate', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Item.quantity', 'min' => 0, 'max' => 1 }, + 'unitPrice' => { 'type' => 'Quantity', 'path' => 'Item.unitPrice', 'min' => 0, 'max' => 1 }, + 'factor' => { 'type' => 'decimal', 'path' => 'Item.factor', 'min' => 0, 'max' => 1 }, + 'points' => { 'type' => 'decimal', 'path' => 'Item.points', 'min' => 0, 'max' => 1 }, + 'net' => { 'type' => 'Quantity', 'path' => 'Item.net', 'min' => 0, 'max' => 1 }, + 'udi' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-udi' => ['{01}123456789'] }, 'type' => 'Coding', 'path' => 'Item.udi', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/udi' } }, + 'bodySite' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-surface' => ['0', '1', '2', '3', '4', '5', '6', '7', '8', '11', '12', '13', '14', '15', '16', '17', '18', '21', '22', '23', '24', '25', '26', '27', '28', '31', '32', '33', '34', '35', '36', '37', '38', '41', '42', '43', '44', '45', '46', '47', '48'] }, 'type' => 'Coding', 'path' => 'Item.bodySite', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/tooth' } }, + 'subSite' => { 'valid_codes' => { 'http://hl7.org/fhir/FDI-surface' => ['M', 'O', 'I', 'D', 'B', 'V', 'L', 'MO', 'DO', 'DI', 'MOD'] }, 'type' => 'Coding', 'path' => 'Item.subSite', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/surface' } }, + 'modifier' => { 'valid_codes' => { 'http://hl7.org/fhir/modifiers' => ['A', 'B', 'C', 'E', 'X'] }, 'type' => 'Coding', 'path' => 'Item.modifier', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/claim-modifiers' } }, + 'detail' => { 'type' => 'Claim::Item::Detail', 'path' => 'Item.detail', 'min' => 0, 'max' => Float::INFINITY }, + 'prosthesis' => { 'type' => 'Claim::Item::Prosthesis', 'path' => 'Item.prosthesis', 'min' => 0, 'max' => 1 } } class Detail < FHIR::DSTU2::Model @@ -156,19 +156,19 @@ class Detail < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequence' => {'type'=>'positiveInt', 'path'=>'Detail.sequence', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'Coding', 'path'=>'Detail.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode'}}, - 'service' => {'valid_codes'=>{'http://hl7.org/fhir/ex-USCLS'=>['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555']}, 'type'=>'Coding', 'path'=>'Detail.service', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-uscls'}}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Detail.quantity', 'min'=>0, 'max'=>1}, - 'unitPrice' => {'type'=>'Quantity', 'path'=>'Detail.unitPrice', 'min'=>0, 'max'=>1}, - 'factor' => {'type'=>'decimal', 'path'=>'Detail.factor', 'min'=>0, 'max'=>1}, - 'points' => {'type'=>'decimal', 'path'=>'Detail.points', 'min'=>0, 'max'=>1}, - 'net' => {'type'=>'Quantity', 'path'=>'Detail.net', 'min'=>0, 'max'=>1}, - 'udi' => {'valid_codes'=>{'http://hl7.org/fhir/ex-udi'=>['{01}123456789']}, 'type'=>'Coding', 'path'=>'Detail.udi', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/udi'}}, - 'subDetail' => {'type'=>'Claim::Item::Detail::SubDetail', 'path'=>'Detail.subDetail', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Detail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Detail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Detail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequence' => { 'type' => 'positiveInt', 'path' => 'Detail.sequence', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'Coding', 'path' => 'Detail.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode' } }, + 'service' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-USCLS' => ['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555'] }, 'type' => 'Coding', 'path' => 'Detail.service', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-uscls' } }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Detail.quantity', 'min' => 0, 'max' => 1 }, + 'unitPrice' => { 'type' => 'Quantity', 'path' => 'Detail.unitPrice', 'min' => 0, 'max' => 1 }, + 'factor' => { 'type' => 'decimal', 'path' => 'Detail.factor', 'min' => 0, 'max' => 1 }, + 'points' => { 'type' => 'decimal', 'path' => 'Detail.points', 'min' => 0, 'max' => 1 }, + 'net' => { 'type' => 'Quantity', 'path' => 'Detail.net', 'min' => 0, 'max' => 1 }, + 'udi' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-udi' => ['{01}123456789'] }, 'type' => 'Coding', 'path' => 'Detail.udi', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/udi' } }, + 'subDetail' => { 'type' => 'Claim::Item::Detail::SubDetail', 'path' => 'Detail.subDetail', 'min' => 0, 'max' => Float::INFINITY } } class SubDetail < FHIR::DSTU2::Model @@ -177,18 +177,18 @@ class SubDetail < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'SubDetail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'SubDetail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'SubDetail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequence' => {'type'=>'positiveInt', 'path'=>'SubDetail.sequence', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'Coding', 'path'=>'SubDetail.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode'}}, - 'service' => {'valid_codes'=>{'http://hl7.org/fhir/ex-USCLS'=>['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555']}, 'type'=>'Coding', 'path'=>'SubDetail.service', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-uscls'}}, - 'quantity' => {'type'=>'Quantity', 'path'=>'SubDetail.quantity', 'min'=>0, 'max'=>1}, - 'unitPrice' => {'type'=>'Quantity', 'path'=>'SubDetail.unitPrice', 'min'=>0, 'max'=>1}, - 'factor' => {'type'=>'decimal', 'path'=>'SubDetail.factor', 'min'=>0, 'max'=>1}, - 'points' => {'type'=>'decimal', 'path'=>'SubDetail.points', 'min'=>0, 'max'=>1}, - 'net' => {'type'=>'Quantity', 'path'=>'SubDetail.net', 'min'=>0, 'max'=>1}, - 'udi' => {'valid_codes'=>{'http://hl7.org/fhir/ex-udi'=>['{01}123456789']}, 'type'=>'Coding', 'path'=>'SubDetail.udi', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/udi'}} + 'id' => { 'type' => 'id', 'path' => 'SubDetail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'SubDetail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'SubDetail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequence' => { 'type' => 'positiveInt', 'path' => 'SubDetail.sequence', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'Coding', 'path' => 'SubDetail.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode' } }, + 'service' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-USCLS' => ['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555'] }, 'type' => 'Coding', 'path' => 'SubDetail.service', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-uscls' } }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'SubDetail.quantity', 'min' => 0, 'max' => 1 }, + 'unitPrice' => { 'type' => 'Quantity', 'path' => 'SubDetail.unitPrice', 'min' => 0, 'max' => 1 }, + 'factor' => { 'type' => 'decimal', 'path' => 'SubDetail.factor', 'min' => 0, 'max' => 1 }, + 'points' => { 'type' => 'decimal', 'path' => 'SubDetail.points', 'min' => 0, 'max' => 1 }, + 'net' => { 'type' => 'Quantity', 'path' => 'SubDetail.net', 'min' => 0, 'max' => 1 }, + 'udi' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-udi' => ['{01}123456789'] }, 'type' => 'Coding', 'path' => 'SubDetail.udi', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/udi' } } } attr_accessor :id # 0-1 id @@ -226,12 +226,12 @@ class Prosthesis < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Prosthesis.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Prosthesis.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Prosthesis.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'initial' => {'type'=>'boolean', 'path'=>'Prosthesis.initial', 'min'=>0, 'max'=>1}, - 'priorDate' => {'type'=>'date', 'path'=>'Prosthesis.priorDate', 'min'=>0, 'max'=>1}, - 'priorMaterial' => {'valid_codes'=>{'http://hl7.org/fhir/ex-oralprostho'=>['1', '2', '3', '4']}, 'type'=>'Coding', 'path'=>'Prosthesis.priorMaterial', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/oral-prosthodontic-material'}} + 'id' => { 'type' => 'id', 'path' => 'Prosthesis.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Prosthesis.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Prosthesis.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'initial' => { 'type' => 'boolean', 'path' => 'Prosthesis.initial', 'min' => 0, 'max' => 1 }, + 'priorDate' => { 'type' => 'date', 'path' => 'Prosthesis.priorDate', 'min' => 0, 'max' => 1 }, + 'priorMaterial' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-oralprostho' => ['1', '2', '3', '4'] }, 'type' => 'Coding', 'path' => 'Prosthesis.priorMaterial', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/oral-prosthodontic-material' } } } attr_accessor :id # 0-1 id @@ -270,12 +270,12 @@ class MissingTeeth < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'MissingTeeth.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'MissingTeeth.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'MissingTeeth.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'tooth' => {'valid_codes'=>{'http://hl7.org/fhir/ex-fdi'=>['11', '12', '13', '14', '15', '16', '17', '18', '21', '22', '23', '24', '25', '26', '27', '28', '31', '32', '33', '34', '35', '36', '37', '38', '41', '42', '43', '44', '45', '46', '47', '48']}, 'type'=>'Coding', 'path'=>'MissingTeeth.tooth', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/teeth'}}, - 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/missingtoothreason'=>['E', 'C', 'U', 'O']}, 'type'=>'Coding', 'path'=>'MissingTeeth.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/missing-tooth-reason'}}, - 'extractionDate' => {'type'=>'date', 'path'=>'MissingTeeth.extractionDate', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'MissingTeeth.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'MissingTeeth.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'MissingTeeth.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'tooth' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-fdi' => ['11', '12', '13', '14', '15', '16', '17', '18', '21', '22', '23', '24', '25', '26', '27', '28', '31', '32', '33', '34', '35', '36', '37', '38', '41', '42', '43', '44', '45', '46', '47', '48'] }, 'type' => 'Coding', 'path' => 'MissingTeeth.tooth', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/teeth' } }, + 'reason' => { 'valid_codes' => { 'http://hl7.org/fhir/missingtoothreason' => ['E', 'C', 'U', 'O'] }, 'type' => 'Coding', 'path' => 'MissingTeeth.reason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/missing-tooth-reason' } }, + 'extractionDate' => { 'type' => 'date', 'path' => 'MissingTeeth.extractionDate', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb b/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb index 33cd0fee..9473c2f3 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb @@ -7,40 +7,40 @@ class ClaimResponse < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ClaimResponse.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ClaimResponse.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ClaimResponse.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ClaimResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ClaimResponse.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ClaimResponse.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ClaimResponse.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ClaimResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ClaimResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'request' => {'type'=>'Reference', 'path'=>'ClaimResponse.request', 'min'=>0, 'max'=>1}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ClaimResponse.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ClaimResponse.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'ClaimResponse.created', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'ClaimResponse.organization', 'min'=>0, 'max'=>1}, - 'requestProvider' => {'type'=>'Reference', 'path'=>'ClaimResponse.requestProvider', 'min'=>0, 'max'=>1}, - 'requestOrganization' => {'type'=>'Reference', 'path'=>'ClaimResponse.requestOrganization', 'min'=>0, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['complete', 'error']}, 'type'=>'code', 'path'=>'ClaimResponse.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome'}}, - 'disposition' => {'type'=>'string', 'path'=>'ClaimResponse.disposition', 'min'=>0, 'max'=>1}, - 'payeeType' => {'valid_codes'=>{'http://hl7.org/fhir/payeetype'=>['subscriber', 'provider', 'other']}, 'type'=>'Coding', 'path'=>'ClaimResponse.payeeType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payeetype'}}, - 'item' => {'type'=>'ClaimResponse::Item', 'path'=>'ClaimResponse.item', 'min'=>0, 'max'=>Float::INFINITY}, - 'addItem' => {'type'=>'ClaimResponse::AddItem', 'path'=>'ClaimResponse.addItem', 'min'=>0, 'max'=>Float::INFINITY}, - 'error' => {'type'=>'ClaimResponse::Error', 'path'=>'ClaimResponse.error', 'min'=>0, 'max'=>Float::INFINITY}, - 'totalCost' => {'type'=>'Quantity', 'path'=>'ClaimResponse.totalCost', 'min'=>0, 'max'=>1}, - 'unallocDeductable' => {'type'=>'Quantity', 'path'=>'ClaimResponse.unallocDeductable', 'min'=>0, 'max'=>1}, - 'totalBenefit' => {'type'=>'Quantity', 'path'=>'ClaimResponse.totalBenefit', 'min'=>0, 'max'=>1}, - 'paymentAdjustment' => {'type'=>'Quantity', 'path'=>'ClaimResponse.paymentAdjustment', 'min'=>0, 'max'=>1}, - 'paymentAdjustmentReason' => {'valid_codes'=>{'http://hl7.org/fhir/adjustment-reason'=>['A001', 'A002']}, 'type'=>'Coding', 'path'=>'ClaimResponse.paymentAdjustmentReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjustment-reason'}}, - 'paymentDate' => {'type'=>'date', 'path'=>'ClaimResponse.paymentDate', 'min'=>0, 'max'=>1}, - 'paymentAmount' => {'type'=>'Quantity', 'path'=>'ClaimResponse.paymentAmount', 'min'=>0, 'max'=>1}, - 'paymentRef' => {'type'=>'Identifier', 'path'=>'ClaimResponse.paymentRef', 'min'=>0, 'max'=>1}, - 'reserved' => {'valid_codes'=>{'http://hl7.org/fhir/fundsreserve'=>['patient', 'provider', 'none']}, 'type'=>'Coding', 'path'=>'ClaimResponse.reserved', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/fundsreserve'}}, - 'form' => {'valid_codes'=>{'http://hl7.org/fhir/forms-codes'=>['1', '2']}, 'type'=>'Coding', 'path'=>'ClaimResponse.form', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/forms'}}, - 'note' => {'type'=>'ClaimResponse::Note', 'path'=>'ClaimResponse.note', 'min'=>0, 'max'=>Float::INFINITY}, - 'coverage' => {'type'=>'ClaimResponse::Coverage', 'path'=>'ClaimResponse.coverage', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'ClaimResponse.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ClaimResponse.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ClaimResponse.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ClaimResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ClaimResponse.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ClaimResponse.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ClaimResponse.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ClaimResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ClaimResponse.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'request' => { 'type' => 'Reference', 'path' => 'ClaimResponse.request', 'min' => 0, 'max' => 1 }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ClaimResponse.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ClaimResponse.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'ClaimResponse.created', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'ClaimResponse.organization', 'min' => 0, 'max' => 1 }, + 'requestProvider' => { 'type' => 'Reference', 'path' => 'ClaimResponse.requestProvider', 'min' => 0, 'max' => 1 }, + 'requestOrganization' => { 'type' => 'Reference', 'path' => 'ClaimResponse.requestOrganization', 'min' => 0, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/remittance-outcome' => ['complete', 'error'] }, 'type' => 'code', 'path' => 'ClaimResponse.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/remittance-outcome' } }, + 'disposition' => { 'type' => 'string', 'path' => 'ClaimResponse.disposition', 'min' => 0, 'max' => 1 }, + 'payeeType' => { 'valid_codes' => { 'http://hl7.org/fhir/payeetype' => ['subscriber', 'provider', 'other'] }, 'type' => 'Coding', 'path' => 'ClaimResponse.payeeType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/payeetype' } }, + 'item' => { 'type' => 'ClaimResponse::Item', 'path' => 'ClaimResponse.item', 'min' => 0, 'max' => Float::INFINITY }, + 'addItem' => { 'type' => 'ClaimResponse::AddItem', 'path' => 'ClaimResponse.addItem', 'min' => 0, 'max' => Float::INFINITY }, + 'error' => { 'type' => 'ClaimResponse::Error', 'path' => 'ClaimResponse.error', 'min' => 0, 'max' => Float::INFINITY }, + 'totalCost' => { 'type' => 'Quantity', 'path' => 'ClaimResponse.totalCost', 'min' => 0, 'max' => 1 }, + 'unallocDeductable' => { 'type' => 'Quantity', 'path' => 'ClaimResponse.unallocDeductable', 'min' => 0, 'max' => 1 }, + 'totalBenefit' => { 'type' => 'Quantity', 'path' => 'ClaimResponse.totalBenefit', 'min' => 0, 'max' => 1 }, + 'paymentAdjustment' => { 'type' => 'Quantity', 'path' => 'ClaimResponse.paymentAdjustment', 'min' => 0, 'max' => 1 }, + 'paymentAdjustmentReason' => { 'valid_codes' => { 'http://hl7.org/fhir/adjustment-reason' => ['A001', 'A002'] }, 'type' => 'Coding', 'path' => 'ClaimResponse.paymentAdjustmentReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/adjustment-reason' } }, + 'paymentDate' => { 'type' => 'date', 'path' => 'ClaimResponse.paymentDate', 'min' => 0, 'max' => 1 }, + 'paymentAmount' => { 'type' => 'Quantity', 'path' => 'ClaimResponse.paymentAmount', 'min' => 0, 'max' => 1 }, + 'paymentRef' => { 'type' => 'Identifier', 'path' => 'ClaimResponse.paymentRef', 'min' => 0, 'max' => 1 }, + 'reserved' => { 'valid_codes' => { 'http://hl7.org/fhir/fundsreserve' => ['patient', 'provider', 'none'] }, 'type' => 'Coding', 'path' => 'ClaimResponse.reserved', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/fundsreserve' } }, + 'form' => { 'valid_codes' => { 'http://hl7.org/fhir/forms-codes' => ['1', '2'] }, 'type' => 'Coding', 'path' => 'ClaimResponse.form', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/forms' } }, + 'note' => { 'type' => 'ClaimResponse::Note', 'path' => 'ClaimResponse.note', 'min' => 0, 'max' => Float::INFINITY }, + 'coverage' => { 'type' => 'ClaimResponse::Coverage', 'path' => 'ClaimResponse.coverage', 'min' => 0, 'max' => Float::INFINITY } } class Item < FHIR::DSTU2::Model @@ -49,13 +49,13 @@ class Item < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Item.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Item.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Item.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequenceLinkId' => {'type'=>'positiveInt', 'path'=>'Item.sequenceLinkId', 'min'=>1, 'max'=>1}, - 'noteNumber' => {'type'=>'positiveInt', 'path'=>'Item.noteNumber', 'min'=>0, 'max'=>Float::INFINITY}, - 'adjudication' => {'type'=>'ClaimResponse::Item::Adjudication', 'path'=>'Item.adjudication', 'min'=>0, 'max'=>Float::INFINITY}, - 'detail' => {'type'=>'ClaimResponse::Item::Detail', 'path'=>'Item.detail', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Item.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Item.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Item.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequenceLinkId' => { 'type' => 'positiveInt', 'path' => 'Item.sequenceLinkId', 'min' => 1, 'max' => 1 }, + 'noteNumber' => { 'type' => 'positiveInt', 'path' => 'Item.noteNumber', 'min' => 0, 'max' => Float::INFINITY }, + 'adjudication' => { 'type' => 'ClaimResponse::Item::Adjudication', 'path' => 'Item.adjudication', 'min' => 0, 'max' => Float::INFINITY }, + 'detail' => { 'type' => 'ClaimResponse::Item::Detail', 'path' => 'Item.detail', 'min' => 0, 'max' => Float::INFINITY } } class Adjudication < FHIR::DSTU2::Model @@ -64,12 +64,12 @@ class Adjudication < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Adjudication.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Adjudication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Adjudication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication'=>['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit']}, 'type'=>'Coding', 'path'=>'Adjudication.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}}, - 'amount' => {'type'=>'Quantity', 'path'=>'Adjudication.amount', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'decimal', 'path'=>'Adjudication.value', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Adjudication.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Adjudication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Adjudication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication' => ['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit'] }, 'type' => 'Coding', 'path' => 'Adjudication.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication' } }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Adjudication.amount', 'min' => 0, 'max' => 1 }, + 'value' => { 'type' => 'decimal', 'path' => 'Adjudication.value', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -86,12 +86,12 @@ class Detail < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequenceLinkId' => {'type'=>'positiveInt', 'path'=>'Detail.sequenceLinkId', 'min'=>1, 'max'=>1}, - 'adjudication' => {'type'=>'ClaimResponse::Item::Detail::Adjudication', 'path'=>'Detail.adjudication', 'min'=>0, 'max'=>Float::INFINITY}, - 'subDetail' => {'type'=>'ClaimResponse::Item::Detail::SubDetail', 'path'=>'Detail.subDetail', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Detail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Detail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Detail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequenceLinkId' => { 'type' => 'positiveInt', 'path' => 'Detail.sequenceLinkId', 'min' => 1, 'max' => 1 }, + 'adjudication' => { 'type' => 'ClaimResponse::Item::Detail::Adjudication', 'path' => 'Detail.adjudication', 'min' => 0, 'max' => Float::INFINITY }, + 'subDetail' => { 'type' => 'ClaimResponse::Item::Detail::SubDetail', 'path' => 'Detail.subDetail', 'min' => 0, 'max' => Float::INFINITY } } class Adjudication < FHIR::DSTU2::Model @@ -100,12 +100,12 @@ class Adjudication < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Adjudication.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Adjudication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Adjudication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication'=>['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit']}, 'type'=>'Coding', 'path'=>'Adjudication.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}}, - 'amount' => {'type'=>'Quantity', 'path'=>'Adjudication.amount', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'decimal', 'path'=>'Adjudication.value', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Adjudication.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Adjudication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Adjudication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication' => ['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit'] }, 'type' => 'Coding', 'path' => 'Adjudication.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication' } }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Adjudication.amount', 'min' => 0, 'max' => 1 }, + 'value' => { 'type' => 'decimal', 'path' => 'Adjudication.value', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -122,11 +122,11 @@ class SubDetail < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'SubDetail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'SubDetail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'SubDetail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequenceLinkId' => {'type'=>'positiveInt', 'path'=>'SubDetail.sequenceLinkId', 'min'=>1, 'max'=>1}, - 'adjudication' => {'type'=>'ClaimResponse::Item::Detail::SubDetail::Adjudication', 'path'=>'SubDetail.adjudication', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'SubDetail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'SubDetail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'SubDetail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequenceLinkId' => { 'type' => 'positiveInt', 'path' => 'SubDetail.sequenceLinkId', 'min' => 1, 'max' => 1 }, + 'adjudication' => { 'type' => 'ClaimResponse::Item::Detail::SubDetail::Adjudication', 'path' => 'SubDetail.adjudication', 'min' => 0, 'max' => Float::INFINITY } } class Adjudication < FHIR::DSTU2::Model @@ -135,12 +135,12 @@ class Adjudication < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Adjudication.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Adjudication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Adjudication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication'=>['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit']}, 'type'=>'Coding', 'path'=>'Adjudication.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}}, - 'amount' => {'type'=>'Quantity', 'path'=>'Adjudication.amount', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'decimal', 'path'=>'Adjudication.value', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Adjudication.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Adjudication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Adjudication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication' => ['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit'] }, 'type' => 'Coding', 'path' => 'Adjudication.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication' } }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Adjudication.amount', 'min' => 0, 'max' => 1 }, + 'value' => { 'type' => 'decimal', 'path' => 'Adjudication.value', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -187,15 +187,15 @@ class AddItem < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'AddItem.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'AddItem.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'AddItem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequenceLinkId' => {'type'=>'positiveInt', 'path'=>'AddItem.sequenceLinkId', 'min'=>0, 'max'=>Float::INFINITY}, - 'service' => {'valid_codes'=>{'http://hl7.org/fhir/ex-USCLS'=>['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555']}, 'type'=>'Coding', 'path'=>'AddItem.service', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-uscls'}}, - 'fee' => {'type'=>'Quantity', 'path'=>'AddItem.fee', 'min'=>0, 'max'=>1}, - 'noteNumberLinkId' => {'type'=>'positiveInt', 'path'=>'AddItem.noteNumberLinkId', 'min'=>0, 'max'=>Float::INFINITY}, - 'adjudication' => {'type'=>'ClaimResponse::AddItem::Adjudication', 'path'=>'AddItem.adjudication', 'min'=>0, 'max'=>Float::INFINITY}, - 'detail' => {'type'=>'ClaimResponse::AddItem::Detail', 'path'=>'AddItem.detail', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'AddItem.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'AddItem.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'AddItem.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequenceLinkId' => { 'type' => 'positiveInt', 'path' => 'AddItem.sequenceLinkId', 'min' => 0, 'max' => Float::INFINITY }, + 'service' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-USCLS' => ['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555'] }, 'type' => 'Coding', 'path' => 'AddItem.service', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-uscls' } }, + 'fee' => { 'type' => 'Quantity', 'path' => 'AddItem.fee', 'min' => 0, 'max' => 1 }, + 'noteNumberLinkId' => { 'type' => 'positiveInt', 'path' => 'AddItem.noteNumberLinkId', 'min' => 0, 'max' => Float::INFINITY }, + 'adjudication' => { 'type' => 'ClaimResponse::AddItem::Adjudication', 'path' => 'AddItem.adjudication', 'min' => 0, 'max' => Float::INFINITY }, + 'detail' => { 'type' => 'ClaimResponse::AddItem::Detail', 'path' => 'AddItem.detail', 'min' => 0, 'max' => Float::INFINITY } } class Adjudication < FHIR::DSTU2::Model @@ -204,12 +204,12 @@ class Adjudication < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Adjudication.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Adjudication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Adjudication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication'=>['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit']}, 'type'=>'Coding', 'path'=>'Adjudication.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}}, - 'amount' => {'type'=>'Quantity', 'path'=>'Adjudication.amount', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'decimal', 'path'=>'Adjudication.value', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Adjudication.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Adjudication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Adjudication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication' => ['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit'] }, 'type' => 'Coding', 'path' => 'Adjudication.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication' } }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Adjudication.amount', 'min' => 0, 'max' => 1 }, + 'value' => { 'type' => 'decimal', 'path' => 'Adjudication.value', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -226,12 +226,12 @@ class Detail < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'service' => {'valid_codes'=>{'http://hl7.org/fhir/ex-USCLS'=>['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555']}, 'type'=>'Coding', 'path'=>'Detail.service', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-uscls'}}, - 'fee' => {'type'=>'Quantity', 'path'=>'Detail.fee', 'min'=>0, 'max'=>1}, - 'adjudication' => {'type'=>'ClaimResponse::AddItem::Detail::Adjudication', 'path'=>'Detail.adjudication', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Detail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Detail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Detail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'service' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-USCLS' => ['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555'] }, 'type' => 'Coding', 'path' => 'Detail.service', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-uscls' } }, + 'fee' => { 'type' => 'Quantity', 'path' => 'Detail.fee', 'min' => 0, 'max' => 1 }, + 'adjudication' => { 'type' => 'ClaimResponse::AddItem::Detail::Adjudication', 'path' => 'Detail.adjudication', 'min' => 0, 'max' => Float::INFINITY } } class Adjudication < FHIR::DSTU2::Model @@ -240,12 +240,12 @@ class Adjudication < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Adjudication.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Adjudication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Adjudication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication'=>['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit']}, 'type'=>'Coding', 'path'=>'Adjudication.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}}, - 'amount' => {'type'=>'Quantity', 'path'=>'Adjudication.amount', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'decimal', 'path'=>'Adjudication.value', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Adjudication.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Adjudication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Adjudication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication' => ['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit'] }, 'type' => 'Coding', 'path' => 'Adjudication.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication' } }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Adjudication.amount', 'min' => 0, 'max' => 1 }, + 'value' => { 'type' => 'decimal', 'path' => 'Adjudication.value', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -281,13 +281,13 @@ class Error < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Error.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Error.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Error.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequenceLinkId' => {'type'=>'positiveInt', 'path'=>'Error.sequenceLinkId', 'min'=>0, 'max'=>1}, - 'detailSequenceLinkId' => {'type'=>'positiveInt', 'path'=>'Error.detailSequenceLinkId', 'min'=>0, 'max'=>1}, - 'subdetailSequenceLinkId' => {'type'=>'positiveInt', 'path'=>'Error.subdetailSequenceLinkId', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication-error'=>['A001', 'A002']}, 'type'=>'Coding', 'path'=>'Error.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication-error'}} + 'id' => { 'type' => 'id', 'path' => 'Error.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Error.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Error.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequenceLinkId' => { 'type' => 'positiveInt', 'path' => 'Error.sequenceLinkId', 'min' => 0, 'max' => 1 }, + 'detailSequenceLinkId' => { 'type' => 'positiveInt', 'path' => 'Error.detailSequenceLinkId', 'min' => 0, 'max' => 1 }, + 'subdetailSequenceLinkId' => { 'type' => 'positiveInt', 'path' => 'Error.subdetailSequenceLinkId', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication-error' => ['A001', 'A002'] }, 'type' => 'Coding', 'path' => 'Error.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication-error' } } } attr_accessor :id # 0-1 id @@ -305,12 +305,12 @@ class Note < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Note.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Note.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Note.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'number' => {'type'=>'positiveInt', 'path'=>'Note.number', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/note-type'=>['display', 'print', 'printoper']}, 'type'=>'Coding', 'path'=>'Note.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/note-type'}}, - 'text' => {'type'=>'string', 'path'=>'Note.text', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Note.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Note.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Note.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'number' => { 'type' => 'positiveInt', 'path' => 'Note.number', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/note-type' => ['display', 'print', 'printoper'] }, 'type' => 'Coding', 'path' => 'Note.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/note-type' } }, + 'text' => { 'type' => 'string', 'path' => 'Note.text', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -327,17 +327,17 @@ class Coverage < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Coverage.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Coverage.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Coverage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequence' => {'type'=>'positiveInt', 'path'=>'Coverage.sequence', 'min'=>1, 'max'=>1}, - 'focal' => {'type'=>'boolean', 'path'=>'Coverage.focal', 'min'=>1, 'max'=>1}, - 'coverage' => {'type'=>'Reference', 'path'=>'Coverage.coverage', 'min'=>1, 'max'=>1}, - 'businessArrangement' => {'type'=>'string', 'path'=>'Coverage.businessArrangement', 'min'=>0, 'max'=>1}, - 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/relationship'=>['1', '2', '3', '4', '5']}, 'type'=>'Coding', 'path'=>'Coverage.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/relationship'}}, - 'preAuthRef' => {'type'=>'string', 'path'=>'Coverage.preAuthRef', 'min'=>0, 'max'=>Float::INFINITY}, - 'claimResponse' => {'type'=>'Reference', 'path'=>'Coverage.claimResponse', 'min'=>0, 'max'=>1}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'Coverage.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}} + 'id' => { 'type' => 'id', 'path' => 'Coverage.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Coverage.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Coverage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequence' => { 'type' => 'positiveInt', 'path' => 'Coverage.sequence', 'min' => 1, 'max' => 1 }, + 'focal' => { 'type' => 'boolean', 'path' => 'Coverage.focal', 'min' => 1, 'max' => 1 }, + 'coverage' => { 'type' => 'Reference', 'path' => 'Coverage.coverage', 'min' => 1, 'max' => 1 }, + 'businessArrangement' => { 'type' => 'string', 'path' => 'Coverage.businessArrangement', 'min' => 0, 'max' => 1 }, + 'relationship' => { 'valid_codes' => { 'http://hl7.org/fhir/relationship' => ['1', '2', '3', '4', '5'] }, 'type' => 'Coding', 'path' => 'Coverage.relationship', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/relationship' } }, + 'preAuthRef' => { 'type' => 'string', 'path' => 'Coverage.preAuthRef', 'min' => 0, 'max' => Float::INFINITY }, + 'claimResponse' => { 'type' => 'Reference', 'path' => 'Coverage.claimResponse', 'min' => 0, 'max' => 1 }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'Coverage.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb b/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb index 0cc7fc02..2a71b5f5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb @@ -10,32 +10,32 @@ class ClinicalImpression < FHIR::DSTU2::Model } SEARCH_PARAMS = ['action', 'assessor', 'date', 'finding', 'investigation', 'patient', 'plan', 'previous', 'problem', 'resolved', 'ruledout', 'status', 'trigger', 'trigger-code'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ClinicalImpression.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ClinicalImpression.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ClinicalImpression.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ClinicalImpression.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ClinicalImpression.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ClinicalImpression.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ClinicalImpression.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ClinicalImpression.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'ClinicalImpression.patient', 'min'=>1, 'max'=>1}, - 'assessor' => {'type'=>'Reference', 'path'=>'ClinicalImpression.assessor', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/clinical-impression-status'=>['in-progress', 'completed', 'entered-in-error']}, 'type'=>'code', 'path'=>'ClinicalImpression.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/clinical-impression-status'}}, - 'date' => {'type'=>'dateTime', 'path'=>'ClinicalImpression.date', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'ClinicalImpression.description', 'min'=>0, 'max'=>1}, - 'previous' => {'type'=>'Reference', 'path'=>'ClinicalImpression.previous', 'min'=>0, 'max'=>1}, - 'problem' => {'type'=>'Reference', 'path'=>'ClinicalImpression.problem', 'min'=>0, 'max'=>Float::INFINITY}, - 'triggerCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ClinicalImpression.trigger[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/clinical-findings'}}, - 'triggerReference' => {'type'=>'Reference', 'path'=>'ClinicalImpression.trigger[x]', 'min'=>0, 'max'=>1}, - 'investigations' => {'type'=>'ClinicalImpression::Investigations', 'path'=>'ClinicalImpression.investigations', 'min'=>0, 'max'=>Float::INFINITY}, - 'protocol' => {'type'=>'uri', 'path'=>'ClinicalImpression.protocol', 'min'=>0, 'max'=>1}, - 'summary' => {'type'=>'string', 'path'=>'ClinicalImpression.summary', 'min'=>0, 'max'=>1}, - 'finding' => {'type'=>'ClinicalImpression::Finding', 'path'=>'ClinicalImpression.finding', 'min'=>0, 'max'=>Float::INFINITY}, - 'resolved' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ClinicalImpression.resolved', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'ruledOut' => {'type'=>'ClinicalImpression::RuledOut', 'path'=>'ClinicalImpression.ruledOut', 'min'=>0, 'max'=>Float::INFINITY}, - 'prognosis' => {'type'=>'string', 'path'=>'ClinicalImpression.prognosis', 'min'=>0, 'max'=>1}, - 'plan' => {'type'=>'Reference', 'path'=>'ClinicalImpression.plan', 'min'=>0, 'max'=>Float::INFINITY}, - 'action' => {'type'=>'Reference', 'path'=>'ClinicalImpression.action', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'ClinicalImpression.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ClinicalImpression.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ClinicalImpression.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ClinicalImpression.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ClinicalImpression.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ClinicalImpression.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ClinicalImpression.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ClinicalImpression.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'ClinicalImpression.patient', 'min' => 1, 'max' => 1 }, + 'assessor' => { 'type' => 'Reference', 'path' => 'ClinicalImpression.assessor', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/clinical-impression-status' => ['in-progress', 'completed', 'entered-in-error'] }, 'type' => 'code', 'path' => 'ClinicalImpression.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/clinical-impression-status' } }, + 'date' => { 'type' => 'dateTime', 'path' => 'ClinicalImpression.date', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'ClinicalImpression.description', 'min' => 0, 'max' => 1 }, + 'previous' => { 'type' => 'Reference', 'path' => 'ClinicalImpression.previous', 'min' => 0, 'max' => 1 }, + 'problem' => { 'type' => 'Reference', 'path' => 'ClinicalImpression.problem', 'min' => 0, 'max' => Float::INFINITY }, + 'triggerCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ClinicalImpression.trigger[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/clinical-findings' } }, + 'triggerReference' => { 'type' => 'Reference', 'path' => 'ClinicalImpression.trigger[x]', 'min' => 0, 'max' => 1 }, + 'investigations' => { 'type' => 'ClinicalImpression::Investigations', 'path' => 'ClinicalImpression.investigations', 'min' => 0, 'max' => Float::INFINITY }, + 'protocol' => { 'type' => 'uri', 'path' => 'ClinicalImpression.protocol', 'min' => 0, 'max' => 1 }, + 'summary' => { 'type' => 'string', 'path' => 'ClinicalImpression.summary', 'min' => 0, 'max' => 1 }, + 'finding' => { 'type' => 'ClinicalImpression::Finding', 'path' => 'ClinicalImpression.finding', 'min' => 0, 'max' => Float::INFINITY }, + 'resolved' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ClinicalImpression.resolved', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'ruledOut' => { 'type' => 'ClinicalImpression::RuledOut', 'path' => 'ClinicalImpression.ruledOut', 'min' => 0, 'max' => Float::INFINITY }, + 'prognosis' => { 'type' => 'string', 'path' => 'ClinicalImpression.prognosis', 'min' => 0, 'max' => 1 }, + 'plan' => { 'type' => 'Reference', 'path' => 'ClinicalImpression.plan', 'min' => 0, 'max' => Float::INFINITY }, + 'action' => { 'type' => 'Reference', 'path' => 'ClinicalImpression.action', 'min' => 0, 'max' => Float::INFINITY } } class Investigations < FHIR::DSTU2::Model @@ -44,11 +44,11 @@ class Investigations < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Investigations.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Investigations.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Investigations.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>['271336007', '160237006']}, 'type'=>'CodeableConcept', 'path'=>'Investigations.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/investigation-sets'}}, - 'item' => {'type'=>'Reference', 'path'=>'Investigations.item', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Investigations.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Investigations.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Investigations.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => ['271336007', '160237006'] }, 'type' => 'CodeableConcept', 'path' => 'Investigations.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/investigation-sets' } }, + 'item' => { 'type' => 'Reference', 'path' => 'Investigations.item', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -64,11 +64,11 @@ class Finding < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Finding.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Finding.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Finding.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'item' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Finding.item', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'cause' => {'type'=>'string', 'path'=>'Finding.cause', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Finding.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Finding.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Finding.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'item' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Finding.item', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'cause' => { 'type' => 'string', 'path' => 'Finding.cause', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -84,11 +84,11 @@ class RuledOut < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'RuledOut.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'RuledOut.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'RuledOut.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'item' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'RuledOut.item', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'reason' => {'type'=>'string', 'path'=>'RuledOut.reason', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'RuledOut.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'RuledOut.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RuledOut.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'item' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'RuledOut.item', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'reason' => { 'type' => 'string', 'path' => 'RuledOut.reason', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Communication.rb b/lib/fhir_dstu2_models/fhir/resources/Communication.rb index 6fc1dc9a..6e4a0185 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Communication.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Communication.rb @@ -7,27 +7,27 @@ class Communication < FHIR::DSTU2::Model SEARCH_PARAMS = ['category', 'encounter', 'identifier', 'medium', 'patient', 'received', 'recipient', 'request', 'sender', 'sent', 'status', 'subject', 'category', 'encounter', 'identifier', 'medium', 'patient', 'priority', 'recipient', 'requested', 'requester', 'sender', 'status', 'subject', 'time'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Communication.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Communication.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Communication.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Communication.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Communication.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Communication.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Communication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Communication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Communication.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'category' => {'type'=>'CodeableConcept', 'path'=>'Communication.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'sender' => {'type'=>'Reference', 'path'=>'Communication.sender', 'min'=>0, 'max'=>1}, - 'recipient' => {'type'=>'Reference', 'path'=>'Communication.recipient', 'min'=>0, 'max'=>Float::INFINITY}, - 'payload' => {'type'=>'Communication::Payload', 'path'=>'Communication.payload', 'min'=>0, 'max'=>Float::INFINITY}, - 'medium' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ParticipationMode'=>['ELECTRONIC', 'PHYSICAL', 'REMOTE', 'VERBAL', 'DICTATE', 'FACE', 'PHONE', 'VIDEOCONF', 'WRITTEN', 'FAXWRIT', 'HANDWRIT', 'MAILWRIT', 'ONLINEWRIT', 'EMAILWRIT', 'TYPEWRIT']}, 'type'=>'CodeableConcept', 'path'=>'Communication.medium', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ParticipationMode'}}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/communication-status'=>['in-progress', 'completed', 'suspended', 'rejected', 'failed']}, 'type'=>'code', 'path'=>'Communication.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/communication-status'}}, - 'encounter' => {'type'=>'Reference', 'path'=>'Communication.encounter', 'min'=>0, 'max'=>1}, - 'sent' => {'type'=>'dateTime', 'path'=>'Communication.sent', 'min'=>0, 'max'=>1}, - 'received' => {'type'=>'dateTime', 'path'=>'Communication.received', 'min'=>0, 'max'=>1}, - 'reason' => {'type'=>'CodeableConcept', 'path'=>'Communication.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'subject' => {'type'=>'Reference', 'path'=>'Communication.subject', 'min'=>0, 'max'=>1}, - 'requestDetail' => {'type'=>'Reference', 'path'=>'Communication.requestDetail', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Communication.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Communication.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Communication.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Communication.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Communication.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Communication.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Communication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Communication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Communication.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'category' => { 'type' => 'CodeableConcept', 'path' => 'Communication.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'sender' => { 'type' => 'Reference', 'path' => 'Communication.sender', 'min' => 0, 'max' => 1 }, + 'recipient' => { 'type' => 'Reference', 'path' => 'Communication.recipient', 'min' => 0, 'max' => Float::INFINITY }, + 'payload' => { 'type' => 'Communication::Payload', 'path' => 'Communication.payload', 'min' => 0, 'max' => Float::INFINITY }, + 'medium' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ParticipationMode' => ['ELECTRONIC', 'PHYSICAL', 'REMOTE', 'VERBAL', 'DICTATE', 'FACE', 'PHONE', 'VIDEOCONF', 'WRITTEN', 'FAXWRIT', 'HANDWRIT', 'MAILWRIT', 'ONLINEWRIT', 'EMAILWRIT', 'TYPEWRIT'] }, 'type' => 'CodeableConcept', 'path' => 'Communication.medium', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ParticipationMode' } }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/communication-status' => ['in-progress', 'completed', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'Communication.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/communication-status' } }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Communication.encounter', 'min' => 0, 'max' => 1 }, + 'sent' => { 'type' => 'dateTime', 'path' => 'Communication.sent', 'min' => 0, 'max' => 1 }, + 'received' => { 'type' => 'dateTime', 'path' => 'Communication.received', 'min' => 0, 'max' => 1 }, + 'reason' => { 'type' => 'CodeableConcept', 'path' => 'Communication.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'subject' => { 'type' => 'Reference', 'path' => 'Communication.subject', 'min' => 0, 'max' => 1 }, + 'requestDetail' => { 'type' => 'Reference', 'path' => 'Communication.requestDetail', 'min' => 0, 'max' => 1 } } class Payload < FHIR::DSTU2::Model @@ -39,12 +39,12 @@ class Payload < FHIR::DSTU2::Model 'content' => ['string', 'Attachment', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Payload.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Payload.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Payload.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'contentString' => {'type'=>'string', 'path'=>'Payload.content[x]', 'min'=>1, 'max'=>1}, - 'contentAttachment' => {'type'=>'Attachment', 'path'=>'Payload.content[x]', 'min'=>1, 'max'=>1}, - 'contentReference' => {'type'=>'Reference', 'path'=>'Payload.content[x]', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Payload.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Payload.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Payload.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'contentString' => { 'type' => 'string', 'path' => 'Payload.content[x]', 'min' => 1, 'max' => 1 }, + 'contentAttachment' => { 'type' => 'Attachment', 'path' => 'Payload.content[x]', 'min' => 1, 'max' => 1 }, + 'contentReference' => { 'type' => 'Reference', 'path' => 'Payload.content[x]', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb b/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb index 1768de2e..c28c5304 100644 --- a/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb @@ -10,29 +10,29 @@ class CommunicationRequest < FHIR::DSTU2::Model } SEARCH_PARAMS = ['category', 'encounter', 'identifier', 'medium', 'patient', 'priority', 'recipient', 'requested', 'requester', 'sender', 'status', 'subject', 'time'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'CommunicationRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'CommunicationRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'CommunicationRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'CommunicationRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'CommunicationRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'CommunicationRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'CommunicationRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'CommunicationRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'CommunicationRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'category' => {'type'=>'CodeableConcept', 'path'=>'CommunicationRequest.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'sender' => {'type'=>'Reference', 'path'=>'CommunicationRequest.sender', 'min'=>0, 'max'=>1}, - 'recipient' => {'type'=>'Reference', 'path'=>'CommunicationRequest.recipient', 'min'=>0, 'max'=>Float::INFINITY}, - 'payload' => {'type'=>'CommunicationRequest::Payload', 'path'=>'CommunicationRequest.payload', 'min'=>0, 'max'=>Float::INFINITY}, - 'medium' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ParticipationMode'=>['ELECTRONIC', 'PHYSICAL', 'REMOTE', 'VERBAL', 'DICTATE', 'FACE', 'PHONE', 'VIDEOCONF', 'WRITTEN', 'FAXWRIT', 'HANDWRIT', 'MAILWRIT', 'ONLINEWRIT', 'EMAILWRIT', 'TYPEWRIT']}, 'type'=>'CodeableConcept', 'path'=>'CommunicationRequest.medium', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ParticipationMode'}}, - 'requester' => {'type'=>'Reference', 'path'=>'CommunicationRequest.requester', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/communication-request-status'=>['proposed', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'failed']}, 'type'=>'code', 'path'=>'CommunicationRequest.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/communication-request-status'}}, - 'encounter' => {'type'=>'Reference', 'path'=>'CommunicationRequest.encounter', 'min'=>0, 'max'=>1}, - 'scheduledDateTime' => {'type'=>'dateTime', 'path'=>'CommunicationRequest.scheduled[x]', 'min'=>0, 'max'=>1}, - 'scheduledPeriod' => {'type'=>'Period', 'path'=>'CommunicationRequest.scheduled[x]', 'min'=>0, 'max'=>1}, - 'reason' => {'type'=>'CodeableConcept', 'path'=>'CommunicationRequest.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'requestedOn' => {'type'=>'dateTime', 'path'=>'CommunicationRequest.requestedOn', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'CommunicationRequest.subject', 'min'=>0, 'max'=>1}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-order-priority'=>['routine', 'urgent', 'stat', 'asap']}, 'type'=>'CodeableConcept', 'path'=>'CommunicationRequest.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-priority'}} + 'id' => { 'type' => 'id', 'path' => 'CommunicationRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'CommunicationRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'CommunicationRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'CommunicationRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'CommunicationRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'CommunicationRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'CommunicationRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'CommunicationRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'CommunicationRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'category' => { 'type' => 'CodeableConcept', 'path' => 'CommunicationRequest.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'sender' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.sender', 'min' => 0, 'max' => 1 }, + 'recipient' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.recipient', 'min' => 0, 'max' => Float::INFINITY }, + 'payload' => { 'type' => 'CommunicationRequest::Payload', 'path' => 'CommunicationRequest.payload', 'min' => 0, 'max' => Float::INFINITY }, + 'medium' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ParticipationMode' => ['ELECTRONIC', 'PHYSICAL', 'REMOTE', 'VERBAL', 'DICTATE', 'FACE', 'PHONE', 'VIDEOCONF', 'WRITTEN', 'FAXWRIT', 'HANDWRIT', 'MAILWRIT', 'ONLINEWRIT', 'EMAILWRIT', 'TYPEWRIT'] }, 'type' => 'CodeableConcept', 'path' => 'CommunicationRequest.medium', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ParticipationMode' } }, + 'requester' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.requester', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/communication-request-status' => ['proposed', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'CommunicationRequest.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/communication-request-status' } }, + 'encounter' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.encounter', 'min' => 0, 'max' => 1 }, + 'scheduledDateTime' => { 'type' => 'dateTime', 'path' => 'CommunicationRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'scheduledPeriod' => { 'type' => 'Period', 'path' => 'CommunicationRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'reason' => { 'type' => 'CodeableConcept', 'path' => 'CommunicationRequest.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'requestedOn' => { 'type' => 'dateTime', 'path' => 'CommunicationRequest.requestedOn', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.subject', 'min' => 0, 'max' => 1 }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'CodeableConcept', 'path' => 'CommunicationRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-priority' } } } class Payload < FHIR::DSTU2::Model @@ -44,12 +44,12 @@ class Payload < FHIR::DSTU2::Model 'content' => ['string', 'Attachment', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Payload.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Payload.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Payload.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'contentString' => {'type'=>'string', 'path'=>'Payload.content[x]', 'min'=>1, 'max'=>1}, - 'contentAttachment' => {'type'=>'Attachment', 'path'=>'Payload.content[x]', 'min'=>1, 'max'=>1}, - 'contentReference' => {'type'=>'Reference', 'path'=>'Payload.content[x]', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Payload.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Payload.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Payload.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'contentString' => { 'type' => 'string', 'path' => 'Payload.content[x]', 'min' => 1, 'max' => 1 }, + 'contentAttachment' => { 'type' => 'Attachment', 'path' => 'Payload.content[x]', 'min' => 1, 'max' => 1 }, + 'contentReference' => { 'type' => 'Reference', 'path' => 'Payload.content[x]', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Composition.rb b/lib/fhir_dstu2_models/fhir/resources/Composition.rb index d0f59f9b..143ef27b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Composition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Composition.rb @@ -7,28 +7,28 @@ class Composition < FHIR::DSTU2::Model SEARCH_PARAMS = ['attester', 'author', 'class', 'confidentiality', 'context', 'date', 'encounter', 'entry', 'identifier', 'patient', 'period', 'section', 'status', 'subject', 'title', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Composition.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Composition.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Composition.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Composition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Composition.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Composition.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Composition.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Composition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Composition.identifier', 'min'=>0, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'Composition.date', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Composition.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/doc-typecodes'}}, - 'class' => {'local_name'=>'local_class', 'valid_codes'=>{'http://loinc.org'=>['LP173387-4', 'LP173388-2', 'LP173389-0', 'LP173390-8', 'LP173394-0', 'LP173403-9', 'LP193873-9', 'LP173404-7', 'LP173405-4', 'LP173406-2', 'LP173407-0', 'LP181089-6', 'LP173409-6', 'LP173410-4', 'LP173412-0', 'LP173413-8', 'LP173414-6', 'LP173415-3', 'LP181112-6', 'LP181116-7', 'LP181119-1', 'LP173118-3', 'LP173416-1', 'LP173417-9', 'LP173418-7', 'LP173419-5', 'LP173420-3', 'LP181207-4', 'LP181204-1', 'LP156982-3', 'LP173421-1', 'LP183503-4', 'LP183502-6']}, 'type'=>'CodeableConcept', 'path'=>'Composition.class', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/doc-classcodes'}}, - 'title' => {'type'=>'string', 'path'=>'Composition.title', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/composition-status'=>['preliminary', 'final', 'amended', 'entered-in-error']}, 'type'=>'code', 'path'=>'Composition.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/composition-status'}}, - 'confidentiality' => {'valid_codes'=>{'http://hl7.org/fhir/v3/Confidentiality'=>['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T']}, 'type'=>'code', 'path'=>'Composition.confidentiality', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-Confidentiality'}}, - 'subject' => {'type'=>'Reference', 'path'=>'Composition.subject', 'min'=>1, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'Composition.author', 'min'=>1, 'max'=>Float::INFINITY}, - 'attester' => {'type'=>'Composition::Attester', 'path'=>'Composition.attester', 'min'=>0, 'max'=>Float::INFINITY}, - 'custodian' => {'type'=>'Reference', 'path'=>'Composition.custodian', 'min'=>0, 'max'=>1}, - 'event' => {'type'=>'Composition::Event', 'path'=>'Composition.event', 'min'=>0, 'max'=>Float::INFINITY}, - 'encounter' => {'type'=>'Reference', 'path'=>'Composition.encounter', 'min'=>0, 'max'=>1}, - 'section' => {'type'=>'Composition::Section', 'path'=>'Composition.section', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Composition.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Composition.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Composition.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Composition.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Composition.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Composition.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Composition.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Composition.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Composition.identifier', 'min' => 0, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'Composition.date', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'CodeableConcept', 'path' => 'Composition.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/doc-typecodes' } }, + 'class' => { 'local_name' => 'local_class', 'valid_codes' => { 'http://loinc.org' => ['LP173387-4', 'LP173388-2', 'LP173389-0', 'LP173390-8', 'LP173394-0', 'LP173403-9', 'LP193873-9', 'LP173404-7', 'LP173405-4', 'LP173406-2', 'LP173407-0', 'LP181089-6', 'LP173409-6', 'LP173410-4', 'LP173412-0', 'LP173413-8', 'LP173414-6', 'LP173415-3', 'LP181112-6', 'LP181116-7', 'LP181119-1', 'LP173118-3', 'LP173416-1', 'LP173417-9', 'LP173418-7', 'LP173419-5', 'LP173420-3', 'LP181207-4', 'LP181204-1', 'LP156982-3', 'LP173421-1', 'LP183503-4', 'LP183502-6'] }, 'type' => 'CodeableConcept', 'path' => 'Composition.class', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/doc-classcodes' } }, + 'title' => { 'type' => 'string', 'path' => 'Composition.title', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/composition-status' => ['preliminary', 'final', 'amended', 'entered-in-error'] }, 'type' => 'code', 'path' => 'Composition.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/composition-status' } }, + 'confidentiality' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/Confidentiality' => ['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'] }, 'type' => 'code', 'path' => 'Composition.confidentiality', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-Confidentiality' } }, + 'subject' => { 'type' => 'Reference', 'path' => 'Composition.subject', 'min' => 1, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'Composition.author', 'min' => 1, 'max' => Float::INFINITY }, + 'attester' => { 'type' => 'Composition::Attester', 'path' => 'Composition.attester', 'min' => 0, 'max' => Float::INFINITY }, + 'custodian' => { 'type' => 'Reference', 'path' => 'Composition.custodian', 'min' => 0, 'max' => 1 }, + 'event' => { 'type' => 'Composition::Event', 'path' => 'Composition.event', 'min' => 0, 'max' => Float::INFINITY }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Composition.encounter', 'min' => 0, 'max' => 1 }, + 'section' => { 'type' => 'Composition::Section', 'path' => 'Composition.section', 'min' => 0, 'max' => Float::INFINITY } } class Attester < FHIR::DSTU2::Model @@ -37,12 +37,12 @@ class Attester < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Attester.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Attester.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Attester.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/composition-attestation-mode'=>['personal', 'professional', 'legal', 'official']}, 'type'=>'code', 'path'=>'Attester.mode', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/composition-attestation-mode'}}, - 'time' => {'type'=>'dateTime', 'path'=>'Attester.time', 'min'=>0, 'max'=>1}, - 'party' => {'type'=>'Reference', 'path'=>'Attester.party', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Attester.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Attester.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Attester.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/composition-attestation-mode' => ['personal', 'professional', 'legal', 'official'] }, 'type' => 'code', 'path' => 'Attester.mode', 'min' => 1, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/composition-attestation-mode' } }, + 'time' => { 'type' => 'dateTime', 'path' => 'Attester.time', 'min' => 0, 'max' => 1 }, + 'party' => { 'type' => 'Reference', 'path' => 'Attester.party', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -59,12 +59,12 @@ class Event < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Event.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Event.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Event.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'CodeableConcept', 'path'=>'Event.code', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActCode'}}, - 'period' => {'type'=>'Period', 'path'=>'Event.period', 'min'=>0, 'max'=>1}, - 'detail' => {'type'=>'Reference', 'path'=>'Event.detail', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Event.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Event.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Event.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'CodeableConcept', 'path' => 'Event.code', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActCode' } }, + 'period' => { 'type' => 'Period', 'path' => 'Event.period', 'min' => 0, 'max' => 1 }, + 'detail' => { 'type' => 'Reference', 'path' => 'Event.detail', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -81,17 +81,17 @@ class Section < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Section.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Section.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Section.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'title' => {'type'=>'string', 'path'=>'Section.title', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://loinc.org'=>['10154-3', '10157-6', '10160-0', '10164-2', '10183-2', '10184-0', '10187-3', '10210-3', '10216-0', '10218-6', '10223-6', '10830-8', '11329-0', '11348-0', '11369-6', '11450-4', '11493-4', '11535-2', '11537-8', '18776-5', '18841-7', '29299-5', '29545-1', '29549-3', '29554-3', '29762-2', '30954-2', '42344-2', '42346-7', '42348-3', '42349-1', '46240-8', '46241-6', '46264-8', '47420-5', '47519-4', '48765-2', '48768-6', '51848-0', '55109-3', '55122-6', '59768-2', '59769-0', '59770-8', '59771-6', '59772-4', '59773-2', '59775-7', '59776-5', '61149-1', '61150-9', '69730-0', '8648-8', '8653-8', '8716-3']}, 'type'=>'CodeableConcept', 'path'=>'Section.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/doc-section-codes'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Section.text', 'min'=>0, 'max'=>1}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/list-mode'=>['working', 'snapshot', 'changes']}, 'type'=>'code', 'path'=>'Section.mode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/list-mode'}}, - 'orderedBy' => {'valid_codes'=>{'http://hl7.org/fhir/list-order'=>['user', 'system', 'event-date', 'entry-date', 'priority', 'alphabetic', 'category', 'patient']}, 'type'=>'CodeableConcept', 'path'=>'Section.orderedBy', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/list-order'}}, - 'entry' => {'type'=>'Reference', 'path'=>'Section.entry', 'min'=>0, 'max'=>Float::INFINITY}, - 'emptyReason' => {'valid_codes'=>{'http://hl7.org/fhir/list-empty-reason'=>['nilknown', 'notasked', 'withheld', 'unavailable', 'notstarted', 'closed']}, 'type'=>'CodeableConcept', 'path'=>'Section.emptyReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/list-empty-reason'}}, - 'section' => {'type'=>'Composition::Section', 'path'=>'Section.section', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Section.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Section.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Section.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'title' => { 'type' => 'string', 'path' => 'Section.title', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://loinc.org' => ['10154-3', '10157-6', '10160-0', '10164-2', '10183-2', '10184-0', '10187-3', '10210-3', '10216-0', '10218-6', '10223-6', '10830-8', '11329-0', '11348-0', '11369-6', '11450-4', '11493-4', '11535-2', '11537-8', '18776-5', '18841-7', '29299-5', '29545-1', '29549-3', '29554-3', '29762-2', '30954-2', '42344-2', '42346-7', '42348-3', '42349-1', '46240-8', '46241-6', '46264-8', '47420-5', '47519-4', '48765-2', '48768-6', '51848-0', '55109-3', '55122-6', '59768-2', '59769-0', '59770-8', '59771-6', '59772-4', '59773-2', '59775-7', '59776-5', '61149-1', '61150-9', '69730-0', '8648-8', '8653-8', '8716-3'] }, 'type' => 'CodeableConcept', 'path' => 'Section.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/doc-section-codes' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Section.text', 'min' => 0, 'max' => 1 }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/list-mode' => ['working', 'snapshot', 'changes'] }, 'type' => 'code', 'path' => 'Section.mode', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/list-mode' } }, + 'orderedBy' => { 'valid_codes' => { 'http://hl7.org/fhir/list-order' => ['user', 'system', 'event-date', 'entry-date', 'priority', 'alphabetic', 'category', 'patient'] }, 'type' => 'CodeableConcept', 'path' => 'Section.orderedBy', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/list-order' } }, + 'entry' => { 'type' => 'Reference', 'path' => 'Section.entry', 'min' => 0, 'max' => Float::INFINITY }, + 'emptyReason' => { 'valid_codes' => { 'http://hl7.org/fhir/list-empty-reason' => ['nilknown', 'notasked', 'withheld', 'unavailable', 'notstarted', 'closed'] }, 'type' => 'CodeableConcept', 'path' => 'Section.emptyReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/list-empty-reason' } }, + 'section' => { 'type' => 'Composition::Section', 'path' => 'Section.section', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb b/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb index 5831dcf0..6a10511b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb @@ -11,32 +11,32 @@ class ConceptMap < FHIR::DSTU2::Model } SEARCH_PARAMS = ['context', 'date', 'dependson', 'description', 'identifier', 'name', 'product', 'publisher', 'source', 'sourcecode', 'sourcesystem', 'sourceuri', 'status', 'target', 'targetcode', 'targetsystem', 'url', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ConceptMap.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ConceptMap.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ConceptMap.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ConceptMap.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ConceptMap.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ConceptMap.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ConceptMap.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ConceptMap.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'ConceptMap.url', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ConceptMap.identifier', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'ConceptMap.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'ConceptMap.name', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'ConceptMap.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'ConceptMap.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'ConceptMap.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'ConceptMap::Contact', 'path'=>'ConceptMap.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'ConceptMap.date', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'ConceptMap.description', 'min'=>0, 'max'=>1}, - 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'ConceptMap.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, - 'requirements' => {'type'=>'string', 'path'=>'ConceptMap.requirements', 'min'=>0, 'max'=>1}, - 'copyright' => {'type'=>'string', 'path'=>'ConceptMap.copyright', 'min'=>0, 'max'=>1}, - 'sourceUri' => {'type'=>'uri', 'path'=>'ConceptMap.source[x]', 'min'=>1, 'max'=>1}, - 'sourceReference' => {'type'=>'Reference', 'path'=>'ConceptMap.source[x]', 'min'=>1, 'max'=>1}, - 'targetUri' => {'type'=>'uri', 'path'=>'ConceptMap.target[x]', 'min'=>1, 'max'=>1}, - 'targetReference' => {'type'=>'Reference', 'path'=>'ConceptMap.target[x]', 'min'=>1, 'max'=>1}, - 'element' => {'type'=>'ConceptMap::Element', 'path'=>'ConceptMap.element', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'ConceptMap.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ConceptMap.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ConceptMap.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ConceptMap.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ConceptMap.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ConceptMap.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ConceptMap.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ConceptMap.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'ConceptMap.url', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ConceptMap.identifier', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'ConceptMap.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'ConceptMap.name', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'ConceptMap.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'ConceptMap.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'ConceptMap.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'ConceptMap::Contact', 'path' => 'ConceptMap.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'ConceptMap.date', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'ConceptMap.description', 'min' => 0, 'max' => 1 }, + 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'ConceptMap.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, + 'requirements' => { 'type' => 'string', 'path' => 'ConceptMap.requirements', 'min' => 0, 'max' => 1 }, + 'copyright' => { 'type' => 'string', 'path' => 'ConceptMap.copyright', 'min' => 0, 'max' => 1 }, + 'sourceUri' => { 'type' => 'uri', 'path' => 'ConceptMap.source[x]', 'min' => 1, 'max' => 1 }, + 'sourceReference' => { 'type' => 'Reference', 'path' => 'ConceptMap.source[x]', 'min' => 1, 'max' => 1 }, + 'targetUri' => { 'type' => 'uri', 'path' => 'ConceptMap.target[x]', 'min' => 1, 'max' => 1 }, + 'targetReference' => { 'type' => 'Reference', 'path' => 'ConceptMap.target[x]', 'min' => 1, 'max' => 1 }, + 'element' => { 'type' => 'ConceptMap::Element', 'path' => 'ConceptMap.element', 'min' => 0, 'max' => Float::INFINITY } } class Contact < FHIR::DSTU2::Model @@ -45,11 +45,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -65,12 +65,12 @@ class Element < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Element.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Element.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Element.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'codeSystem' => {'type'=>'uri', 'path'=>'Element.codeSystem', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'Element.code', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'ConceptMap::Element::Target', 'path'=>'Element.target', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Element.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Element.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Element.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'codeSystem' => { 'type' => 'uri', 'path' => 'Element.codeSystem', 'min' => 0, 'max' => 1 }, + 'code' => { 'type' => 'code', 'path' => 'Element.code', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'ConceptMap::Element::Target', 'path' => 'Element.target', 'min' => 0, 'max' => Float::INFINITY } } class Target < FHIR::DSTU2::Model @@ -79,15 +79,15 @@ class Target < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Target.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Target.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Target.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'codeSystem' => {'type'=>'uri', 'path'=>'Target.codeSystem', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'Target.code', 'min'=>0, 'max'=>1}, - 'equivalence' => {'valid_codes'=>{'http://hl7.org/fhir/concept-map-equivalence'=>['equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact', 'unmatched', 'disjoint']}, 'type'=>'code', 'path'=>'Target.equivalence', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/concept-map-equivalence'}}, - 'comments' => {'type'=>'string', 'path'=>'Target.comments', 'min'=>0, 'max'=>1}, - 'dependsOn' => {'type'=>'ConceptMap::Element::Target::DependsOn', 'path'=>'Target.dependsOn', 'min'=>0, 'max'=>Float::INFINITY}, - 'product' => {'type'=>'ConceptMap::Element::Target::DependsOn', 'path'=>'Target.product', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Target.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Target.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Target.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'codeSystem' => { 'type' => 'uri', 'path' => 'Target.codeSystem', 'min' => 0, 'max' => 1 }, + 'code' => { 'type' => 'code', 'path' => 'Target.code', 'min' => 0, 'max' => 1 }, + 'equivalence' => { 'valid_codes' => { 'http://hl7.org/fhir/concept-map-equivalence' => ['equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact', 'unmatched', 'disjoint'] }, 'type' => 'code', 'path' => 'Target.equivalence', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/concept-map-equivalence' } }, + 'comments' => { 'type' => 'string', 'path' => 'Target.comments', 'min' => 0, 'max' => 1 }, + 'dependsOn' => { 'type' => 'ConceptMap::Element::Target::DependsOn', 'path' => 'Target.dependsOn', 'min' => 0, 'max' => Float::INFINITY }, + 'product' => { 'type' => 'ConceptMap::Element::Target::DependsOn', 'path' => 'Target.product', 'min' => 0, 'max' => Float::INFINITY } } class DependsOn < FHIR::DSTU2::Model @@ -96,12 +96,12 @@ class DependsOn < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'DependsOn.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'DependsOn.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DependsOn.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'element' => {'type'=>'uri', 'path'=>'DependsOn.element', 'min'=>1, 'max'=>1}, - 'codeSystem' => {'type'=>'uri', 'path'=>'DependsOn.codeSystem', 'min'=>1, 'max'=>1}, - 'code' => {'type'=>'string', 'path'=>'DependsOn.code', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'DependsOn.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'DependsOn.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DependsOn.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'element' => { 'type' => 'uri', 'path' => 'DependsOn.element', 'min' => 1, 'max' => 1 }, + 'codeSystem' => { 'type' => 'uri', 'path' => 'DependsOn.codeSystem', 'min' => 1, 'max' => 1 }, + 'code' => { 'type' => 'string', 'path' => 'DependsOn.code', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Condition.rb b/lib/fhir_dstu2_models/fhir/resources/Condition.rb index 70a14af3..3d5abb68 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Condition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Condition.rb @@ -11,39 +11,39 @@ class Condition < FHIR::DSTU2::Model } SEARCH_PARAMS = ['asserter', 'body-site', 'category', 'clinicalstatus', 'code', 'date-recorded', 'encounter', 'evidence', 'identifier', 'onset', 'onset-info', 'patient', 'severity', 'stage'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Condition.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Condition.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Condition.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Condition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Condition.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Condition.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Condition.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Condition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Condition.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'Condition.patient', 'min'=>1, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'Condition.encounter', 'min'=>0, 'max'=>1}, - 'asserter' => {'type'=>'Reference', 'path'=>'Condition.asserter', 'min'=>0, 'max'=>1}, - 'dateRecorded' => {'type'=>'date', 'path'=>'Condition.dateRecorded', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Condition.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/condition-category'=>['complaint', 'symptom', 'finding', 'diagnosis']}, 'type'=>'CodeableConcept', 'path'=>'Condition.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-category'}}, - 'clinicalStatus' => {'valid_codes'=>{'http://hl7.org/fhir/condition-clinical'=>['active', 'relapse', 'remission', 'resolved']}, 'type'=>'code', 'path'=>'Condition.clinicalStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-clinical'}}, - 'verificationStatus' => {'valid_codes'=>{'http://hl7.org/fhir/condition-ver-status'=>['provisional', 'differential', 'confirmed', 'refuted', 'entered-in-error', 'unknown']}, 'type'=>'code', 'path'=>'Condition.verificationStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-ver-status'}}, - 'severity' => {'valid_codes'=>{'http://snomed.info/sct'=>['399166001', '24484000', '6736007', '255604002']}, 'type'=>'CodeableConcept', 'path'=>'Condition.severity', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-severity'}}, - 'onsetDateTime' => {'type'=>'dateTime', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'onsetQuantity' => {'type'=>'Quantity', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'onsetPeriod' => {'type'=>'Period', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'onsetRange' => {'type'=>'Range', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'onsetString' => {'type'=>'string', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'abatementDateTime' => {'type'=>'dateTime', 'path'=>'Condition.abatement[x]', 'min'=>0, 'max'=>1}, - 'abatementQuantity' => {'type'=>'Quantity', 'path'=>'Condition.abatement[x]', 'min'=>0, 'max'=>1}, - 'abatementBoolean' => {'type'=>'boolean', 'path'=>'Condition.abatement[x]', 'min'=>0, 'max'=>1}, - 'abatementPeriod' => {'type'=>'Period', 'path'=>'Condition.abatement[x]', 'min'=>0, 'max'=>1}, - 'abatementRange' => {'type'=>'Range', 'path'=>'Condition.abatement[x]', 'min'=>0, 'max'=>1}, - 'abatementString' => {'type'=>'string', 'path'=>'Condition.abatement[x]', 'min'=>0, 'max'=>1}, - 'stage' => {'type'=>'Condition::Stage', 'path'=>'Condition.stage', 'min'=>0, 'max'=>1}, - 'evidence' => {'type'=>'Condition::Evidence', 'path'=>'Condition.evidence', 'min'=>0, 'max'=>Float::INFINITY}, - 'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Condition.bodySite', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}}, - 'notes' => {'type'=>'string', 'path'=>'Condition.notes', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Condition.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Condition.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Condition.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Condition.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Condition.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Condition.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Condition.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Condition.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Condition.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'Condition.patient', 'min' => 1, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Condition.encounter', 'min' => 0, 'max' => 1 }, + 'asserter' => { 'type' => 'Reference', 'path' => 'Condition.asserter', 'min' => 0, 'max' => 1 }, + 'dateRecorded' => { 'type' => 'date', 'path' => 'Condition.dateRecorded', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Condition.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/condition-category' => ['complaint', 'symptom', 'finding', 'diagnosis'] }, 'type' => 'CodeableConcept', 'path' => 'Condition.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-category' } }, + 'clinicalStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/condition-clinical' => ['active', 'relapse', 'remission', 'resolved'] }, 'type' => 'code', 'path' => 'Condition.clinicalStatus', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-clinical' } }, + 'verificationStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/condition-ver-status' => ['provisional', 'differential', 'confirmed', 'refuted', 'entered-in-error', 'unknown'] }, 'type' => 'code', 'path' => 'Condition.verificationStatus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-ver-status' } }, + 'severity' => { 'valid_codes' => { 'http://snomed.info/sct' => ['399166001', '24484000', '6736007', '255604002'] }, 'type' => 'CodeableConcept', 'path' => 'Condition.severity', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-severity' } }, + 'onsetDateTime' => { 'type' => 'dateTime', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'onsetQuantity' => { 'type' => 'Quantity', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'onsetPeriod' => { 'type' => 'Period', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'onsetRange' => { 'type' => 'Range', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'onsetString' => { 'type' => 'string', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'abatementDateTime' => { 'type' => 'dateTime', 'path' => 'Condition.abatement[x]', 'min' => 0, 'max' => 1 }, + 'abatementQuantity' => { 'type' => 'Quantity', 'path' => 'Condition.abatement[x]', 'min' => 0, 'max' => 1 }, + 'abatementBoolean' => { 'type' => 'boolean', 'path' => 'Condition.abatement[x]', 'min' => 0, 'max' => 1 }, + 'abatementPeriod' => { 'type' => 'Period', 'path' => 'Condition.abatement[x]', 'min' => 0, 'max' => 1 }, + 'abatementRange' => { 'type' => 'Range', 'path' => 'Condition.abatement[x]', 'min' => 0, 'max' => 1 }, + 'abatementString' => { 'type' => 'string', 'path' => 'Condition.abatement[x]', 'min' => 0, 'max' => 1 }, + 'stage' => { 'type' => 'Condition::Stage', 'path' => 'Condition.stage', 'min' => 0, 'max' => 1 }, + 'evidence' => { 'type' => 'Condition::Evidence', 'path' => 'Condition.evidence', 'min' => 0, 'max' => Float::INFINITY }, + 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Condition.bodySite', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, + 'notes' => { 'type' => 'string', 'path' => 'Condition.notes', 'min' => 0, 'max' => 1 } } class Stage < FHIR::DSTU2::Model @@ -52,11 +52,11 @@ class Stage < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Stage.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Stage.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Stage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'summary' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Stage.summary', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-stage'}}, - 'assessment' => {'type'=>'Reference', 'path'=>'Stage.assessment', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Stage.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Stage.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Stage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'summary' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Stage.summary', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-stage' } }, + 'assessment' => { 'type' => 'Reference', 'path' => 'Stage.assessment', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -72,11 +72,11 @@ class Evidence < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Evidence.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Evidence.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Evidence.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Evidence.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/manifestation-or-symptom'}}, - 'detail' => {'type'=>'Reference', 'path'=>'Evidence.detail', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Evidence.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Evidence.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Evidence.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Evidence.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/manifestation-or-symptom' } }, + 'detail' => { 'type' => 'Reference', 'path' => 'Evidence.detail', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Conformance.rb b/lib/fhir_dstu2_models/fhir/resources/Conformance.rb index fc46d6e5..33228698 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Conformance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Conformance.rb @@ -7,35 +7,35 @@ class Conformance < FHIR::DSTU2::Model SEARCH_PARAMS = ['date', 'description', 'event', 'fhirversion', 'format', 'mode', 'name', 'profile', 'publisher', 'resource', 'security', 'software', 'status', 'supported-profile', 'url', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Conformance.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Conformance.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Conformance.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Conformance.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Conformance.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Conformance.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Conformance.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Conformance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'Conformance.url', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Conformance.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'Conformance.name', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'Conformance.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'Conformance.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'Conformance.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'Conformance::Contact', 'path'=>'Conformance.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'Conformance.date', 'min'=>1, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Conformance.description', 'min'=>0, 'max'=>1}, - 'requirements' => {'type'=>'string', 'path'=>'Conformance.requirements', 'min'=>0, 'max'=>1}, - 'copyright' => {'type'=>'string', 'path'=>'Conformance.copyright', 'min'=>0, 'max'=>1}, - 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-statement-kind'=>['instance', 'capability', 'requirements']}, 'type'=>'code', 'path'=>'Conformance.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-statement-kind'}}, - 'software' => {'type'=>'Conformance::Software', 'path'=>'Conformance.software', 'min'=>0, 'max'=>1}, - 'implementation' => {'type'=>'Conformance::Implementation', 'path'=>'Conformance.implementation', 'min'=>0, 'max'=>1}, - 'fhirVersion' => {'type'=>'id', 'path'=>'Conformance.fhirVersion', 'min'=>1, 'max'=>1}, - 'acceptUnknown' => {'valid_codes'=>{'http://hl7.org/fhir/unknown-content-code'=>['no', 'extensions', 'elements', 'both']}, 'type'=>'code', 'path'=>'Conformance.acceptUnknown', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/unknown-content-code'}}, - 'format' => {'type'=>'code', 'path'=>'Conformance.format', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'profile' => {'type'=>'Reference', 'path'=>'Conformance.profile', 'min'=>0, 'max'=>Float::INFINITY}, - 'rest' => {'type'=>'Conformance::Rest', 'path'=>'Conformance.rest', 'min'=>0, 'max'=>Float::INFINITY}, - 'messaging' => {'type'=>'Conformance::Messaging', 'path'=>'Conformance.messaging', 'min'=>0, 'max'=>Float::INFINITY}, - 'document' => {'type'=>'Conformance::Document', 'path'=>'Conformance.document', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Conformance.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Conformance.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Conformance.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Conformance.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Conformance.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Conformance.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Conformance.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Conformance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'Conformance.url', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'Conformance.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'Conformance.name', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'Conformance.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'Conformance.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'Conformance.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'Conformance::Contact', 'path' => 'Conformance.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'Conformance.date', 'min' => 1, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Conformance.description', 'min' => 0, 'max' => 1 }, + 'requirements' => { 'type' => 'string', 'path' => 'Conformance.requirements', 'min' => 0, 'max' => 1 }, + 'copyright' => { 'type' => 'string', 'path' => 'Conformance.copyright', 'min' => 0, 'max' => 1 }, + 'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-statement-kind' => ['instance', 'capability', 'requirements'] }, 'type' => 'code', 'path' => 'Conformance.kind', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-statement-kind' } }, + 'software' => { 'type' => 'Conformance::Software', 'path' => 'Conformance.software', 'min' => 0, 'max' => 1 }, + 'implementation' => { 'type' => 'Conformance::Implementation', 'path' => 'Conformance.implementation', 'min' => 0, 'max' => 1 }, + 'fhirVersion' => { 'type' => 'id', 'path' => 'Conformance.fhirVersion', 'min' => 1, 'max' => 1 }, + 'acceptUnknown' => { 'valid_codes' => { 'http://hl7.org/fhir/unknown-content-code' => ['no', 'extensions', 'elements', 'both'] }, 'type' => 'code', 'path' => 'Conformance.acceptUnknown', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/unknown-content-code' } }, + 'format' => { 'type' => 'code', 'path' => 'Conformance.format', 'min' => 1, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, + 'profile' => { 'type' => 'Reference', 'path' => 'Conformance.profile', 'min' => 0, 'max' => Float::INFINITY }, + 'rest' => { 'type' => 'Conformance::Rest', 'path' => 'Conformance.rest', 'min' => 0, 'max' => Float::INFINITY }, + 'messaging' => { 'type' => 'Conformance::Messaging', 'path' => 'Conformance.messaging', 'min' => 0, 'max' => Float::INFINITY }, + 'document' => { 'type' => 'Conformance::Document', 'path' => 'Conformance.document', 'min' => 0, 'max' => Float::INFINITY } } class Contact < FHIR::DSTU2::Model @@ -44,11 +44,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -64,12 +64,12 @@ class Software < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Software.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Software.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Software.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Software.name', 'min'=>1, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Software.version', 'min'=>0, 'max'=>1}, - 'releaseDate' => {'type'=>'dateTime', 'path'=>'Software.releaseDate', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Software.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Software.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Software.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Software.name', 'min' => 1, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'Software.version', 'min' => 0, 'max' => 1 }, + 'releaseDate' => { 'type' => 'dateTime', 'path' => 'Software.releaseDate', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -86,11 +86,11 @@ class Implementation < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Implementation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Implementation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Implementation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'description' => {'type'=>'string', 'path'=>'Implementation.description', 'min'=>1, 'max'=>1}, - 'url' => {'type'=>'uri', 'path'=>'Implementation.url', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Implementation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Implementation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Implementation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'description' => { 'type' => 'string', 'path' => 'Implementation.description', 'min' => 1, 'max' => 1 }, + 'url' => { 'type' => 'uri', 'path' => 'Implementation.url', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -106,18 +106,18 @@ class Rest < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Rest.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Rest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Rest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/restful-conformance-mode'=>['client', 'server']}, 'type'=>'code', 'path'=>'Rest.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/restful-conformance-mode'}}, - 'documentation' => {'type'=>'string', 'path'=>'Rest.documentation', 'min'=>0, 'max'=>1}, - 'security' => {'type'=>'Conformance::Rest::Security', 'path'=>'Rest.security', 'min'=>0, 'max'=>1}, - 'resource' => {'type'=>'Conformance::Rest::Resource', 'path'=>'Rest.resource', 'min'=>1, 'max'=>Float::INFINITY}, - 'interaction' => {'type'=>'Conformance::Rest::Interaction', 'path'=>'Rest.interaction', 'min'=>0, 'max'=>Float::INFINITY}, - 'transactionMode' => {'valid_codes'=>{'http://hl7.org/fhir/transaction-mode'=>['not-supported', 'batch', 'transaction', 'both']}, 'type'=>'code', 'path'=>'Rest.transactionMode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/transaction-mode'}}, - 'searchParam' => {'type'=>'Conformance::Rest::Resource::SearchParam', 'path'=>'Rest.searchParam', 'min'=>0, 'max'=>Float::INFINITY}, - 'operation' => {'type'=>'Conformance::Rest::Operation', 'path'=>'Rest.operation', 'min'=>0, 'max'=>Float::INFINITY}, - 'compartment' => {'type'=>'uri', 'path'=>'Rest.compartment', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Rest.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Rest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Rest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/restful-conformance-mode' => ['client', 'server'] }, 'type' => 'code', 'path' => 'Rest.mode', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/restful-conformance-mode' } }, + 'documentation' => { 'type' => 'string', 'path' => 'Rest.documentation', 'min' => 0, 'max' => 1 }, + 'security' => { 'type' => 'Conformance::Rest::Security', 'path' => 'Rest.security', 'min' => 0, 'max' => 1 }, + 'resource' => { 'type' => 'Conformance::Rest::Resource', 'path' => 'Rest.resource', 'min' => 1, 'max' => Float::INFINITY }, + 'interaction' => { 'type' => 'Conformance::Rest::Interaction', 'path' => 'Rest.interaction', 'min' => 0, 'max' => Float::INFINITY }, + 'transactionMode' => { 'valid_codes' => { 'http://hl7.org/fhir/transaction-mode' => ['not-supported', 'batch', 'transaction', 'both'] }, 'type' => 'code', 'path' => 'Rest.transactionMode', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/transaction-mode' } }, + 'searchParam' => { 'type' => 'Conformance::Rest::Resource::SearchParam', 'path' => 'Rest.searchParam', 'min' => 0, 'max' => Float::INFINITY }, + 'operation' => { 'type' => 'Conformance::Rest::Operation', 'path' => 'Rest.operation', 'min' => 0, 'max' => Float::INFINITY }, + 'compartment' => { 'type' => 'uri', 'path' => 'Rest.compartment', 'min' => 0, 'max' => Float::INFINITY } } class Security < FHIR::DSTU2::Model @@ -126,13 +126,13 @@ class Security < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Security.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Security.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Security.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'cors' => {'type'=>'boolean', 'path'=>'Security.cors', 'min'=>0, 'max'=>1}, - 'service' => {'valid_codes'=>{'http://hl7.org/fhir/restful-security-service'=>['OAuth', 'SMART-on-FHIR', 'NTLM', 'Basic', 'Kerberos', 'Certificates']}, 'type'=>'CodeableConcept', 'path'=>'Security.service', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/restful-security-service'}}, - 'description' => {'type'=>'string', 'path'=>'Security.description', 'min'=>0, 'max'=>1}, - 'certificate' => {'type'=>'Conformance::Rest::Security::Certificate', 'path'=>'Security.certificate', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Security.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Security.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Security.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'cors' => { 'type' => 'boolean', 'path' => 'Security.cors', 'min' => 0, 'max' => 1 }, + 'service' => { 'valid_codes' => { 'http://hl7.org/fhir/restful-security-service' => ['OAuth', 'SMART-on-FHIR', 'NTLM', 'Basic', 'Kerberos', 'Certificates'] }, 'type' => 'CodeableConcept', 'path' => 'Security.service', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/restful-security-service' } }, + 'description' => { 'type' => 'string', 'path' => 'Security.description', 'min' => 0, 'max' => 1 }, + 'certificate' => { 'type' => 'Conformance::Rest::Security::Certificate', 'path' => 'Security.certificate', 'min' => 0, 'max' => Float::INFINITY } } class Certificate < FHIR::DSTU2::Model @@ -141,11 +141,11 @@ class Certificate < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Certificate.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Certificate.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Certificate.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'type'=>'code', 'path'=>'Certificate.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'blob' => {'type'=>'base64Binary', 'path'=>'Certificate.blob', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Certificate.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Certificate.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Certificate.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'type' => 'code', 'path' => 'Certificate.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, + 'blob' => { 'type' => 'base64Binary', 'path' => 'Certificate.blob', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -170,21 +170,21 @@ class Resource < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Resource.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Resource.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Resource.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Resource.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'profile' => {'type'=>'Reference', 'path'=>'Resource.profile', 'min'=>0, 'max'=>1}, - 'interaction' => {'type'=>'Conformance::Rest::Resource::Interaction', 'path'=>'Resource.interaction', 'min'=>1, 'max'=>Float::INFINITY}, - 'versioning' => {'valid_codes'=>{'http://hl7.org/fhir/versioning-policy'=>['no-version', 'versioned', 'versioned-update']}, 'type'=>'code', 'path'=>'Resource.versioning', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/versioning-policy'}}, - 'readHistory' => {'type'=>'boolean', 'path'=>'Resource.readHistory', 'min'=>0, 'max'=>1}, - 'updateCreate' => {'type'=>'boolean', 'path'=>'Resource.updateCreate', 'min'=>0, 'max'=>1}, - 'conditionalCreate' => {'type'=>'boolean', 'path'=>'Resource.conditionalCreate', 'min'=>0, 'max'=>1}, - 'conditionalUpdate' => {'type'=>'boolean', 'path'=>'Resource.conditionalUpdate', 'min'=>0, 'max'=>1}, - 'conditionalDelete' => {'valid_codes'=>{'http://hl7.org/fhir/conditional-delete-status'=>['not-supported', 'single', 'multiple']}, 'type'=>'code', 'path'=>'Resource.conditionalDelete', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conditional-delete-status'}}, - 'searchInclude' => {'type'=>'string', 'path'=>'Resource.searchInclude', 'min'=>0, 'max'=>Float::INFINITY}, - 'searchRevInclude' => {'type'=>'string', 'path'=>'Resource.searchRevInclude', 'min'=>0, 'max'=>Float::INFINITY}, - 'searchParam' => {'type'=>'Conformance::Rest::Resource::SearchParam', 'path'=>'Resource.searchParam', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Resource.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Resource.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Resource.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Resource.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'profile' => { 'type' => 'Reference', 'path' => 'Resource.profile', 'min' => 0, 'max' => 1 }, + 'interaction' => { 'type' => 'Conformance::Rest::Resource::Interaction', 'path' => 'Resource.interaction', 'min' => 1, 'max' => Float::INFINITY }, + 'versioning' => { 'valid_codes' => { 'http://hl7.org/fhir/versioning-policy' => ['no-version', 'versioned', 'versioned-update'] }, 'type' => 'code', 'path' => 'Resource.versioning', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/versioning-policy' } }, + 'readHistory' => { 'type' => 'boolean', 'path' => 'Resource.readHistory', 'min' => 0, 'max' => 1 }, + 'updateCreate' => { 'type' => 'boolean', 'path' => 'Resource.updateCreate', 'min' => 0, 'max' => 1 }, + 'conditionalCreate' => { 'type' => 'boolean', 'path' => 'Resource.conditionalCreate', 'min' => 0, 'max' => 1 }, + 'conditionalUpdate' => { 'type' => 'boolean', 'path' => 'Resource.conditionalUpdate', 'min' => 0, 'max' => 1 }, + 'conditionalDelete' => { 'valid_codes' => { 'http://hl7.org/fhir/conditional-delete-status' => ['not-supported', 'single', 'multiple'] }, 'type' => 'code', 'path' => 'Resource.conditionalDelete', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conditional-delete-status' } }, + 'searchInclude' => { 'type' => 'string', 'path' => 'Resource.searchInclude', 'min' => 0, 'max' => Float::INFINITY }, + 'searchRevInclude' => { 'type' => 'string', 'path' => 'Resource.searchRevInclude', 'min' => 0, 'max' => Float::INFINITY }, + 'searchParam' => { 'type' => 'Conformance::Rest::Resource::SearchParam', 'path' => 'Resource.searchParam', 'min' => 0, 'max' => Float::INFINITY } } class Interaction < FHIR::DSTU2::Model @@ -193,11 +193,11 @@ class Interaction < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Interaction.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Interaction.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Interaction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/restful-interaction'=>['read', 'vread', 'update', 'delete', 'history', 'history-instance', 'history-type', 'history-system', 'create', 'search', 'search-type', 'search-system', 'validate', 'conformance', 'transaction', 'operation']}, 'type'=>'code', 'path'=>'Interaction.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/type-restful-interaction'}}, - 'documentation' => {'type'=>'string', 'path'=>'Interaction.documentation', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Interaction.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Interaction.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Interaction.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/restful-interaction' => ['read', 'vread', 'update', 'delete', 'history', 'history-instance', 'history-type', 'history-system', 'create', 'search', 'search-type', 'search-system', 'validate', 'conformance', 'transaction', 'operation'] }, 'type' => 'code', 'path' => 'Interaction.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/type-restful-interaction' } }, + 'documentation' => { 'type' => 'string', 'path' => 'Interaction.documentation', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -213,16 +213,16 @@ class SearchParam < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'SearchParam.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'SearchParam.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'SearchParam.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'SearchParam.name', 'min'=>1, 'max'=>1}, - 'definition' => {'type'=>'uri', 'path'=>'SearchParam.definition', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/search-param-type'=>['number', 'date', 'string', 'token', 'reference', 'composite', 'quantity', 'uri']}, 'type'=>'code', 'path'=>'SearchParam.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/search-param-type'}}, - 'documentation' => {'type'=>'string', 'path'=>'SearchParam.documentation', 'min'=>0, 'max'=>1}, - 'target' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'SearchParam.target', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'modifier' => {'valid_codes'=>{'http://hl7.org/fhir/search-modifier-code'=>['missing', 'exact', 'contains', 'not', 'text', 'in', 'not-in', 'below', 'above', 'type']}, 'type'=>'code', 'path'=>'SearchParam.modifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/search-modifier-code'}}, - 'chain' => {'type'=>'string', 'path'=>'SearchParam.chain', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'SearchParam.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'SearchParam.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'SearchParam.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'SearchParam.name', 'min' => 1, 'max' => 1 }, + 'definition' => { 'type' => 'uri', 'path' => 'SearchParam.definition', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/search-param-type' => ['number', 'date', 'string', 'token', 'reference', 'composite', 'quantity', 'uri'] }, 'type' => 'code', 'path' => 'SearchParam.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/search-param-type' } }, + 'documentation' => { 'type' => 'string', 'path' => 'SearchParam.documentation', 'min' => 0, 'max' => 1 }, + 'target' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'SearchParam.target', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'modifier' => { 'valid_codes' => { 'http://hl7.org/fhir/search-modifier-code' => ['missing', 'exact', 'contains', 'not', 'text', 'in', 'not-in', 'below', 'above', 'type'] }, 'type' => 'code', 'path' => 'SearchParam.modifier', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/search-modifier-code' } }, + 'chain' => { 'type' => 'string', 'path' => 'SearchParam.chain', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -260,11 +260,11 @@ class Interaction < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Interaction.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Interaction.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Interaction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/restful-interaction'=>['read', 'vread', 'update', 'delete', 'history', 'history-instance', 'history-type', 'history-system', 'create', 'search', 'search-type', 'search-system', 'validate', 'conformance', 'transaction', 'operation']}, 'type'=>'code', 'path'=>'Interaction.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/system-restful-interaction'}}, - 'documentation' => {'type'=>'string', 'path'=>'Interaction.documentation', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Interaction.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Interaction.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Interaction.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/restful-interaction' => ['read', 'vread', 'update', 'delete', 'history', 'history-instance', 'history-type', 'history-system', 'create', 'search', 'search-type', 'search-system', 'validate', 'conformance', 'transaction', 'operation'] }, 'type' => 'code', 'path' => 'Interaction.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/system-restful-interaction' } }, + 'documentation' => { 'type' => 'string', 'path' => 'Interaction.documentation', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -280,11 +280,11 @@ class Operation < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Operation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Operation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Operation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Operation.name', 'min'=>1, 'max'=>1}, - 'definition' => {'type'=>'Reference', 'path'=>'Operation.definition', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Operation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Operation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Operation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Operation.name', 'min' => 1, 'max' => 1 }, + 'definition' => { 'type' => 'Reference', 'path' => 'Operation.definition', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -314,13 +314,13 @@ class Messaging < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Messaging.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Messaging.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Messaging.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'endpoint' => {'type'=>'Conformance::Messaging::Endpoint', 'path'=>'Messaging.endpoint', 'min'=>0, 'max'=>Float::INFINITY}, - 'reliableCache' => {'type'=>'unsignedInt', 'path'=>'Messaging.reliableCache', 'min'=>0, 'max'=>1}, - 'documentation' => {'type'=>'string', 'path'=>'Messaging.documentation', 'min'=>0, 'max'=>1}, - 'event' => {'type'=>'Conformance::Messaging::Event', 'path'=>'Messaging.event', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Messaging.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Messaging.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Messaging.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'endpoint' => { 'type' => 'Conformance::Messaging::Endpoint', 'path' => 'Messaging.endpoint', 'min' => 0, 'max' => Float::INFINITY }, + 'reliableCache' => { 'type' => 'unsignedInt', 'path' => 'Messaging.reliableCache', 'min' => 0, 'max' => 1 }, + 'documentation' => { 'type' => 'string', 'path' => 'Messaging.documentation', 'min' => 0, 'max' => 1 }, + 'event' => { 'type' => 'Conformance::Messaging::Event', 'path' => 'Messaging.event', 'min' => 1, 'max' => Float::INFINITY } } class Endpoint < FHIR::DSTU2::Model @@ -329,11 +329,11 @@ class Endpoint < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Endpoint.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Endpoint.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Endpoint.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'protocol' => {'valid_codes'=>{'http://hl7.org/fhir/message-transport'=>['http', 'ftp', 'mllp']}, 'type'=>'Coding', 'path'=>'Endpoint.protocol', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/message-transport'}}, - 'address' => {'type'=>'uri', 'path'=>'Endpoint.address', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Endpoint.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Endpoint.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Endpoint.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'protocol' => { 'valid_codes' => { 'http://hl7.org/fhir/message-transport' => ['http', 'ftp', 'mllp'] }, 'type' => 'Coding', 'path' => 'Endpoint.protocol', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/message-transport' } }, + 'address' => { 'type' => 'uri', 'path' => 'Endpoint.address', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -349,16 +349,16 @@ class Event < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Event.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Event.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Event.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/message-events'=>['MedicationAdministration-Complete', 'MedicationAdministration-Nullification', 'MedicationAdministration-Recording', 'MedicationAdministration-Update', 'admin-notify', 'diagnosticreport-provide', 'observation-provide', 'patient-link', 'patient-unlink', 'valueset-expand']}, 'type'=>'Coding', 'path'=>'Event.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/message-events'}}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/message-significance-category'=>['Consequence', 'Currency', 'Notification']}, 'type'=>'code', 'path'=>'Event.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/message-significance-category'}}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/message-conformance-event-mode'=>['sender', 'receiver']}, 'type'=>'code', 'path'=>'Event.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/message-conformance-event-mode'}}, - 'focus' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Event.focus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'request' => {'type'=>'Reference', 'path'=>'Event.request', 'min'=>1, 'max'=>1}, - 'response' => {'type'=>'Reference', 'path'=>'Event.response', 'min'=>1, 'max'=>1}, - 'documentation' => {'type'=>'string', 'path'=>'Event.documentation', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Event.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Event.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Event.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/message-events' => ['MedicationAdministration-Complete', 'MedicationAdministration-Nullification', 'MedicationAdministration-Recording', 'MedicationAdministration-Update', 'admin-notify', 'diagnosticreport-provide', 'observation-provide', 'patient-link', 'patient-unlink', 'valueset-expand'] }, 'type' => 'Coding', 'path' => 'Event.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/message-events' } }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/message-significance-category' => ['Consequence', 'Currency', 'Notification'] }, 'type' => 'code', 'path' => 'Event.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/message-significance-category' } }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/message-conformance-event-mode' => ['sender', 'receiver'] }, 'type' => 'code', 'path' => 'Event.mode', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/message-conformance-event-mode' } }, + 'focus' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Event.focus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'request' => { 'type' => 'Reference', 'path' => 'Event.request', 'min' => 1, 'max' => 1 }, + 'response' => { 'type' => 'Reference', 'path' => 'Event.response', 'min' => 1, 'max' => 1 }, + 'documentation' => { 'type' => 'string', 'path' => 'Event.documentation', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -388,12 +388,12 @@ class Document < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Document.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Document.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Document.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/document-mode'=>['producer', 'consumer']}, 'type'=>'code', 'path'=>'Document.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/document-mode'}}, - 'documentation' => {'type'=>'string', 'path'=>'Document.documentation', 'min'=>0, 'max'=>1}, - 'profile' => {'type'=>'Reference', 'path'=>'Document.profile', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Document.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Document.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Document.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/document-mode' => ['producer', 'consumer'] }, 'type' => 'code', 'path' => 'Document.mode', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/document-mode' } }, + 'documentation' => { 'type' => 'string', 'path' => 'Document.documentation', 'min' => 0, 'max' => 1 }, + 'profile' => { 'type' => 'Reference', 'path' => 'Document.profile', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Contract.rb b/lib/fhir_dstu2_models/fhir/resources/Contract.rb index 2e6771ca..1d7de703 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Contract.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Contract.rb @@ -10,33 +10,33 @@ class Contract < FHIR::DSTU2::Model } SEARCH_PARAMS = ['actor', 'identifier', 'patient', 'signer', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contract.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Contract.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Contract.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Contract.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Contract.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Contract.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Contract.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contract.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Contract.identifier', 'min'=>0, 'max'=>1}, - 'issued' => {'type'=>'dateTime', 'path'=>'Contract.issued', 'min'=>0, 'max'=>1}, - 'applies' => {'type'=>'Period', 'path'=>'Contract.applies', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'Contract.subject', 'min'=>0, 'max'=>Float::INFINITY}, - 'authority' => {'type'=>'Reference', 'path'=>'Contract.authority', 'min'=>0, 'max'=>Float::INFINITY}, - 'domain' => {'type'=>'Reference', 'path'=>'Contract.domain', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/contracttypecodes'=>['privacy', 'disclosure']}, 'type'=>'CodeableConcept', 'path'=>'Contract.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-type'}}, - 'subType' => {'valid_codes'=>{'http://hl7.org/fhir/contractsubtypecodes'=>['disclosure-CA', 'disclosure-US']}, 'type'=>'CodeableConcept', 'path'=>'Contract.subType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-subtype'}}, - 'action' => {'valid_codes'=>{'http://www.hl7.org/fhir/contractaction'=>['action-a', 'action-b']}, 'type'=>'CodeableConcept', 'path'=>'Contract.action', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-action'}}, - 'actionReason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'CodeableConcept', 'path'=>'Contract.actionReason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse'}}, - 'actor' => {'type'=>'Contract::Actor', 'path'=>'Contract.actor', 'min'=>0, 'max'=>Float::INFINITY}, - 'valuedItem' => {'type'=>'Contract::ValuedItem', 'path'=>'Contract.valuedItem', 'min'=>0, 'max'=>Float::INFINITY}, - 'signer' => {'type'=>'Contract::Signer', 'path'=>'Contract.signer', 'min'=>0, 'max'=>Float::INFINITY}, - 'term' => {'type'=>'Contract::Term', 'path'=>'Contract.term', 'min'=>0, 'max'=>Float::INFINITY}, - 'bindingAttachment' => {'type'=>'Attachment', 'path'=>'Contract.binding[x]', 'min'=>0, 'max'=>1}, - 'bindingReference' => {'type'=>'Reference', 'path'=>'Contract.binding[x]', 'min'=>0, 'max'=>1}, - 'friendly' => {'type'=>'Contract::Friendly', 'path'=>'Contract.friendly', 'min'=>0, 'max'=>Float::INFINITY}, - 'legal' => {'type'=>'Contract::Legal', 'path'=>'Contract.legal', 'min'=>0, 'max'=>Float::INFINITY}, - 'rule' => {'type'=>'Contract::Rule', 'path'=>'Contract.rule', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contract.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Contract.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Contract.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Contract.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Contract.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Contract.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contract.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contract.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Contract.identifier', 'min' => 0, 'max' => 1 }, + 'issued' => { 'type' => 'dateTime', 'path' => 'Contract.issued', 'min' => 0, 'max' => 1 }, + 'applies' => { 'type' => 'Period', 'path' => 'Contract.applies', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'Contract.subject', 'min' => 0, 'max' => Float::INFINITY }, + 'authority' => { 'type' => 'Reference', 'path' => 'Contract.authority', 'min' => 0, 'max' => Float::INFINITY }, + 'domain' => { 'type' => 'Reference', 'path' => 'Contract.domain', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/contracttypecodes' => ['privacy', 'disclosure'] }, 'type' => 'CodeableConcept', 'path' => 'Contract.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-type' } }, + 'subType' => { 'valid_codes' => { 'http://hl7.org/fhir/contractsubtypecodes' => ['disclosure-CA', 'disclosure-US'] }, 'type' => 'CodeableConcept', 'path' => 'Contract.subType', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-subtype' } }, + 'action' => { 'valid_codes' => { 'http://www.hl7.org/fhir/contractaction' => ['action-a', 'action-b'] }, 'type' => 'CodeableConcept', 'path' => 'Contract.action', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-action' } }, + 'actionReason' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'] }, 'type' => 'CodeableConcept', 'path' => 'Contract.actionReason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse' } }, + 'actor' => { 'type' => 'Contract::Actor', 'path' => 'Contract.actor', 'min' => 0, 'max' => Float::INFINITY }, + 'valuedItem' => { 'type' => 'Contract::ValuedItem', 'path' => 'Contract.valuedItem', 'min' => 0, 'max' => Float::INFINITY }, + 'signer' => { 'type' => 'Contract::Signer', 'path' => 'Contract.signer', 'min' => 0, 'max' => Float::INFINITY }, + 'term' => { 'type' => 'Contract::Term', 'path' => 'Contract.term', 'min' => 0, 'max' => Float::INFINITY }, + 'bindingAttachment' => { 'type' => 'Attachment', 'path' => 'Contract.binding[x]', 'min' => 0, 'max' => 1 }, + 'bindingReference' => { 'type' => 'Reference', 'path' => 'Contract.binding[x]', 'min' => 0, 'max' => 1 }, + 'friendly' => { 'type' => 'Contract::Friendly', 'path' => 'Contract.friendly', 'min' => 0, 'max' => Float::INFINITY }, + 'legal' => { 'type' => 'Contract::Legal', 'path' => 'Contract.legal', 'min' => 0, 'max' => Float::INFINITY }, + 'rule' => { 'type' => 'Contract::Rule', 'path' => 'Contract.rule', 'min' => 0, 'max' => Float::INFINITY } } class Actor < FHIR::DSTU2::Model @@ -45,11 +45,11 @@ class Actor < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Actor.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Actor.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Actor.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'entity' => {'type'=>'Reference', 'path'=>'Actor.entity', 'min'=>1, 'max'=>1}, - 'role' => {'valid_codes'=>{'http://www.hl7.org/fhir/contractactorrole'=>['practitioner', 'patient']}, 'type'=>'CodeableConcept', 'path'=>'Actor.role', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-actorrole'}} + 'id' => { 'type' => 'id', 'path' => 'Actor.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Actor.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Actor.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'entity' => { 'type' => 'Reference', 'path' => 'Actor.entity', 'min' => 1, 'max' => 1 }, + 'role' => { 'valid_codes' => { 'http://www.hl7.org/fhir/contractactorrole' => ['practitioner', 'patient'] }, 'type' => 'CodeableConcept', 'path' => 'Actor.role', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-actorrole' } } } attr_accessor :id # 0-1 id @@ -68,18 +68,18 @@ class ValuedItem < FHIR::DSTU2::Model 'entity' => ['CodeableConcept', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'ValuedItem.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ValuedItem.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ValuedItem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'entityCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ValuedItem.entity[x]', 'min'=>0, 'max'=>1}, - 'entityReference' => {'type'=>'Reference', 'path'=>'ValuedItem.entity[x]', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ValuedItem.identifier', 'min'=>0, 'max'=>1}, - 'effectiveTime' => {'type'=>'dateTime', 'path'=>'ValuedItem.effectiveTime', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'ValuedItem.quantity', 'min'=>0, 'max'=>1}, - 'unitPrice' => {'type'=>'Quantity', 'path'=>'ValuedItem.unitPrice', 'min'=>0, 'max'=>1}, - 'factor' => {'type'=>'decimal', 'path'=>'ValuedItem.factor', 'min'=>0, 'max'=>1}, - 'points' => {'type'=>'decimal', 'path'=>'ValuedItem.points', 'min'=>0, 'max'=>1}, - 'net' => {'type'=>'Quantity', 'path'=>'ValuedItem.net', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ValuedItem.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'ValuedItem.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ValuedItem.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'entityCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ValuedItem.entity[x]', 'min' => 0, 'max' => 1 }, + 'entityReference' => { 'type' => 'Reference', 'path' => 'ValuedItem.entity[x]', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ValuedItem.identifier', 'min' => 0, 'max' => 1 }, + 'effectiveTime' => { 'type' => 'dateTime', 'path' => 'ValuedItem.effectiveTime', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'ValuedItem.quantity', 'min' => 0, 'max' => 1 }, + 'unitPrice' => { 'type' => 'Quantity', 'path' => 'ValuedItem.unitPrice', 'min' => 0, 'max' => 1 }, + 'factor' => { 'type' => 'decimal', 'path' => 'ValuedItem.factor', 'min' => 0, 'max' => 1 }, + 'points' => { 'type' => 'decimal', 'path' => 'ValuedItem.points', 'min' => 0, 'max' => 1 }, + 'net' => { 'type' => 'Quantity', 'path' => 'ValuedItem.net', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -102,12 +102,12 @@ class Signer < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Signer.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Signer.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Signer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/contractsignertypecodes'=>['1.2.840.10065.1.12.1.1', '1.2.840.10065.1.12.1.2', '1.2.840.10065.1.12.1.3', '1.2.840.10065.1.12.1.4', '1.2.840.10065.1.12.1.5', '1.2.840.10065.1.12.1.6', '1.2.840.10065.1.12.1.7', '1.2.840.10065.1.12.1.8', '1.2.840.10065.1.12.1.9', '1.2.840.10065.1.12.1.10', '1.2.840.10065.1.12.1.11', '1.2.840.10065.1.12.1.12', '1.2.840.10065.1.12.1.13', '1.2.840.10065.1.12.1.14', '1.2.840.10065.1.12.1.15', '1.2.840.10065.1.12.1.16', '1.2.840.10065.1.12.1.17']}, 'type'=>'Coding', 'path'=>'Signer.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-signer-type'}}, - 'party' => {'type'=>'Reference', 'path'=>'Signer.party', 'min'=>1, 'max'=>1}, - 'signature' => {'type'=>'string', 'path'=>'Signer.signature', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Signer.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Signer.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Signer.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/contractsignertypecodes' => ['1.2.840.10065.1.12.1.1', '1.2.840.10065.1.12.1.2', '1.2.840.10065.1.12.1.3', '1.2.840.10065.1.12.1.4', '1.2.840.10065.1.12.1.5', '1.2.840.10065.1.12.1.6', '1.2.840.10065.1.12.1.7', '1.2.840.10065.1.12.1.8', '1.2.840.10065.1.12.1.9', '1.2.840.10065.1.12.1.10', '1.2.840.10065.1.12.1.11', '1.2.840.10065.1.12.1.12', '1.2.840.10065.1.12.1.13', '1.2.840.10065.1.12.1.14', '1.2.840.10065.1.12.1.15', '1.2.840.10065.1.12.1.16', '1.2.840.10065.1.12.1.17'] }, 'type' => 'Coding', 'path' => 'Signer.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-signer-type' } }, + 'party' => { 'type' => 'Reference', 'path' => 'Signer.party', 'min' => 1, 'max' => 1 }, + 'signature' => { 'type' => 'string', 'path' => 'Signer.signature', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -124,21 +124,21 @@ class Term < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Term.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Term.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Term.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Term.identifier', 'min'=>0, 'max'=>1}, - 'issued' => {'type'=>'dateTime', 'path'=>'Term.issued', 'min'=>0, 'max'=>1}, - 'applies' => {'type'=>'Period', 'path'=>'Term.applies', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/contracttermtypecodes'=>['OralHealth', 'Vision']}, 'type'=>'CodeableConcept', 'path'=>'Term.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-term-type'}}, - 'subType' => {'valid_codes'=>{'http://hl7.org/fhir/contracttermsubtypecodes'=>['OralHealth-Basic', 'OralHealth-Major', 'OralHealth-Orthodontic']}, 'type'=>'CodeableConcept', 'path'=>'Term.subType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-term-subtype'}}, - 'subject' => {'type'=>'Reference', 'path'=>'Term.subject', 'min'=>0, 'max'=>1}, - 'action' => {'valid_codes'=>{'http://www.hl7.org/fhir/contractaction'=>['action-a', 'action-b']}, 'type'=>'CodeableConcept', 'path'=>'Term.action', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-action'}}, - 'actionReason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'CodeableConcept', 'path'=>'Term.actionReason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse'}}, - 'actor' => {'type'=>'Contract::Term::Actor', 'path'=>'Term.actor', 'min'=>0, 'max'=>Float::INFINITY}, - 'text' => {'type'=>'string', 'path'=>'Term.text', 'min'=>0, 'max'=>1}, - 'valuedItem' => {'type'=>'Contract::Term::ValuedItem', 'path'=>'Term.valuedItem', 'min'=>0, 'max'=>Float::INFINITY}, - 'group' => {'type'=>'Contract::Term', 'path'=>'Term.group', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Term.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Term.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Term.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Term.identifier', 'min' => 0, 'max' => 1 }, + 'issued' => { 'type' => 'dateTime', 'path' => 'Term.issued', 'min' => 0, 'max' => 1 }, + 'applies' => { 'type' => 'Period', 'path' => 'Term.applies', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/contracttermtypecodes' => ['OralHealth', 'Vision'] }, 'type' => 'CodeableConcept', 'path' => 'Term.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-term-type' } }, + 'subType' => { 'valid_codes' => { 'http://hl7.org/fhir/contracttermsubtypecodes' => ['OralHealth-Basic', 'OralHealth-Major', 'OralHealth-Orthodontic'] }, 'type' => 'CodeableConcept', 'path' => 'Term.subType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-term-subtype' } }, + 'subject' => { 'type' => 'Reference', 'path' => 'Term.subject', 'min' => 0, 'max' => 1 }, + 'action' => { 'valid_codes' => { 'http://www.hl7.org/fhir/contractaction' => ['action-a', 'action-b'] }, 'type' => 'CodeableConcept', 'path' => 'Term.action', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-action' } }, + 'actionReason' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'] }, 'type' => 'CodeableConcept', 'path' => 'Term.actionReason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse' } }, + 'actor' => { 'type' => 'Contract::Term::Actor', 'path' => 'Term.actor', 'min' => 0, 'max' => Float::INFINITY }, + 'text' => { 'type' => 'string', 'path' => 'Term.text', 'min' => 0, 'max' => 1 }, + 'valuedItem' => { 'type' => 'Contract::Term::ValuedItem', 'path' => 'Term.valuedItem', 'min' => 0, 'max' => Float::INFINITY }, + 'group' => { 'type' => 'Contract::Term', 'path' => 'Term.group', 'min' => 0, 'max' => Float::INFINITY } } class Actor < FHIR::DSTU2::Model @@ -147,11 +147,11 @@ class Actor < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Actor.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Actor.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Actor.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'entity' => {'type'=>'Reference', 'path'=>'Actor.entity', 'min'=>1, 'max'=>1}, - 'role' => {'valid_codes'=>{'http://www.hl7.org/fhir/contractactorrole'=>['practitioner', 'patient']}, 'type'=>'CodeableConcept', 'path'=>'Actor.role', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-actorrole'}} + 'id' => { 'type' => 'id', 'path' => 'Actor.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Actor.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Actor.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'entity' => { 'type' => 'Reference', 'path' => 'Actor.entity', 'min' => 1, 'max' => 1 }, + 'role' => { 'valid_codes' => { 'http://www.hl7.org/fhir/contractactorrole' => ['practitioner', 'patient'] }, 'type' => 'CodeableConcept', 'path' => 'Actor.role', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/contract-actorrole' } } } attr_accessor :id # 0-1 id @@ -170,18 +170,18 @@ class ValuedItem < FHIR::DSTU2::Model 'entity' => ['CodeableConcept', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'ValuedItem.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ValuedItem.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ValuedItem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'entityCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ValuedItem.entity[x]', 'min'=>0, 'max'=>1}, - 'entityReference' => {'type'=>'Reference', 'path'=>'ValuedItem.entity[x]', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ValuedItem.identifier', 'min'=>0, 'max'=>1}, - 'effectiveTime' => {'type'=>'dateTime', 'path'=>'ValuedItem.effectiveTime', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'ValuedItem.quantity', 'min'=>0, 'max'=>1}, - 'unitPrice' => {'type'=>'Quantity', 'path'=>'ValuedItem.unitPrice', 'min'=>0, 'max'=>1}, - 'factor' => {'type'=>'decimal', 'path'=>'ValuedItem.factor', 'min'=>0, 'max'=>1}, - 'points' => {'type'=>'decimal', 'path'=>'ValuedItem.points', 'min'=>0, 'max'=>1}, - 'net' => {'type'=>'Quantity', 'path'=>'ValuedItem.net', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ValuedItem.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'ValuedItem.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ValuedItem.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'entityCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ValuedItem.entity[x]', 'min' => 0, 'max' => 1 }, + 'entityReference' => { 'type' => 'Reference', 'path' => 'ValuedItem.entity[x]', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ValuedItem.identifier', 'min' => 0, 'max' => 1 }, + 'effectiveTime' => { 'type' => 'dateTime', 'path' => 'ValuedItem.effectiveTime', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'ValuedItem.quantity', 'min' => 0, 'max' => 1 }, + 'unitPrice' => { 'type' => 'Quantity', 'path' => 'ValuedItem.unitPrice', 'min' => 0, 'max' => 1 }, + 'factor' => { 'type' => 'decimal', 'path' => 'ValuedItem.factor', 'min' => 0, 'max' => 1 }, + 'points' => { 'type' => 'decimal', 'path' => 'ValuedItem.points', 'min' => 0, 'max' => 1 }, + 'net' => { 'type' => 'Quantity', 'path' => 'ValuedItem.net', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -224,11 +224,11 @@ class Friendly < FHIR::DSTU2::Model 'content' => ['Attachment', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Friendly.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Friendly.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Friendly.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'contentAttachment' => {'type'=>'Attachment', 'path'=>'Friendly.content[x]', 'min'=>1, 'max'=>1}, - 'contentReference' => {'type'=>'Reference', 'path'=>'Friendly.content[x]', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Friendly.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Friendly.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Friendly.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'contentAttachment' => { 'type' => 'Attachment', 'path' => 'Friendly.content[x]', 'min' => 1, 'max' => 1 }, + 'contentReference' => { 'type' => 'Reference', 'path' => 'Friendly.content[x]', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -247,11 +247,11 @@ class Legal < FHIR::DSTU2::Model 'content' => ['Attachment', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Legal.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Legal.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Legal.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'contentAttachment' => {'type'=>'Attachment', 'path'=>'Legal.content[x]', 'min'=>1, 'max'=>1}, - 'contentReference' => {'type'=>'Reference', 'path'=>'Legal.content[x]', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Legal.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Legal.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Legal.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'contentAttachment' => { 'type' => 'Attachment', 'path' => 'Legal.content[x]', 'min' => 1, 'max' => 1 }, + 'contentReference' => { 'type' => 'Reference', 'path' => 'Legal.content[x]', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -270,11 +270,11 @@ class Rule < FHIR::DSTU2::Model 'content' => ['Attachment', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Rule.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Rule.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Rule.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'contentAttachment' => {'type'=>'Attachment', 'path'=>'Rule.content[x]', 'min'=>1, 'max'=>1}, - 'contentReference' => {'type'=>'Reference', 'path'=>'Rule.content[x]', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Rule.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Rule.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Rule.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'contentAttachment' => { 'type' => 'Attachment', 'path' => 'Rule.content[x]', 'min' => 1, 'max' => 1 }, + 'contentReference' => { 'type' => 'Reference', 'path' => 'Rule.content[x]', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Coverage.rb b/lib/fhir_dstu2_models/fhir/resources/Coverage.rb index 155bc496..bb85a432 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Coverage.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Coverage.rb @@ -7,28 +7,28 @@ class Coverage < FHIR::DSTU2::Model SEARCH_PARAMS = ['dependent', 'group', 'identifier', 'issuer', 'plan', 'sequence', 'subplan', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Coverage.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Coverage.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Coverage.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Coverage.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Coverage.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Coverage.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Coverage.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Coverage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'issuer' => {'type'=>'Reference', 'path'=>'Coverage.issuer', 'min'=>0, 'max'=>1}, - 'bin' => {'type'=>'Identifier', 'path'=>'Coverage.bin', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Coverage.period', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'Coding', 'path'=>'Coverage.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActCoverageTypeCode'}}, - 'subscriberId' => {'type'=>'Identifier', 'path'=>'Coverage.subscriberId', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Coverage.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'group' => {'type'=>'string', 'path'=>'Coverage.group', 'min'=>0, 'max'=>1}, - 'plan' => {'type'=>'string', 'path'=>'Coverage.plan', 'min'=>0, 'max'=>1}, - 'subPlan' => {'type'=>'string', 'path'=>'Coverage.subPlan', 'min'=>0, 'max'=>1}, - 'dependent' => {'type'=>'positiveInt', 'path'=>'Coverage.dependent', 'min'=>0, 'max'=>1}, - 'sequence' => {'type'=>'positiveInt', 'path'=>'Coverage.sequence', 'min'=>0, 'max'=>1}, - 'subscriber' => {'type'=>'Reference', 'path'=>'Coverage.subscriber', 'min'=>0, 'max'=>1}, - 'network' => {'type'=>'Identifier', 'path'=>'Coverage.network', 'min'=>0, 'max'=>1}, - 'contract' => {'type'=>'Reference', 'path'=>'Coverage.contract', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Coverage.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Coverage.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Coverage.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Coverage.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Coverage.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Coverage.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Coverage.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Coverage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'issuer' => { 'type' => 'Reference', 'path' => 'Coverage.issuer', 'min' => 0, 'max' => 1 }, + 'bin' => { 'type' => 'Identifier', 'path' => 'Coverage.bin', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'Coverage.period', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'Coding', 'path' => 'Coverage.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActCoverageTypeCode' } }, + 'subscriberId' => { 'type' => 'Identifier', 'path' => 'Coverage.subscriberId', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Coverage.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'group' => { 'type' => 'string', 'path' => 'Coverage.group', 'min' => 0, 'max' => 1 }, + 'plan' => { 'type' => 'string', 'path' => 'Coverage.plan', 'min' => 0, 'max' => 1 }, + 'subPlan' => { 'type' => 'string', 'path' => 'Coverage.subPlan', 'min' => 0, 'max' => 1 }, + 'dependent' => { 'type' => 'positiveInt', 'path' => 'Coverage.dependent', 'min' => 0, 'max' => 1 }, + 'sequence' => { 'type' => 'positiveInt', 'path' => 'Coverage.sequence', 'min' => 0, 'max' => 1 }, + 'subscriber' => { 'type' => 'Reference', 'path' => 'Coverage.subscriber', 'min' => 0, 'max' => 1 }, + 'network' => { 'type' => 'Identifier', 'path' => 'Coverage.network', 'min' => 0, 'max' => 1 }, + 'contract' => { 'type' => 'Reference', 'path' => 'Coverage.contract', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DataElement.rb b/lib/fhir_dstu2_models/fhir/resources/DataElement.rb index d32cb396..88a1441e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DataElement.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DataElement.rb @@ -7,28 +7,28 @@ class DataElement < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'context', 'date', 'description', 'identifier', 'name', 'publisher', 'status', 'stringency', 'url', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DataElement.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DataElement.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DataElement.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DataElement.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DataElement.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DataElement.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DataElement.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DataElement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'DataElement.url', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DataElement.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'version' => {'type'=>'string', 'path'=>'DataElement.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'DataElement.name', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'DataElement.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'DataElement.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'DataElement.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'DataElement::Contact', 'path'=>'DataElement.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'DataElement.date', 'min'=>0, 'max'=>1}, - 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'DataElement.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, - 'copyright' => {'type'=>'string', 'path'=>'DataElement.copyright', 'min'=>0, 'max'=>1}, - 'stringency' => {'valid_codes'=>{'http://hl7.org/fhir/dataelement-stringency'=>['comparable', 'fully-specified', 'equivalent', 'convertable', 'scaleable', 'flexible']}, 'type'=>'code', 'path'=>'DataElement.stringency', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/dataelement-stringency'}}, - 'mapping' => {'type'=>'DataElement::Mapping', 'path'=>'DataElement.mapping', 'min'=>0, 'max'=>Float::INFINITY}, - 'element' => {'type'=>'ElementDefinition', 'path'=>'DataElement.element', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'DataElement.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DataElement.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DataElement.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DataElement.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DataElement.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DataElement.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DataElement.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DataElement.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'DataElement.url', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DataElement.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'version' => { 'type' => 'string', 'path' => 'DataElement.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'DataElement.name', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'DataElement.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'DataElement.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'DataElement.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'DataElement::Contact', 'path' => 'DataElement.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'DataElement.date', 'min' => 0, 'max' => 1 }, + 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'DataElement.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, + 'copyright' => { 'type' => 'string', 'path' => 'DataElement.copyright', 'min' => 0, 'max' => 1 }, + 'stringency' => { 'valid_codes' => { 'http://hl7.org/fhir/dataelement-stringency' => ['comparable', 'fully-specified', 'equivalent', 'convertable', 'scaleable', 'flexible'] }, 'type' => 'code', 'path' => 'DataElement.stringency', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/dataelement-stringency' } }, + 'mapping' => { 'type' => 'DataElement::Mapping', 'path' => 'DataElement.mapping', 'min' => 0, 'max' => Float::INFINITY }, + 'element' => { 'type' => 'ElementDefinition', 'path' => 'DataElement.element', 'min' => 1, 'max' => Float::INFINITY } } class Contact < FHIR::DSTU2::Model @@ -37,11 +37,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -57,13 +57,13 @@ class Mapping < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Mapping.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Mapping.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Mapping.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identity' => {'type'=>'id', 'path'=>'Mapping.identity', 'min'=>1, 'max'=>1}, - 'uri' => {'type'=>'uri', 'path'=>'Mapping.uri', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'Mapping.name', 'min'=>0, 'max'=>1}, - 'comments' => {'type'=>'string', 'path'=>'Mapping.comments', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Mapping.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Mapping.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Mapping.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identity' => { 'type' => 'id', 'path' => 'Mapping.identity', 'min' => 1, 'max' => 1 }, + 'uri' => { 'type' => 'uri', 'path' => 'Mapping.uri', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'Mapping.name', 'min' => 0, 'max' => 1 }, + 'comments' => { 'type' => 'string', 'path' => 'Mapping.comments', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb b/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb index 335d3259..303f91c2 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb @@ -7,24 +7,24 @@ class DetectedIssue < FHIR::DSTU2::Model SEARCH_PARAMS = ['author', 'category', 'date', 'identifier', 'implicated', 'patient'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DetectedIssue.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DetectedIssue.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DetectedIssue.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DetectedIssue.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DetectedIssue.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DetectedIssue.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DetectedIssue.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DetectedIssue.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'DetectedIssue.patient', 'min'=>0, 'max'=>1}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'CodeableConcept', 'path'=>'DetectedIssue.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/detectedissue-category'}}, - 'severity' => {'valid_codes'=>{'http://hl7.org/fhir/detectedissue-severity'=>['high', 'moderate', 'low']}, 'type'=>'code', 'path'=>'DetectedIssue.severity', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/detectedissue-severity'}}, - 'implicated' => {'type'=>'Reference', 'path'=>'DetectedIssue.implicated', 'min'=>0, 'max'=>Float::INFINITY}, - 'detail' => {'type'=>'string', 'path'=>'DetectedIssue.detail', 'min'=>0, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'DetectedIssue.date', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'DetectedIssue.author', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DetectedIssue.identifier', 'min'=>0, 'max'=>1}, - 'reference' => {'type'=>'uri', 'path'=>'DetectedIssue.reference', 'min'=>0, 'max'=>1}, - 'mitigation' => {'type'=>'DetectedIssue::Mitigation', 'path'=>'DetectedIssue.mitigation', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'DetectedIssue.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DetectedIssue.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DetectedIssue.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DetectedIssue.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DetectedIssue.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DetectedIssue.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DetectedIssue.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DetectedIssue.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'DetectedIssue.patient', 'min' => 0, 'max' => 1 }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'CodeableConcept', 'path' => 'DetectedIssue.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/detectedissue-category' } }, + 'severity' => { 'valid_codes' => { 'http://hl7.org/fhir/detectedissue-severity' => ['high', 'moderate', 'low'] }, 'type' => 'code', 'path' => 'DetectedIssue.severity', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/detectedissue-severity' } }, + 'implicated' => { 'type' => 'Reference', 'path' => 'DetectedIssue.implicated', 'min' => 0, 'max' => Float::INFINITY }, + 'detail' => { 'type' => 'string', 'path' => 'DetectedIssue.detail', 'min' => 0, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'DetectedIssue.date', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'DetectedIssue.author', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DetectedIssue.identifier', 'min' => 0, 'max' => 1 }, + 'reference' => { 'type' => 'uri', 'path' => 'DetectedIssue.reference', 'min' => 0, 'max' => 1 }, + 'mitigation' => { 'type' => 'DetectedIssue::Mitigation', 'path' => 'DetectedIssue.mitigation', 'min' => 0, 'max' => Float::INFINITY } } class Mitigation < FHIR::DSTU2::Model @@ -33,12 +33,12 @@ class Mitigation < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Mitigation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Mitigation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Mitigation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'action' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'CodeableConcept', 'path'=>'Mitigation.action', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action'}}, - 'date' => {'type'=>'dateTime', 'path'=>'Mitigation.date', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'Mitigation.author', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Mitigation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Mitigation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Mitigation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'action' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'CodeableConcept', 'path' => 'Mitigation.action', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action' } }, + 'date' => { 'type' => 'dateTime', 'path' => 'Mitigation.date', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'Mitigation.author', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Device.rb b/lib/fhir_dstu2_models/fhir/resources/Device.rb index 8171a94f..a163e801 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Device.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Device.rb @@ -7,30 +7,30 @@ class Device < FHIR::DSTU2::Model SEARCH_PARAMS = ['parent', 'source', 'type', 'category', 'identifier', 'parent', 'source', 'type', 'identifier', 'location', 'manufacturer', 'model', 'organization', 'patient', 'type', 'udi', 'url', 'device', 'patient', 'subject', 'device', 'patient', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Device.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Device.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Device.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Device.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Device.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Device.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Device.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Device.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Device.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'type'=>'CodeableConcept', 'path'=>'Device.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'https://www.gmdnagency.org/Info.aspx?pageid=1091'}}, - 'note' => {'type'=>'Annotation', 'path'=>'Device.note', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/devicestatus'=>['available', 'not-available', 'entered-in-error']}, 'type'=>'code', 'path'=>'Device.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/devicestatus'}}, - 'manufacturer' => {'type'=>'string', 'path'=>'Device.manufacturer', 'min'=>0, 'max'=>1}, - 'model' => {'type'=>'string', 'path'=>'Device.model', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Device.version', 'min'=>0, 'max'=>1}, - 'manufactureDate' => {'type'=>'dateTime', 'path'=>'Device.manufactureDate', 'min'=>0, 'max'=>1}, - 'expiry' => {'type'=>'dateTime', 'path'=>'Device.expiry', 'min'=>0, 'max'=>1}, - 'udi' => {'type'=>'string', 'path'=>'Device.udi', 'min'=>0, 'max'=>1}, - 'lotNumber' => {'type'=>'string', 'path'=>'Device.lotNumber', 'min'=>0, 'max'=>1}, - 'owner' => {'type'=>'Reference', 'path'=>'Device.owner', 'min'=>0, 'max'=>1}, - 'location' => {'type'=>'Reference', 'path'=>'Device.location', 'min'=>0, 'max'=>1}, - 'patient' => {'type'=>'Reference', 'path'=>'Device.patient', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'ContactPoint', 'path'=>'Device.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'Device.url', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Device.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Device.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Device.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Device.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Device.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Device.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Device.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Device.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Device.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'type' => 'CodeableConcept', 'path' => 'Device.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'https://www.gmdnagency.org/Info.aspx?pageid=1091' } }, + 'note' => { 'type' => 'Annotation', 'path' => 'Device.note', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/devicestatus' => ['available', 'not-available', 'entered-in-error'] }, 'type' => 'code', 'path' => 'Device.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/devicestatus' } }, + 'manufacturer' => { 'type' => 'string', 'path' => 'Device.manufacturer', 'min' => 0, 'max' => 1 }, + 'model' => { 'type' => 'string', 'path' => 'Device.model', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'Device.version', 'min' => 0, 'max' => 1 }, + 'manufactureDate' => { 'type' => 'dateTime', 'path' => 'Device.manufactureDate', 'min' => 0, 'max' => 1 }, + 'expiry' => { 'type' => 'dateTime', 'path' => 'Device.expiry', 'min' => 0, 'max' => 1 }, + 'udi' => { 'type' => 'string', 'path' => 'Device.udi', 'min' => 0, 'max' => 1 }, + 'lotNumber' => { 'type' => 'string', 'path' => 'Device.lotNumber', 'min' => 0, 'max' => 1 }, + 'owner' => { 'type' => 'Reference', 'path' => 'Device.owner', 'min' => 0, 'max' => 1 }, + 'location' => { 'type' => 'Reference', 'path' => 'Device.location', 'min' => 0, 'max' => 1 }, + 'patient' => { 'type' => 'Reference', 'path' => 'Device.patient', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'ContactPoint', 'path' => 'Device.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'Device.url', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb index bbba1a73..6dbcea42 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb @@ -7,24 +7,24 @@ class DeviceComponent < FHIR::DSTU2::Model SEARCH_PARAMS = ['parent', 'source', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DeviceComponent.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DeviceComponent.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DeviceComponent.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DeviceComponent.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DeviceComponent.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DeviceComponent.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DeviceComponent.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DeviceComponent.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'type'=>'CodeableConcept', 'path'=>'DeviceComponent.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'https://rtmms.nist.gov/rtmms/index.htm#!hrosetta'}}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DeviceComponent.identifier', 'min'=>1, 'max'=>1}, - 'lastSystemChange' => {'type'=>'instant', 'path'=>'DeviceComponent.lastSystemChange', 'min'=>1, 'max'=>1}, - 'source' => {'type'=>'Reference', 'path'=>'DeviceComponent.source', 'min'=>0, 'max'=>1}, - 'parent' => {'type'=>'Reference', 'path'=>'DeviceComponent.parent', 'min'=>0, 'max'=>1}, - 'operationalStatus' => {'type'=>'CodeableConcept', 'path'=>'DeviceComponent.operationalStatus', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'parameterGroup' => {'type'=>'CodeableConcept', 'path'=>'DeviceComponent.parameterGroup', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'measurementPrinciple' => {'valid_codes'=>{'http://hl7.org/fhir/measurement-principle'=>['other', 'chemical', 'electrical', 'impedance', 'nuclear', 'optical', 'thermal', 'biological', 'mechanical', 'acoustical', 'manual']}, 'type'=>'code', 'path'=>'DeviceComponent.measurementPrinciple', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/measurement-principle'}}, - 'productionSpecification' => {'type'=>'DeviceComponent::ProductionSpecification', 'path'=>'DeviceComponent.productionSpecification', 'min'=>0, 'max'=>Float::INFINITY}, - 'languageCode' => {'type'=>'CodeableConcept', 'path'=>'DeviceComponent.languageCode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}} + 'id' => { 'type' => 'id', 'path' => 'DeviceComponent.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DeviceComponent.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DeviceComponent.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DeviceComponent.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DeviceComponent.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DeviceComponent.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DeviceComponent.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DeviceComponent.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'type' => 'CodeableConcept', 'path' => 'DeviceComponent.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'https://rtmms.nist.gov/rtmms/index.htm#!hrosetta' } }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DeviceComponent.identifier', 'min' => 1, 'max' => 1 }, + 'lastSystemChange' => { 'type' => 'instant', 'path' => 'DeviceComponent.lastSystemChange', 'min' => 1, 'max' => 1 }, + 'source' => { 'type' => 'Reference', 'path' => 'DeviceComponent.source', 'min' => 0, 'max' => 1 }, + 'parent' => { 'type' => 'Reference', 'path' => 'DeviceComponent.parent', 'min' => 0, 'max' => 1 }, + 'operationalStatus' => { 'type' => 'CodeableConcept', 'path' => 'DeviceComponent.operationalStatus', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'parameterGroup' => { 'type' => 'CodeableConcept', 'path' => 'DeviceComponent.parameterGroup', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'measurementPrinciple' => { 'valid_codes' => { 'http://hl7.org/fhir/measurement-principle' => ['other', 'chemical', 'electrical', 'impedance', 'nuclear', 'optical', 'thermal', 'biological', 'mechanical', 'acoustical', 'manual'] }, 'type' => 'code', 'path' => 'DeviceComponent.measurementPrinciple', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/measurement-principle' } }, + 'productionSpecification' => { 'type' => 'DeviceComponent::ProductionSpecification', 'path' => 'DeviceComponent.productionSpecification', 'min' => 0, 'max' => Float::INFINITY }, + 'languageCode' => { 'type' => 'CodeableConcept', 'path' => 'DeviceComponent.languageCode', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } } } class ProductionSpecification < FHIR::DSTU2::Model @@ -33,12 +33,12 @@ class ProductionSpecification < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'ProductionSpecification.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ProductionSpecification.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ProductionSpecification.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'specType' => {'type'=>'CodeableConcept', 'path'=>'ProductionSpecification.specType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'componentId' => {'type'=>'Identifier', 'path'=>'ProductionSpecification.componentId', 'min'=>0, 'max'=>1}, - 'productionSpec' => {'type'=>'string', 'path'=>'ProductionSpecification.productionSpec', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ProductionSpecification.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'ProductionSpecification.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProductionSpecification.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'specType' => { 'type' => 'CodeableConcept', 'path' => 'ProductionSpecification.specType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'componentId' => { 'type' => 'Identifier', 'path' => 'ProductionSpecification.componentId', 'min' => 0, 'max' => 1 }, + 'productionSpec' => { 'type' => 'string', 'path' => 'ProductionSpecification.productionSpec', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb index 881284d8..23ca0241 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb @@ -7,24 +7,24 @@ class DeviceMetric < FHIR::DSTU2::Model SEARCH_PARAMS = ['category', 'identifier', 'parent', 'source', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DeviceMetric.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DeviceMetric.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DeviceMetric.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DeviceMetric.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DeviceMetric.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DeviceMetric.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DeviceMetric.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DeviceMetric.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'type'=>'CodeableConcept', 'path'=>'DeviceMetric.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'https://rtmms.nist.gov/rtmms/index.htm#!hrosetta'}}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DeviceMetric.identifier', 'min'=>1, 'max'=>1}, - 'unit' => {'type'=>'CodeableConcept', 'path'=>'DeviceMetric.unit', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'https://rtmms.nist.gov/rtmms/index.htm#!units'}}, - 'source' => {'type'=>'Reference', 'path'=>'DeviceMetric.source', 'min'=>0, 'max'=>1}, - 'parent' => {'type'=>'Reference', 'path'=>'DeviceMetric.parent', 'min'=>0, 'max'=>1}, - 'operationalStatus' => {'valid_codes'=>{'http://hl7.org/fhir/metric-operational-status'=>['on', 'off', 'standby']}, 'type'=>'code', 'path'=>'DeviceMetric.operationalStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/metric-operational-status'}}, - 'color' => {'valid_codes'=>{'http://hl7.org/fhir/metric-color'=>['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white']}, 'type'=>'code', 'path'=>'DeviceMetric.color', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/metric-color'}}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/metric-category'=>['measurement', 'setting', 'calculation', 'unspecified']}, 'type'=>'code', 'path'=>'DeviceMetric.category', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/metric-category'}}, - 'measurementPeriod' => {'type'=>'Timing', 'path'=>'DeviceMetric.measurementPeriod', 'min'=>0, 'max'=>1}, - 'calibration' => {'type'=>'DeviceMetric::Calibration', 'path'=>'DeviceMetric.calibration', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'DeviceMetric.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DeviceMetric.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DeviceMetric.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DeviceMetric.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DeviceMetric.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DeviceMetric.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DeviceMetric.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DeviceMetric.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'type' => 'CodeableConcept', 'path' => 'DeviceMetric.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'https://rtmms.nist.gov/rtmms/index.htm#!hrosetta' } }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DeviceMetric.identifier', 'min' => 1, 'max' => 1 }, + 'unit' => { 'type' => 'CodeableConcept', 'path' => 'DeviceMetric.unit', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'https://rtmms.nist.gov/rtmms/index.htm#!units' } }, + 'source' => { 'type' => 'Reference', 'path' => 'DeviceMetric.source', 'min' => 0, 'max' => 1 }, + 'parent' => { 'type' => 'Reference', 'path' => 'DeviceMetric.parent', 'min' => 0, 'max' => 1 }, + 'operationalStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/metric-operational-status' => ['on', 'off', 'standby'] }, 'type' => 'code', 'path' => 'DeviceMetric.operationalStatus', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/metric-operational-status' } }, + 'color' => { 'valid_codes' => { 'http://hl7.org/fhir/metric-color' => ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'] }, 'type' => 'code', 'path' => 'DeviceMetric.color', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/metric-color' } }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/metric-category' => ['measurement', 'setting', 'calculation', 'unspecified'] }, 'type' => 'code', 'path' => 'DeviceMetric.category', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/metric-category' } }, + 'measurementPeriod' => { 'type' => 'Timing', 'path' => 'DeviceMetric.measurementPeriod', 'min' => 0, 'max' => 1 }, + 'calibration' => { 'type' => 'DeviceMetric::Calibration', 'path' => 'DeviceMetric.calibration', 'min' => 0, 'max' => Float::INFINITY } } class Calibration < FHIR::DSTU2::Model @@ -33,12 +33,12 @@ class Calibration < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Calibration.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Calibration.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Calibration.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/metric-calibration-type'=>['unspecified', 'offset', 'gain', 'two-point']}, 'type'=>'code', 'path'=>'Calibration.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/metric-calibration-type'}}, - 'state' => {'valid_codes'=>{'http://hl7.org/fhir/metric-calibration-state'=>['not-calibrated', 'calibration-required', 'calibrated', 'unspecified']}, 'type'=>'code', 'path'=>'Calibration.state', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/metric-calibration-state'}}, - 'time' => {'type'=>'instant', 'path'=>'Calibration.time', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Calibration.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Calibration.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Calibration.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/metric-calibration-type' => ['unspecified', 'offset', 'gain', 'two-point'] }, 'type' => 'code', 'path' => 'Calibration.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/metric-calibration-type' } }, + 'state' => { 'valid_codes' => { 'http://hl7.org/fhir/metric-calibration-state' => ['not-calibrated', 'calibration-required', 'calibrated', 'unspecified'] }, 'type' => 'code', 'path' => 'Calibration.state', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/metric-calibration-state' } }, + 'time' => { 'type' => 'instant', 'path' => 'Calibration.time', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb index cb180bca..683bae5f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb @@ -11,30 +11,30 @@ class DeviceUseRequest < FHIR::DSTU2::Model } SEARCH_PARAMS = ['device', 'patient', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DeviceUseRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DeviceUseRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DeviceUseRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DeviceUseRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DeviceUseRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DeviceUseRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DeviceUseRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DeviceUseRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'bodySiteCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DeviceUseRequest.bodySite[x]', 'min'=>0, 'max'=>1}, - 'bodySiteReference' => {'type'=>'Reference', 'path'=>'DeviceUseRequest.bodySite[x]', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/device-use-request-status'=>['proposed', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'aborted']}, 'type'=>'code', 'path'=>'DeviceUseRequest.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/device-use-request-status'}}, - 'device' => {'type'=>'Reference', 'path'=>'DeviceUseRequest.device', 'min'=>1, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'DeviceUseRequest.encounter', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DeviceUseRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'indication' => {'type'=>'CodeableConcept', 'path'=>'DeviceUseRequest.indication', 'min'=>0, 'max'=>Float::INFINITY}, - 'notes' => {'type'=>'string', 'path'=>'DeviceUseRequest.notes', 'min'=>0, 'max'=>Float::INFINITY}, - 'prnReason' => {'type'=>'CodeableConcept', 'path'=>'DeviceUseRequest.prnReason', 'min'=>0, 'max'=>Float::INFINITY}, - 'orderedOn' => {'type'=>'dateTime', 'path'=>'DeviceUseRequest.orderedOn', 'min'=>0, 'max'=>1}, - 'recordedOn' => {'type'=>'dateTime', 'path'=>'DeviceUseRequest.recordedOn', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'DeviceUseRequest.subject', 'min'=>1, 'max'=>1}, - 'timingTiming' => {'type'=>'Timing', 'path'=>'DeviceUseRequest.timing[x]', 'min'=>0, 'max'=>1}, - 'timingPeriod' => {'type'=>'Period', 'path'=>'DeviceUseRequest.timing[x]', 'min'=>0, 'max'=>1}, - 'timingDateTime' => {'type'=>'dateTime', 'path'=>'DeviceUseRequest.timing[x]', 'min'=>0, 'max'=>1}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/device-use-request-priority'=>['routine', 'urgent', 'stat', 'asap']}, 'type'=>'code', 'path'=>'DeviceUseRequest.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/device-use-request-priority'}} + 'id' => { 'type' => 'id', 'path' => 'DeviceUseRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DeviceUseRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DeviceUseRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DeviceUseRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DeviceUseRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DeviceUseRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DeviceUseRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DeviceUseRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'bodySiteCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'DeviceUseRequest.bodySite[x]', 'min' => 0, 'max' => 1 }, + 'bodySiteReference' => { 'type' => 'Reference', 'path' => 'DeviceUseRequest.bodySite[x]', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/device-use-request-status' => ['proposed', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'aborted'] }, 'type' => 'code', 'path' => 'DeviceUseRequest.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/device-use-request-status' } }, + 'device' => { 'type' => 'Reference', 'path' => 'DeviceUseRequest.device', 'min' => 1, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'DeviceUseRequest.encounter', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DeviceUseRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'indication' => { 'type' => 'CodeableConcept', 'path' => 'DeviceUseRequest.indication', 'min' => 0, 'max' => Float::INFINITY }, + 'notes' => { 'type' => 'string', 'path' => 'DeviceUseRequest.notes', 'min' => 0, 'max' => Float::INFINITY }, + 'prnReason' => { 'type' => 'CodeableConcept', 'path' => 'DeviceUseRequest.prnReason', 'min' => 0, 'max' => Float::INFINITY }, + 'orderedOn' => { 'type' => 'dateTime', 'path' => 'DeviceUseRequest.orderedOn', 'min' => 0, 'max' => 1 }, + 'recordedOn' => { 'type' => 'dateTime', 'path' => 'DeviceUseRequest.recordedOn', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'DeviceUseRequest.subject', 'min' => 1, 'max' => 1 }, + 'timingTiming' => { 'type' => 'Timing', 'path' => 'DeviceUseRequest.timing[x]', 'min' => 0, 'max' => 1 }, + 'timingPeriod' => { 'type' => 'Period', 'path' => 'DeviceUseRequest.timing[x]', 'min' => 0, 'max' => 1 }, + 'timingDateTime' => { 'type' => 'dateTime', 'path' => 'DeviceUseRequest.timing[x]', 'min' => 0, 'max' => 1 }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/device-use-request-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'code', 'path' => 'DeviceUseRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/device-use-request-priority' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb b/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb index 67e1db4e..4d1cea7e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb @@ -11,26 +11,26 @@ class DeviceUseStatement < FHIR::DSTU2::Model } SEARCH_PARAMS = ['device', 'patient', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DeviceUseStatement.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DeviceUseStatement.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DeviceUseStatement.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DeviceUseStatement.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DeviceUseStatement.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DeviceUseStatement.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DeviceUseStatement.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DeviceUseStatement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'bodySiteCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DeviceUseStatement.bodySite[x]', 'min'=>0, 'max'=>1}, - 'bodySiteReference' => {'type'=>'Reference', 'path'=>'DeviceUseStatement.bodySite[x]', 'min'=>0, 'max'=>1}, - 'whenUsed' => {'type'=>'Period', 'path'=>'DeviceUseStatement.whenUsed', 'min'=>0, 'max'=>1}, - 'device' => {'type'=>'Reference', 'path'=>'DeviceUseStatement.device', 'min'=>1, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DeviceUseStatement.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'indication' => {'type'=>'CodeableConcept', 'path'=>'DeviceUseStatement.indication', 'min'=>0, 'max'=>Float::INFINITY}, - 'notes' => {'type'=>'string', 'path'=>'DeviceUseStatement.notes', 'min'=>0, 'max'=>Float::INFINITY}, - 'recordedOn' => {'type'=>'dateTime', 'path'=>'DeviceUseStatement.recordedOn', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'DeviceUseStatement.subject', 'min'=>1, 'max'=>1}, - 'timingTiming' => {'type'=>'Timing', 'path'=>'DeviceUseStatement.timing[x]', 'min'=>0, 'max'=>1}, - 'timingPeriod' => {'type'=>'Period', 'path'=>'DeviceUseStatement.timing[x]', 'min'=>0, 'max'=>1}, - 'timingDateTime' => {'type'=>'dateTime', 'path'=>'DeviceUseStatement.timing[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'DeviceUseStatement.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DeviceUseStatement.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DeviceUseStatement.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DeviceUseStatement.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DeviceUseStatement.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DeviceUseStatement.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DeviceUseStatement.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DeviceUseStatement.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'bodySiteCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'DeviceUseStatement.bodySite[x]', 'min' => 0, 'max' => 1 }, + 'bodySiteReference' => { 'type' => 'Reference', 'path' => 'DeviceUseStatement.bodySite[x]', 'min' => 0, 'max' => 1 }, + 'whenUsed' => { 'type' => 'Period', 'path' => 'DeviceUseStatement.whenUsed', 'min' => 0, 'max' => 1 }, + 'device' => { 'type' => 'Reference', 'path' => 'DeviceUseStatement.device', 'min' => 1, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DeviceUseStatement.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'indication' => { 'type' => 'CodeableConcept', 'path' => 'DeviceUseStatement.indication', 'min' => 0, 'max' => Float::INFINITY }, + 'notes' => { 'type' => 'string', 'path' => 'DeviceUseStatement.notes', 'min' => 0, 'max' => Float::INFINITY }, + 'recordedOn' => { 'type' => 'dateTime', 'path' => 'DeviceUseStatement.recordedOn', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'DeviceUseStatement.subject', 'min' => 1, 'max' => 1 }, + 'timingTiming' => { 'type' => 'Timing', 'path' => 'DeviceUseStatement.timing[x]', 'min' => 0, 'max' => 1 }, + 'timingPeriod' => { 'type' => 'Period', 'path' => 'DeviceUseStatement.timing[x]', 'min' => 0, 'max' => 1 }, + 'timingDateTime' => { 'type' => 'dateTime', 'path' => 'DeviceUseStatement.timing[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb b/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb index a7410ba9..aa35bcb5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb @@ -7,26 +7,26 @@ class DiagnosticOrder < FHIR::DSTU2::Model SEARCH_PARAMS = ['actor', 'bodysite', 'code', 'encounter', 'event-date', 'event-status', 'identifier', 'item-date', 'item-past-status', 'item-status', 'orderer', 'patient', 'specimen', 'status', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DiagnosticOrder.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DiagnosticOrder.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DiagnosticOrder.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DiagnosticOrder.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DiagnosticOrder.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DiagnosticOrder.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DiagnosticOrder.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DiagnosticOrder.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'DiagnosticOrder.subject', 'min'=>1, 'max'=>1}, - 'orderer' => {'type'=>'Reference', 'path'=>'DiagnosticOrder.orderer', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DiagnosticOrder.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'encounter' => {'type'=>'Reference', 'path'=>'DiagnosticOrder.encounter', 'min'=>0, 'max'=>1}, - 'reason' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DiagnosticOrder.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'supportingInformation' => {'type'=>'Reference', 'path'=>'DiagnosticOrder.supportingInformation', 'min'=>0, 'max'=>Float::INFINITY}, - 'specimen' => {'type'=>'Reference', 'path'=>'DiagnosticOrder.specimen', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-order-status'=>['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed']}, 'type'=>'code', 'path'=>'DiagnosticOrder.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-status'}}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-order-priority'=>['routine', 'urgent', 'stat', 'asap']}, 'type'=>'code', 'path'=>'DiagnosticOrder.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-priority'}}, - 'event' => {'type'=>'DiagnosticOrder::Event', 'path'=>'DiagnosticOrder.event', 'min'=>0, 'max'=>Float::INFINITY}, - 'item' => {'type'=>'DiagnosticOrder::Item', 'path'=>'DiagnosticOrder.item', 'min'=>0, 'max'=>Float::INFINITY}, - 'note' => {'type'=>'Annotation', 'path'=>'DiagnosticOrder.note', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'DiagnosticOrder.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DiagnosticOrder.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DiagnosticOrder.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DiagnosticOrder.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DiagnosticOrder.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DiagnosticOrder.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DiagnosticOrder.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DiagnosticOrder.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.subject', 'min' => 1, 'max' => 1 }, + 'orderer' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.orderer', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DiagnosticOrder.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'encounter' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.encounter', 'min' => 0, 'max' => 1 }, + 'reason' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'DiagnosticOrder.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'supportingInformation' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.supportingInformation', 'min' => 0, 'max' => Float::INFINITY }, + 'specimen' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.specimen', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-status' => ['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'DiagnosticOrder.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-status' } }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'code', 'path' => 'DiagnosticOrder.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-priority' } }, + 'event' => { 'type' => 'DiagnosticOrder::Event', 'path' => 'DiagnosticOrder.event', 'min' => 0, 'max' => Float::INFINITY }, + 'item' => { 'type' => 'DiagnosticOrder::Item', 'path' => 'DiagnosticOrder.item', 'min' => 0, 'max' => Float::INFINITY }, + 'note' => { 'type' => 'Annotation', 'path' => 'DiagnosticOrder.note', 'min' => 0, 'max' => Float::INFINITY } } class Event < FHIR::DSTU2::Model @@ -35,13 +35,13 @@ class Event < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Event.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Event.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Event.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-order-status'=>['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed']}, 'type'=>'code', 'path'=>'Event.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-status'}}, - 'description' => {'valid_codes'=>{'http://snomed.info/sct'=>['440622005', '394838008', '26895000']}, 'type'=>'CodeableConcept', 'path'=>'Event.description', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-event'}}, - 'dateTime' => {'type'=>'dateTime', 'path'=>'Event.dateTime', 'min'=>1, 'max'=>1}, - 'actor' => {'type'=>'Reference', 'path'=>'Event.actor', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Event.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Event.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Event.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-status' => ['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'Event.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-status' } }, + 'description' => { 'valid_codes' => { 'http://snomed.info/sct' => ['440622005', '394838008', '26895000'] }, 'type' => 'CodeableConcept', 'path' => 'Event.description', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-event' } }, + 'dateTime' => { 'type' => 'dateTime', 'path' => 'Event.dateTime', 'min' => 1, 'max' => 1 }, + 'actor' => { 'type' => 'Reference', 'path' => 'Event.actor', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -59,14 +59,14 @@ class Item < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Item.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Item.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Item.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Item.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-requests'}}, - 'specimen' => {'type'=>'Reference', 'path'=>'Item.specimen', 'min'=>0, 'max'=>Float::INFINITY}, - 'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Item.bodySite', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-order-status'=>['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed']}, 'type'=>'code', 'path'=>'Item.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-status'}}, - 'event' => {'type'=>'DiagnosticOrder::Event', 'path'=>'Item.event', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Item.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Item.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Item.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'CodeableConcept', 'path' => 'Item.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-requests' } }, + 'specimen' => { 'type' => 'Reference', 'path' => 'Item.specimen', 'min' => 0, 'max' => Float::INFINITY }, + 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Item.bodySite', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-status' => ['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'Item.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-status' } }, + 'event' => { 'type' => 'DiagnosticOrder::Event', 'path' => 'Item.event', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb b/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb index 1fef6f0d..a7210653 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb @@ -10,32 +10,32 @@ class DiagnosticReport < FHIR::DSTU2::Model } SEARCH_PARAMS = ['category', 'code', 'date', 'diagnosis', 'encounter', 'identifier', 'image', 'issued', 'patient', 'performer', 'request', 'result', 'specimen', 'status', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DiagnosticReport.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DiagnosticReport.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DiagnosticReport.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DiagnosticReport.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DiagnosticReport.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DiagnosticReport.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DiagnosticReport.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DiagnosticReport.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DiagnosticReport.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-report-status'=>['registered', 'partial', 'final', 'corrected', 'appended', 'cancelled', 'entered-in-error']}, 'type'=>'code', 'path'=>'DiagnosticReport.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-report-status'}}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/v2/0074'=>['AU', 'BG', 'BLB', 'CG', 'CH', 'CP', 'CT', 'CTH', 'CUS', 'EC', 'EN', 'GE', 'HM', 'ICU', 'IMG', 'IMM', 'LAB', 'MB', 'MCB', 'MYC', 'NMR', 'NMS', 'NRS', 'OSL', 'OT', 'OTH', 'OUS', 'PAR', 'PAT', 'PF', 'PHR', 'PHY', 'PT', 'RAD', 'RC', 'RT', 'RUS', 'RX', 'SP', 'SR', 'TX', 'URN', 'VR', 'VUS', 'XRC']}, 'type'=>'CodeableConcept', 'path'=>'DiagnosticReport.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-service-sections'}}, - 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DiagnosticReport.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/report-codes'}}, - 'subject' => {'type'=>'Reference', 'path'=>'DiagnosticReport.subject', 'min'=>1, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'DiagnosticReport.encounter', 'min'=>0, 'max'=>1}, - 'effectiveDateTime' => {'type'=>'dateTime', 'path'=>'DiagnosticReport.effective[x]', 'min'=>1, 'max'=>1}, - 'effectivePeriod' => {'type'=>'Period', 'path'=>'DiagnosticReport.effective[x]', 'min'=>1, 'max'=>1}, - 'issued' => {'type'=>'instant', 'path'=>'DiagnosticReport.issued', 'min'=>1, 'max'=>1}, - 'performer' => {'type'=>'Reference', 'path'=>'DiagnosticReport.performer', 'min'=>1, 'max'=>1}, - 'request' => {'type'=>'Reference', 'path'=>'DiagnosticReport.request', 'min'=>0, 'max'=>Float::INFINITY}, - 'specimen' => {'type'=>'Reference', 'path'=>'DiagnosticReport.specimen', 'min'=>0, 'max'=>Float::INFINITY}, - 'result' => {'type'=>'Reference', 'path'=>'DiagnosticReport.result', 'min'=>0, 'max'=>Float::INFINITY}, - 'imagingStudy' => {'type'=>'Reference', 'path'=>'DiagnosticReport.imagingStudy', 'min'=>0, 'max'=>Float::INFINITY}, - 'image' => {'type'=>'DiagnosticReport::Image', 'path'=>'DiagnosticReport.image', 'min'=>0, 'max'=>Float::INFINITY}, - 'conclusion' => {'type'=>'string', 'path'=>'DiagnosticReport.conclusion', 'min'=>0, 'max'=>1}, - 'codedDiagnosis' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DiagnosticReport.codedDiagnosis', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/clinical-findings'}}, - 'presentedForm' => {'type'=>'Attachment', 'path'=>'DiagnosticReport.presentedForm', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'DiagnosticReport.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DiagnosticReport.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DiagnosticReport.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DiagnosticReport.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DiagnosticReport.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DiagnosticReport.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DiagnosticReport.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DiagnosticReport.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DiagnosticReport.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-report-status' => ['registered', 'partial', 'final', 'corrected', 'appended', 'cancelled', 'entered-in-error'] }, 'type' => 'code', 'path' => 'DiagnosticReport.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-report-status' } }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/v2/0074' => ['AU', 'BG', 'BLB', 'CG', 'CH', 'CP', 'CT', 'CTH', 'CUS', 'EC', 'EN', 'GE', 'HM', 'ICU', 'IMG', 'IMM', 'LAB', 'MB', 'MCB', 'MYC', 'NMR', 'NMS', 'NRS', 'OSL', 'OT', 'OTH', 'OUS', 'PAR', 'PAT', 'PF', 'PHR', 'PHY', 'PT', 'RAD', 'RC', 'RT', 'RUS', 'RX', 'SP', 'SR', 'TX', 'URN', 'VR', 'VUS', 'XRC'] }, 'type' => 'CodeableConcept', 'path' => 'DiagnosticReport.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-service-sections' } }, + 'code' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'CodeableConcept', 'path' => 'DiagnosticReport.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/report-codes' } }, + 'subject' => { 'type' => 'Reference', 'path' => 'DiagnosticReport.subject', 'min' => 1, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'DiagnosticReport.encounter', 'min' => 0, 'max' => 1 }, + 'effectiveDateTime' => { 'type' => 'dateTime', 'path' => 'DiagnosticReport.effective[x]', 'min' => 1, 'max' => 1 }, + 'effectivePeriod' => { 'type' => 'Period', 'path' => 'DiagnosticReport.effective[x]', 'min' => 1, 'max' => 1 }, + 'issued' => { 'type' => 'instant', 'path' => 'DiagnosticReport.issued', 'min' => 1, 'max' => 1 }, + 'performer' => { 'type' => 'Reference', 'path' => 'DiagnosticReport.performer', 'min' => 1, 'max' => 1 }, + 'request' => { 'type' => 'Reference', 'path' => 'DiagnosticReport.request', 'min' => 0, 'max' => Float::INFINITY }, + 'specimen' => { 'type' => 'Reference', 'path' => 'DiagnosticReport.specimen', 'min' => 0, 'max' => Float::INFINITY }, + 'result' => { 'type' => 'Reference', 'path' => 'DiagnosticReport.result', 'min' => 0, 'max' => Float::INFINITY }, + 'imagingStudy' => { 'type' => 'Reference', 'path' => 'DiagnosticReport.imagingStudy', 'min' => 0, 'max' => Float::INFINITY }, + 'image' => { 'type' => 'DiagnosticReport::Image', 'path' => 'DiagnosticReport.image', 'min' => 0, 'max' => Float::INFINITY }, + 'conclusion' => { 'type' => 'string', 'path' => 'DiagnosticReport.conclusion', 'min' => 0, 'max' => 1 }, + 'codedDiagnosis' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'DiagnosticReport.codedDiagnosis', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/clinical-findings' } }, + 'presentedForm' => { 'type' => 'Attachment', 'path' => 'DiagnosticReport.presentedForm', 'min' => 0, 'max' => Float::INFINITY } } class Image < FHIR::DSTU2::Model @@ -44,11 +44,11 @@ class Image < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Image.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Image.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Image.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'comment' => {'type'=>'string', 'path'=>'Image.comment', 'min'=>0, 'max'=>1}, - 'link' => {'type'=>'Reference', 'path'=>'Image.link', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Image.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Image.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Image.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'comment' => { 'type' => 'string', 'path' => 'Image.comment', 'min' => 0, 'max' => 1 }, + 'link' => { 'type' => 'Reference', 'path' => 'Image.link', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb b/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb index 8d2fbb3a..ccab8da4 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb @@ -7,26 +7,26 @@ class DocumentManifest < FHIR::DSTU2::Model SEARCH_PARAMS = ['author', 'content-ref', 'created', 'description', 'identifier', 'patient', 'recipient', 'related-id', 'related-ref', 'source', 'status', 'subject', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DocumentManifest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DocumentManifest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DocumentManifest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DocumentManifest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DocumentManifest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DocumentManifest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DocumentManifest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DocumentManifest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'masterIdentifier' => {'type'=>'Identifier', 'path'=>'DocumentManifest.masterIdentifier', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DocumentManifest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'DocumentManifest.subject', 'min'=>0, 'max'=>1}, - 'recipient' => {'type'=>'Reference', 'path'=>'DocumentManifest.recipient', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://loinc.org'=>['55107-7', '74155-3', '51851-4', '67851-6', '34744-3', '34873-0', '68552-9', '67852-4', '68471-2', '68483-7', '64058-1', '64070-6', '64053-2', '64054-0', '34862-3', '64062-3', '64078-9', '64066-4', '64060-7', '64074-8', '51849-8', '34763-3', '47039-3', '34094-3', '57830-2', '48765-2', '74152-0', '61359-6', '57055-6', '56446-8', '51848-0', '68814-3', '64064-9', '51847-2', '69981-9', '74154-6', '71230-7', '72134-0', '55108-5', '73568-8', '74144-7', '55109-3', '34095-0', '34096-8', '63485-7', '55110-1', '34098-4', '34097-6', '47040-1', '47041-9', '59284-0', '11488-4', '34099-2', '34756-7', '34758-3', '34760-9', '34879-7', '34761-7', '34764-1', '34776-5', '34779-9', '34781-5', '72555-6', '34783-1', '34785-6', '34795-5', '34798-9', '34797-1', '34800-3', '34777-3', '34803-7', '34855-7', '34805-2', '34807-8', '34810-2', '34812-8', '34814-4', '34816-9', '34820-1', '34822-7', '34824-3', '34826-8', '34828-4', '34788-0', '34791-4', '34103-2', '34831-8', '73575-3', '34833-4', '34837-5', '34839-1', '34841-7', '34845-8', '34847-4', '34849-0', '34851-6', '34853-2', '51846-4', '34104-0', '68619-6', '68633-7', '68639-4', '68486-0', '68648-5', '68651-9', '68661-8', '64072-2', '68551-1', '68670-9', '64056-5', '68681-6', '68685-7', '68694-9', '68705-3', '68566-9', '68570-1', '68575-0', '68716-0', '68469-6', '68727-7', '68892-9', '68897-8', '68746-7', '68757-4', '68765-7', '68869-7', '68874-7', '68787-1', '68879-6', '68802-8', '68864-8', '68812-7', '68821-8', '68586-7', '68590-9', '68597-4', '68837-4', '34102-4', '64080-5', '68846-5', '64068-0', '64076-3', '68852-3', '34100-8', '51854-8', '51845-6', '34749-2', '34101-6', '47042-7', '34864-9', '34869-8', '34865-6', '34866-4', '34872-2', '55111-9', '74148-8', '64297-5', '74208-0', '51899-3', '74150-4', '74151-2', '47048-4', '70004-7', '68611-3', '68625-3', '68635-2', '68641-0', '68652-7', '68673-3', '68687-3', '68556-0', '68696-4', '68557-8', '68577-6', '68708-7', '68718-6', '68748-3', '68767-3', '68778-0', '68794-7', '68855-6', '68804-4', '68604-8', '68640-2', '68706-1', '68788-9', '68822-6', '74213-0', '60280-5', '8653-8', '18842-5', '68612-1', '68626-1', '68642-8', '68653-5', '68663-4', '68674-1', '68688-1', '68697-2', '34745-0', '68558-6', '68572-7', '68578-4', '68709-5', '68719-4', '68733-5', '68738-4', '68749-1', '68768-1', '68773-1', '68779-8', '68795-4', '68856-4', '68805-1', '68815-0', '68591-7', '68831-7', '59259-2', '68841-6', '59258-4', '34105-7', '68823-4', '34106-5', '55112-7', '34895-3', '34897-9', '67854-0', '68477-9', '68605-5', '67855-7', '34902-7', '34107-3', '34856-5', '34859-9', '34860-7', '70005-4', '64142-3', '34857-3', '72267-8', '47420-5', '47043-5', '34787-2', '34790-6', '34793-0', '34843-3', '34114-9', '64290-0', '64291-8', '57024-2', '64289-2', '51897-7', '56444-3', '74146-2', '34117-2', '68614-7', '68622-0', '68628-7', '68637-8', '68644-4', '68655-0', '68665-9', '68676-6', '68683-2', '68690-7', '68699-8', '68560-2', '68573-5', '68580-0', '68711-1', '68721-0', '68731-9', '68735-0', '68740-0', '68751-7', '68760-8', '68770-7', '68775-6', '68781-4', '68791-3', '68797-0', '68858-0', '68807-7', '68817-6', '28626-0', '68592-5', '68833-3', '68599-0', '68843-2', '34774-0', '68849-9', '11492-6', '34115-6', '68825-9', '67856-5', '34116-4', '74264-3', '74149-6', '28636-9', '28581-7', '68553-7', '18740-1', '47044-3', '64065-6', '68470-4', '34119-8', '34120-6', '34118-0', '74209-8', '74188-4', '74194-2', '74191-8', '74190-0', '74193-4', '74192-6', '74197-5', '74187-6', '74196-7', '74195-9', '74189-2', '34121-4', '34896-1', '34899-5', '55113-5', '57056-4', '57057-2', '64299-1', '51852-2', '68684-0', '68866-3', '68593-3', '68609-7', '68620-4', '68624-6', '68634-5', '68649-3', '68662-6', '68671-7', '68555-2', '68682-4', '68686-5', '68695-6', '68707-9', '68567-7', '68571-9', '68576-8', '68585-9', '68717-8', '68728-5', '68893-7', '68898-6', '68747-5', '68758-2', '68766-5', '68870-5', '68875-4', '68789-7', '68880-4', '68803-6', '68865-5', '68813-5', '68826-7', '68598-2', '68838-2', '68847-3', '68853-1', '57058-0', '64285-0', '60590-7', '60593-1', '70006-2', '68587-5', '61357-0', '61356-2', '56445-0', '74145-4', '74147-0', '59268-3', '34109-9', '68615-4', '68621-2', '68629-5', '34750-0', '68636-0', '34752-6', '68645-1', '68650-1', '68656-8', '34754-2', '28618-7', '34759-1', '68666-7', '34861-5', '34878-9', '34898-7', '34762-5', '34765-8', '34767-4', '34768-2', '34769-0', '34780-7', '34782-3', '34794-8', '34784-9', '34786-4', '68677-4', '34796-3', '34799-7', '34905-0', '68700-4', '34746-8', '34801-1', '34778-1', '34802-9', '28578-3', '34806-0', '34808-6', '34811-0', '34813-6', '34815-1', '34817-7', '34858-1', '34906-8', '51855-5', '68722-8', '68889-5', '68894-5', '68741-8', '68752-5', '68761-6', '68867-1', '68871-3', '68782-2', '68854-9', '68876-2', '68881-2', '68859-8', '68882-0', '68818-4', '34821-9', '34823-5', '28579-1', '34827-6', '34829-2', '68834-1', '28628-6', '34792-2', '34830-0', '34832-6', '34834-2', '68839-0', '34838-3', '34840-9', '28653-4', '28571-8', '34846-6', '34848-2', '34773-2', '68848-1', '34852-4', '34111-5', '57053-1', '34112-3', '64069-8', '68827-5', '64077-1', '64073-0', '34113-1', '34108-1', '34753-4', '34110-7', '34766-6', '68601-4', '34850-8', '34854-0', '68672-5', '34748-4', '34139-6', '34844-1', '74166-0', '74156-1', '64300-7', '60591-5', '60592-3', '57834-4', '48768-6', '53576-5', '64296-7', '72170-4', '56447-6', '64295-9', '51900-9', '67860-7', '67861-5', '34875-5', '34880-5', '68610-5', '68606-3', '34867-2', '64298-3', '74207-2', '67862-3', '68616-2', '68623-8', '34751-8', '68638-6', '68657-6', '68550-3', '68678-2', '68691-5', '68701-2', '34747-6', '68562-8', '34809-4', '68581-8', '68713-7', '68723-6', '68732-7', '68736-8', '68742-6', '68753-3', '68762-4', '68771-5', '68776-4', '68783-0', '68792-1', '68798-8', '68860-6', '68808-5', '68819-2', '68594-1', '68835-8', '68844-0', '34876-3', '34881-3', '68850-7', '34123-0', '68828-3', '57832-8', '64288-4', '57829-4', '57833-6', '57831-0', '57828-6', '73709-8', '55114-3', '57017-6', '57016-8', '64293-4', '68630-3', '68658-4', '68667-5', '68692-3', '68702-0', '68563-6', '68714-5', '68724-4', '68890-3', '68895-2', '68743-4', '68754-1', '68868-9', '68872-1', '68784-8', '68877-0', '68799-6', '68861-4', '68809-3', '68820-0', '68836-6', '68851-5', '68729-3', '68829-1', '68607-1', '11506-3', '68617-0', '68631-1', '68646-9', '28580-9', '68659-2', '28617-9', '68668-3', '34900-1', '68554-5', '72556-4', '34904-3', '68679-0', '68693-1', '68703-8', '28623-7', '28575-9', '68564-4', '11507-1', '68574-3', '68582-6', '68725-1', '68891-1', '68896-0', '68744-2', '68755-8', '68763-2', '68873-9', '68785-5', '68878-8', '68800-2', '68862-2', '68810-1', '11508-9', '18733-6', '28569-2', '68595-8', '11509-7', '28627-8', '11510-5', '68840-8', '28656-7', '11512-1', '15507-7', '34130-5', '68472-0', '68485-2', '68484-5', '64059-9', '64071-4', '68473-8', '64055-7', '68475-3', '68830-9', '64063-1', '64079-7', '68478-7', '68479-5', '64057-3', '64067-2', '68480-3', '64061-5', '64075-5', '68481-1', '70238-1', '34126-3', '34131-3', '34124-8', '34128-9', '34127-1', '34901-9', '34132-1', '34129-7', '34125-5', '74468-0', '74465-6', '73569-6', '64294-2', '64284-3', '57133-1', '57170-3', '57178-6', '57134-9', '57135-6', '57136-4', '57137-2', '69438-0', '57138-0', '57139-8', '57171-1', '57172-9', '57141-4', '57142-2', '57143-0', '57144-8', '57146-3', '57145-5', '57173-7', '57179-4', '57147-1', '57148-9', '57149-7', '57150-5', '57151-3', '57174-5', '57175-2', '57176-0', '57152-1', '57153-9', '57154-7', '57155-4', '57156-2', '57157-0', '57158-8', '57177-8', '57159-6', '57160-4', '57162-0', '57163-8', '57164-6', '57165-3', '57166-1', '57167-9', '57168-7', '57169-5', '64292-6', '55115-0', '70007-0', '68476-1', '68474-6', '71482-4', '51898-5', '74153-8', '59282-4', '47045-0', '68608-9', '61143-4', '68602-2', '68603-0', '47046-8', '34133-9', '74211-4', '48764-5', '47047-6', '67865-6', '34135-4', '34136-2', '34134-7', '61358-8', '11504-8', '34868-0', '34818-5', '34870-6', '28624-5', '34874-8', '34877-1', '34137-0', '34138-8', '18761-7', '68618-8', '68632-9', '68647-7', '68660-0', '34755-9', '68669-1', '34770-8', '68680-8', '68704-6', '68565-1', '68569-3', '68887-9', '68583-4', '68715-2', '68726-9', '68737-6', '68745-9', '68756-6', '68764-0', '68772-3', '68777-2', '68786-3', '68793-9', '68801-0', '68863-0', '68811-9', '68883-8', '68596-6', '68482-9', '68884-6', '59281-6', '74198-3', '54094-8', '57054-9', '38932-0', '38933-8', '38934-6', '38936-1', '38937-9', '38938-7', '38939-5', '38940-3', '38941-1', '38942-9', '38943-7', '38944-5', '38956-9', '38946-0', '38949-4', '38950-2', '38966-8', '38951-0', '38952-8', '38953-6', '38954-4', '38969-2', '38955-1', '38957-7', '38958-5', '38959-3', '38960-1', '38961-9', '38962-7', '38963-5', '38964-3', '38965-0', '38967-6', '38968-4', '38947-8', '38935-3', '38945-2', '38948-6', '38972-6', '38980-9', '38970-0', '38971-8', '38973-4', '38979-1', '38974-2', '38975-9', '38976-7', '38977-5', '38978-3', '38981-7', '38982-5', '38983-3', '38984-1', '38985-8', '38986-6', '38987-4', '38988-2', '59283-2', '52027-0', '24754-4', '26376-4', '26377-2', '26378-0', '53243-2', '11485-0', '30649-8', '30641-5', '36760-7', '36762-3', '69067-7', '24543-1', '24580-3', '26368-1', '26369-9', '24614-0', '24615-7', '35881-2', '24698-3', '36763-1', '24766-8', '26370-7', '26371-5', '26372-3', '24832-8', '30648-0', '25081-1', '25012-6', '26373-1', '26374-9', '26375-6', '43793-9', '43794-7', '43795-4', '43792-1', '25064-7', '30836-1', '37426-4', '30640-7', '35882-0', '52032-0', '36764-9', '69135-2', '69253-3', '36765-6', '35883-8', '36766-4', '24568-8', '28615-3', '52065-0', '18743-5', '36761-5', '33720-4', '52041-1', '38268-9', '43562-8', '43563-6', '48807-2', '24631-4', '53242-4', '54095-5', '11486-8', '71428-7', '71421-2', '71388-3', '71406-3', '25062-1', '24611-6', '60570-9', '60571-7', '52042-9', '25038-1', '29751-5', '50007-4', '47523-6', '47530-1', '47521-0', '50971-1', '47528-5', '47527-7', '47522-8', '47520-2', '47524-4', '47529-3', '33718-8', '47525-1', '47526-9', '52040-3', '29749-9', '28622-9', '28574-2', '29761-4', '11490-0', '28655-9', '53245-7', '53247-3', '24684-3', '24887-2', '24553-0', '24554-8', '52071-8', '67796-3', '52043-7', '30600-1', '24923-5', '52030-4', '52031-2', '52044-5', '29272-2', '52064-3', '57129-9', '52045-2', '52033-8', '51969-4', '46365-3', '44228-5', '44156-8', '44101-4', '44155-0', '58747-7', '58743-6', '35884-6', '42280-8', '42705-4', '42281-6', '42285-7', '44167-5', '42282-4', '42133-9', '39361-1', '69120-4', '69122-0', '42286-5', '44168-3', '44169-1', '42284-0', '69123-8', '43502-4', '44166-7', '30578-9', '39451-0', '35885-3', '39620-0', '39623-4', '39622-6', '39621-8', '72533-3', '72532-5', '24623-1', '42688-2', '35886-1', '24598-5', '43756-6', '69278-0', '69292-1', '69296-2', '35888-7', '24771-8', '48434-5', '24811-2', '24822-9', '69287-1', '24837-7', '39452-8', '24856-7', '24863-3', '30703-3', '37491-8', '24662-9', '37887-7', '24973-0', '42134-7', '25043-1', '30878-3', '36926-4', '37210-2', '69306-9', '24594-4', '69192-3', '30653-0', '26343-4', '38012-1', '26344-2', '42450-7', '26345-9', '42458-0', '38126-9', '69121-2', '38133-5', '42447-3', '35887-9', '30698-5', '24671-0', '25042-3', '25041-5', '46281-2', '46282-0', '30602-7', '44107-1', '44108-9', '46387-7', '44160-0', '46284-6', '38026-1', '46283-8', '38033-7', '38135-0', '44221-0', '43757-4', '44159-2', '44217-8', '30608-4', '30603-5', '44158-4', '44220-2', '30595-3', '44103-0', '44219-4', '44104-8', '44105-5', '30605-0', '44157-6', '44218-6', '30606-8', '44106-3', '38017-0', '30610-0', '38136-8', '69124-6', '38019-6', '44216-0', '30580-5', '38018-8', '44215-2', '24755-1', '26298-0', '26299-8', '26300-4', '30601-9', '37913-1', '35890-3', '44117-0', '44162-6', '36767-2', '35891-1', '69076-8', '37211-0', '35893-7', '24602-5', '37914-9', '26337-6', '69169-1', '37912-3', '26338-4', '69203-8', '42449-9', '26339-2', '69213-7', '42457-2', '35895-2', '37915-6', '35894-5', '37492-6', '42333-5', '43567-7', '43565-1', '44109-7', '42463-0', '37212-8', '69387-9', '36927-2', '35892-9', '42136-2', '42279-0', '24772-6', '35899-4', '38766-2', '30607-6', '26340-0', '26341-8', '26342-6', '24812-0', '24816-1', '35900-0', '38765-4', '35896-0', '24823-7', '44161-8', '30634-0', '35901-8', '39522-8', '37213-6', '42137-0', '36768-0', '37917-2', '24838-5', '37918-0', '30604-3', '37919-8', '35902-6', '24864-1', '69074-3', '35903-4', '24883-1', '41802-0', '35898-6', '37920-6', '69075-0', '38132-7', '69396-0', '24986-2', '35904-2', '35905-9', '35906-7', '30609-2', '35907-5', '42265-9', '42135-4', '38154-1', '43797-0', '43564-4', '37214-4', '35908-3', '25009-2', '35897-8', '25044-9', '25059-7', '25069-6', '24670-2', '30651-4', '24813-8', '69279-8', '46285-3', '38024-6', '69073-5', '42448-1', '30652-2', '42288-1', '69224-4', '46367-9', '46368-7', '46286-1', '38028-7', '41803-8', '43462-1', '43447-2', '69290-5', '38029-5', '69225-1', '69099-0', '44171-7', '69127-9', '43568-5', '42289-9', '38027-9', '69097-4', '69197-2', '44170-9', '69125-3', '42267-5', '37916-4', '69098-2', '69198-0', '69288-9', '69226-9', '46369-5', '42290-7', '69199-8', '69289-7', '69126-1', '46370-3', '69200-4', '69227-7', '46288-7', '69228-5', '69100-6', '69201-2', '69291-3', '69128-7', '43571-9', '69401-8', '38030-3', '42266-7', '69101-4', '69202-0', '38031-1', '69129-5', '46287-9', '30700-9', '44225-1', '24718-9', '35910-9', '46289-5', '35909-1', '69093-3', '42260-0', '46366-1', '46384-4', '69083-4', '35911-7', '69092-5', '69094-1', '46290-3', '35889-5', '64998-8', '64999-6', '30818-9', '30892-4', '24624-9', '26331-9', '26332-7', '26333-5', '43558-6', '36769-8', '24781-7', '46371-1', '30646-4', '69400-0', '69391-1', '38127-7', '70915-4', '70916-2', '70917-0', '24680-1', '35913-3', '42287-3', '41809-5', '35914-1', '35915-8', '36770-6', '35916-6', '69078-4', '24692-6', '26325-1', '26326-9', '26327-7', '35917-4', '69133-7', '35918-2', '24896-3', '26328-5', '26329-3', '26330-1', '35919-0', '35920-8', '42283-2', '44172-5', '35921-6', '24868-2', '41800-4', '41798-0', '35922-4', '30699-3', '43537-0', '42478-8', '46291-1', '35923-2', '46292-9', '35924-0', '46293-7', '35925-7', '43478-7', '43474-6', '43477-9', '43473-8', '43475-3', '43476-1', '72248-8', '44214-5', '30815-5', '44213-7', '58740-2', '72541-6', '72542-4', '72540-8', '35926-5', '30638-1', '24769-2', '42334-3', '42706-2', '24901-1', '35927-3', '26319-4', '26320-2', '26321-0', '48435-2', '46392-7', '37427-2', '30579-7', '24931-8', '26322-8', '26323-6', '26324-4', '70918-8', '30812-2', '37493-4', '70919-6', '30817-1', '70920-4', '30814-8', '30702-5', '72530-9', '36771-4', '37494-2', '72537-4', '72645-5', '72644-8', '72536-6', '72643-0', '72642-2', '72543-2', '72552-3', '72553-1', '72535-8', '72534-1', '48735-5', '43759-0', '35928-1', '42296-4', '43758-2', '35929-9', '42297-2', '43760-8', '37608-7', '42701-3', '39760-4', '39759-6', '39761-2', '39953-5', '39763-8', '39762-0', '39758-8', '44110-5', '24600-9', '69068-5', '26313-7', '26314-5', '26318-6', '37921-4', '42021-6', '42020-8', '39026-0', '39028-6', '38032-9', '39027-8', '24595-1', '26315-2', '26316-0', '26317-8', '44118-8', '35930-7', '35931-5', '70921-2', '35932-3', '70922-0', '69240-0', '42139-6', '24609-0', '26334-3', '26335-0', '38023-8', '26336-8', '38025-3', '44121-2', '69245-9', '69246-7', '44204-6', '69247-5', '46372-9', '62494-0', '24621-5', '69241-8', '69242-6', '42422-6', '43444-9', '42423-4', '69243-4', '44223-6', '69244-2', '42421-8', '35933-1', '35936-4', '70923-8', '35934-9', '70924-6', '35935-6', '70925-3', '72539-0', '30643-1', '35912-5', '25028-2', '25029-0', '24613-2', '30644-9', '25077-9', '24625-6', '26310-3', '26311-1', '26312-9', '41801-2', '24716-3', '62491-6', '62492-4', '25072-0', '62450-2', '25026-6', '25027-4', '26307-9', '26308-7', '26309-5', '25024-1', '26304-6', '26305-3', '26306-1', '64993-9', '42456-4', '36772-2', '24779-1', '24782-5', '35937-2', '43487-8', '65797-3', '65798-1', '69134-5', '25078-7', '24756-9', '26301-2', '26302-0', '26303-8', '24555-5', '51391-1', '35938-0', '42140-4', '39362-9', '30637-3', '41799-8', '24995-3', '44224-4', '46373-7', '44102-2', '44222-8', '30629-0', '30581-3', '30664-7', '30582-1', '30665-4', '25053-0', '25054-8', '24537-3', '42141-2', '72549-9', '72548-1', '72547-3', '72546-5', '41810-3', '24559-7', '38142-6', '30628-2', '72538-2', '72544-0', '24885-6', '72550-7', '72551-5', '42017-4', '52790-3', '72545-7', '52791-1', '46294-5', '24996-1', '24626-4', '26295-6', '26296-4', '26297-2', '48740-5', '48736-3', '48739-7', '24570-4', '43763-2', '43761-6', '43762-4', '43764-0', '72554-9', '39138-3', '39139-1', '36936-3', '24603-3', '26292-3', '26293-1', '26294-9', '36928-0', '46296-0', '46295-2', '42433-3', '69160-0', '24585-2', '36929-8', '44122-0', '30656-3', '30800-7', '28632-8', '46264-8', '47519-4', '47245-6', '52035-3', '52036-1', '52046-0', '18841-7', '52028-8', '24655-3', '52047-8', '65806-2', '11500-6', '11495-9', '11494-2', '11496-7', '11497-5', '11498-3', '28572-6', '28621-1', '29753-1', '18734-4', '18735-1', '18736-9', '28654-2', '18763-3', '18737-7', '28635-1', '18738-5', '18739-3', '46214-3', '15508-5', '11502-2', '24717-1', '52048-6', '52049-4', '55186-1', '55185-3', '11503-0', '52037-9', '24672-8', '30632-4', '52050-2', '35990-1', '41806-1', '24556-3', '24558-9', '30762-9', '24566-2', '24531-6', '24532-4', '44115-4', '36781-3', '30864-3', '36791-2', '24534-0', '39494-0', '36930-6', '36931-4', '69277-2', '36792-0', '35940-6', '24538-1', '35939-8', '35941-4', '26208-9', '35942-2', '26209-7', '35943-0', '35944-8', '26210-5', '37674-9', '37222-7', '24542-3', '35945-5', '35947-1', '35946-3', '24547-2', '46388-5', '35948-9', '35949-7', '69276-4', '37216-9', '24544-9', '35950-5', '24660-3', '30863-5', '35951-3', '30861-9', '35952-1', '24548-0', '39040-1', '43508-1', '72529-1', '43510-7', '72528-3', '37219-3', '38021-2', '37220-1', '39039-3', '24590-2', '58748-5', '44138-6', '37217-7', '37218-5', '43772-3', '42385-5', '30794-2', '24601-7', '69165-9', '38057-6', '38058-4', '24596-9', '69397-8', '30795-9', '26214-7', '35954-7', '26215-4', '35955-4', '26216-2', '46299-4', '36010-7', '36011-5', '24616-5', '42146-1', '26217-0', '43765-7', '26218-8', '39427-0', '26219-6', '39437-9', '43552-9', '36793-8', '30859-3', '30865-0', '46374-5', '24627-2', '24629-8', '24630-6', '24657-9', '30862-7', '38016-2', '37235-9', '35960-4', '35961-2', '35959-6', '44120-4', '24757-7', '35962-0', '24674-4', '35963-8', '35965-3', '26220-4', '35964-6', '35966-1', '26221-2', '35967-9', '35968-7', '26222-0', '37688-9', '35969-5', '57823-7', '24690-0', '69193-1', '24693-4', '35970-3', '39042-7', '39031-0', '69293-9', '39428-8', '69297-0', '39439-5', '39449-4', '39418-9', '42145-3', '39429-6', '42144-6', '39440-3', '30876-7', '69283-0', '41835-0', '41816-0', '36794-6', '43771-5', '39495-7', '69398-6', '39503-8', '26224-6', '26223-8', '26226-1', '26225-3', '26231-1', '26230-3', '24853-4', '35953-9', '41808-7', '24696-7', '69389-5', '69399-4', '30871-8', '38134-3', '38128-5', '39498-1', '39504-6', '35984-4', '35985-1', '35986-9', '35987-7', '38037-8', '35988-5', '35989-3', '38048-5', '38768-8', '24705-6', '26238-6', '26239-4', '26240-2', '37221-9', '35991-9', '24707-2', '35992-7', '30872-6', '46362-0', '35993-5', '26241-0', '35994-3', '26242-8', '35995-0', '35996-8', '26243-6', '37706-9', '35997-6', '24710-6', '30873-4', '35998-4', '26244-4', '35999-2', '26245-1', '36000-8', '26246-9', '24711-4', '36001-6', '39415-5', '39416-3', '37236-7', '24719-7', '36002-4', '24720-5', '36003-2', '46382-8', '36004-0', '26247-7', '36005-7', '26248-5', '36006-5', '36007-3', '26249-3', '37717-6', '24725-4', '24728-8', '24731-2', '58741-0', '30858-5', '30856-9', '24733-8', '42304-6', '30880-9', '30655-5', '24746-0', '58742-8', '44164-2', '58744-4', '24748-6', '36009-9', '44137-8', '42148-7', '36014-9', '36013-1', '24760-1', '36012-3', '36016-4', '36017-2', '26250-1', '36015-6', '36018-0', '36020-6', '26251-9', '36019-8', '36021-4', '36022-2', '26252-7', '37735-8', '43566-9', '36024-8', '39425-4', '42147-9', '39497-3', '38129-3', '38137-6', '38141-8', '35958-8', '35956-2', '24767-6', '26253-5', '35957-0', '26254-3', '38767-0', '26255-0', '24735-3', '36033-9', '38036-0', '36032-1', '39032-8', '42477-0', '43767-3', '36034-7', '43774-9', '24789-0', '69402-6', '36035-4', '38038-6', '69113-9', '36036-2', '38049-3', '36037-0', '24802-1', '36038-8', '36799-5', '36800-1', '36801-9', '36040-4', '26256-8', '36039-6', '36041-2', '26257-6', '36042-0', '36043-8', '26258-4', '37760-6', '36045-3', '36044-6', '24814-6', '36046-1', '28614-6', '39454-4', '24818-7', '35971-1', '30692-8', '30709-0', '35972-9', '48693-6', '39434-6', '38130-1', '39421-3', '41834-3', '39499-9', '41815-2', '39505-3', '46363-8', '30881-7', '46364-6', '39420-5', '48692-8', '39432-0', '48691-0', '39443-7', '36079-2', '69385-3', '36784-7', '69392-9', '36785-4', '42461-4', '42462-2', '30874-2', '44174-1', '35974-5', '39422-1', '36795-3', '39431-2', '36796-1', '39442-9', '35973-7', '35975-2', '38013-9', '24687-6', '26227-9', '26228-7', '26229-5', '35976-0', '35978-6', '38040-2', '35977-8', '35979-4', '35980-2', '38051-9', '37766-3', '36074-3', '24821-1', '43513-1', '43556-0', '42696-5', '36075-0', '36076-8', '30866-8', '57822-9', '36047-9', '36048-7', '38043-6', '36776-3', '46298-6', '36050-3', '36049-5', '37234-2', '38044-4', '37233-4', '69394-5', '69211-1', '37606-1', '30860-1', '24835-1', '36051-1', '24839-3', '24842-7', '36788-8', '36085-9', '44175-8', '30857-7', '41807-9', '36777-1', '36802-7', '24848-4', '37611-1', '38836-3', '36778-9', '42303-8', '43530-5', '43455-5', '39502-0', '36779-7', '69390-3', '43506-5', '24857-5', '36052-9', '24859-1', '39509-5', '36053-7', '38045-1', '37223-5', '37224-3', '38138-4', '24865-8', '24867-4', '24869-0', '37632-7', '36789-6', '30867-6', '24870-8', '24872-4', '26259-2', '26260-0', '26261-8', '38140-0', '38139-2', '24877-3', '36932-2', '24880-7', '24881-5', '26262-6', '26263-4', '26264-2', '36077-6', '69284-8', '36055-2', '36056-0', '36057-8', '30675-3', '24884-9', '43445-6', '43454-8', '36803-5', '24892-2', '69294-7', '39435-3', '36078-4', '30868-4', '69295-4', '39426-2', '36804-3', '39419-7', '30619-1', '36031-3', '36058-6', '36059-4', '38053-5', '37653-3', '69116-2', '36060-2', '36933-0', '69298-8', '69117-0', '36061-0', '36073-5', '25002-7', '48742-1', '26271-7', '26272-5', '26273-3', '42437-4', '36062-8', '24905-2', '24907-8', '37850-5', '36805-0', '36806-8', '36807-6', '36063-6', '26266-7', '26265-9', '36064-4', '26268-3', '26267-5', '36065-1', '36066-9', '26270-9', '26269-1', '37811-7', '30588-8', '24914-4', '37866-1', '37874-5', '37495-9', '28566-8', '36067-7', '24926-8', '37497-5', '24932-6', '24935-9', '70926-1', '36068-5', '43457-1', '42698-1', '24963-1', '24968-0', '69393-7', '36069-3', '37232-6', '24978-9', '24980-5', '70927-9', '37911-5', '49565-5', '24988-8', '36070-1', '24990-4', '37225-0', '36071-9', '36072-7', '37885-1', '36782-1', '38131-9', '46359-6', '44235-0', '42468-9', '38059-2', '36773-0', '37226-8', '24999-5', '30719-9', '37228-4', '37227-6', '37230-0', '37229-2', '37231-8', '37819-0', '39446-0', '24702-3', '26235-2', '26236-0', '26237-8', '36054-5', '24582-9', '44163-4', '26211-3', '26212-1', '26213-9', '43507-3', '42300-4', '25010-0', '37898-4', '30888-2', '36780-5', '69285-5', '39508-7', '36023-0', '36025-5', '36026-3', '69180-8', '36027-1', '36028-9', '36029-7', '36030-5', '35981-0', '24688-4', '30710-8', '37923-0', '48448-5', '39447-8', '38014-7', '39423-9', '41833-5', '39500-4', '41814-5', '39506-1', '30882-5', '48690-2', '39496-5', '48689-4', '39501-2', '48688-6', '39507-9', '36080-0', '69395-2', '36786-2', '36787-0', '46385-1', '44236-8', '42475-4', '42476-2', '36084-2', '39448-6', '46379-4', '36797-9', '39433-8', '36798-7', '39444-5', '26232-9', '30875-9', '36774-8', '36775-5', '35982-8', '26233-7', '38041-0', '35983-6', '26234-5', '38052-7', '25019-1', '42301-2', '30705-8', '39036-9', '39525-1', '39030-2', '36783-9', '69222-8', '36081-8', '36083-4', '36082-6', '36790-4', '39445-2', '38054-3', '37428-0', '25033-2', '25036-5', '37932-1', '37430-6', '26277-4', '26278-2', '37429-8', '37431-4', '26279-0', '26280-8', '37432-2', '69209-5', '37433-0', '26281-6', '26282-4', '37644-2', '69219-4', '36008-1', '25045-6', '25040-7', '25056-3', '44136-0', '25061-3', '25071-2', '46375-2', '39523-6', '44229-3', '28576-7', '39453-6', '36957-9', '37294-6', '41804-6', '39043-5', '44165-9', '58745-1', '59255-0', '69082-6', '37295-3', '72830-3', '72832-9', '39879-2', '39881-8', '30760-3', '25055-5', '39408-0', '39862-8', '47378-5', '37435-5', '42693-2', '39140-9', '44126-1', '42386-3', '42387-1', '37434-8', '46300-0', '72139-9', '72138-1', '72137-3', '37436-3', '43555-2', '43449-8', '37437-1', '36114-7', '43450-6', '43451-4', '46394-3', '43452-2', '43453-0', '37438-9', '43527-1', '39637-4', '43655-0', '43652-7', '69235-0', '43670-9', '43673-3', '43662-6', '39684-6', '39811-5', '39141-7', '39656-4', '39654-9', '39655-6', '39675-4', '11525-3', '72251-2', '24889-8', '36934-8', '36935-5', '43446-4', '69237-6', '39678-8', '39748-9', '42292-3', '46395-0', '39913-9', '39918-8', '46396-8', '39916-2', '39930-3', '37439-7', '37440-5', '37441-3', '39409-8', '36086-7', '30704-1', '38047-7', '43572-7', '38011-3', '69280-6', '24599-3', '26286-5', '26288-1', '26290-7', '38015-4', '42149-5', '42151-1', '36089-1', '69281-4', '36090-9', '39526-9', '46301-8', '39424-7', '62451-0', '62452-8', '69286-3', '36937-1', '38020-4', '36087-5', '38034-5', '36808-4', '39044-3', '36091-7', '42707-0', '36092-5', '43776-4', '42150-3', '36088-3', '38035-2', '69300-2', '41812-9', '38042-8', '39430-4', '39441-1', '36093-3', '38039-4', '38050-1', '44116-2', '48461-8', '69212-9', '38046-9', '42152-9', '44173-3', '39436-1', '69299-6', '24913-6', '41813-7', '38143-4', '46302-6', '44237-6', '46303-4', '36094-1', '39045-0', '39524-4', '25039-9', '48460-0', '69282-2', '72831-1', '44127-9', '39046-8', '36102-2', '36095-8', '36096-6', '69096-6', '36098-2', '36099-0', '36100-6', '36101-4', '36097-4', '39681-2', '39813-1', '39821-4', '36103-0', '36105-5', '47366-0', '36938-9', '36104-8', '36106-3', '36107-1', '38769-6', '36108-9', '46304-2', '36109-7', '36110-5', '36111-3', '36112-1', '39905-5', '39906-3', '39527-7', '49569-7', '43659-2', '39725-7', '39718-2', '39724-0', '39723-2', '49568-9', '39729-9', '39700-0', '49567-1', '39142-5', '39712-5', '39734-9', '39736-4', '39710-9', '39711-7', '38060-0', '25052-2', '25050-6', '42132-1', '72142-3', '72141-5', '72140-7', '37442-1', '37443-9', '36939-7', '70929-5', '70928-7', '70930-3', '36940-5', '42455-6', '24677-7', '42390-5', '39838-8', '39898-2', '39872-7', '46305-9', '46358-8', '44139-4', '46306-7', '39680-4', '39816-4', '39825-5', '41837-6', '39658-0', '39662-2', '49566-3', '30711-6', '24732-0', '30706-6', '30701-7', '69388-7', '69086-7', '69108-9', '69085-9', '69207-9', '69217-8', '69208-7', '69218-6', '48442-8', '48450-1', '44114-7', '48452-7', '44113-9', '48441-0', '36267-3', '24557-1', '48743-9', '42274-1', '36846-4', '30805-6', '36855-5', '36950-4', '36951-2', '36268-1', '24539-9', '26187-5', '36269-9', '26188-3', '36270-7', '26189-1', '44131-1', '36271-5', '36273-1', '36272-3', '36274-9', '30806-4', '46360-4', '43509-9', '43511-5', '36944-7', '24587-8', '48694-4', '43769-9', '42392-1', '36276-4', '69189-9', '69166-7', '38870-2', '38062-6', '36277-2', '36278-0', '36279-8', '43528-9', '36358-0', '36280-6', '36281-4', '36856-3', '30598-7', '36283-0', '36848-0', '30804-9', '36420-8', '42277-4', '36284-8', '72252-0', '69161-8', '42299-8', '48455-0', '48454-3', '36285-5', '24675-1', '26193-3', '36286-3', '26194-1', '36287-1', '26195-8', '42268-3', '24694-2', '30803-1', '36338-2', '36339-0', '36340-8', '69194-9', '69204-6', '69214-5', '36341-6', '30682-9', '36342-4', '36343-2', '36344-0', '36345-7', '36346-5', '36347-3', '30684-5', '69174-1', '36348-1', '36349-9', '36350-7', '36351-5', '36352-3', '30686-0', '69177-4', '36353-1', '36354-9', '36355-6', '36356-4', '24726-2', '24729-6', '36847-2', '30593-8', '36857-1', '36357-2', '36359-8', '30688-6', '36360-6', '36361-4', '36362-2', '36363-0', '36364-8', '36365-5', '36282-2', '30659-7', '24740-3', '43768-1', '43775-6', '36377-0', '36378-8', '24784-1', '36379-6', '24803-9', '38837-1', '36862-1', '26199-0', '36380-4', '26200-6', '36381-2', '26201-4', '36382-0', '30612-6', '30670-4', '36288-9', '39291-0', '36416-6', '36849-8', '36850-6', '30807-2', '44128-7', '46308-3', '36858-9', '46307-5', '36859-7', '36289-7', '36371-3', '36372-1', '36373-9', '36290-5', '36291-3', '36292-1', '36333-3', '36408-3', '30870-0', '42697-3', '36409-1', '36410-9', '36411-7', '36412-5', '36383-8', '37272-2', '48443-6', '36384-6', '30586-2', '24840-1', '36853-0', '30594-6', '36423-2', '48451-9', '36842-3', '43458-9', '24849-2', '24851-8', '36843-1', '36844-9', '39029-4', '46310-9', '36845-6', '30614-2', '36385-3', '46311-7', '37265-6', '30616-7', '30674-6', '36854-8', '30623-3', '36863-9', '30672-0', '36835-7', '24904-5', '24879-9', '36414-1', '36387-9', '36388-7', '36389-5', '36275-6', '36415-8', '44134-5', '36375-4', '36376-2', '36390-3', '36391-1', '36392-9', '36393-7', '36394-5', '36406-7', '36395-2', '24906-0', '36864-7', '36865-4', '26202-2', '36396-0', '26203-0', '36397-8', '26204-8', '36398-6', '30663-9', '44111-3', '69220-2', '37277-1', '36399-4', '36400-0', '37505-5', '36401-8', '24937-5', '37506-3', '43456-3', '30855-1', '36402-6', '24967-2', '37507-1', '36403-4', '24981-3', '37508-9', '24989-6', '36404-2', '37266-4', '36405-9', '44231-9', '36837-3', '37267-2', '37268-0', '37269-8', '37270-6', '37271-4', '24703-1', '26196-6', '26197-4', '26198-2', '24583-7', '26190-9', '26191-7', '26192-5', '36407-5', '72241-3', '72238-9', '36366-3', '30690-2', '69181-6', '36367-1', '36368-9', '36369-7', '36370-5', '36334-1', '39034-4', '36417-4', '36851-4', '36852-2', '36421-6', '36422-4', '46312-5', '36860-5', '46309-1', '36861-3', '69186-5', '36374-7', '36840-7', '36841-5', '36335-8', '38831-4', '36336-6', '36337-4', '36413-3', '36418-2', '36419-0', '37457-9', '25035-7', '26205-5', '37458-7', '26206-3', '38802-5', '26207-1', '42298-0', '24588-6', '72244-7', '43448-0', '46318-2', '46317-4', '46315-8', '46316-6', '46314-1', '46313-3', '60515-4', '24586-0', '24936-7', '24977-1', '25046-4', '38022-0', '25047-2', '25057-1', '30599-5', '24567-0', '38055-0', '36809-2', '69162-6', '69238-4', '30853-6', '36941-3', '37237-5', '36115-4', '69102-2', '36116-2', '69109-7', '36117-0', '46319-0', '69103-0', '36118-8', '69110-5', '36119-6', '36120-4', '69105-5', '36121-2', '69112-1', '36122-0', '36124-6', '36125-3', '69106-3', '36126-1', '69114-7', '36127-9', '37238-3', '69210-3', '36123-8', '36128-7', '36129-5', '38828-0', '36130-3', '36131-1', '36132-9', '36810-0', '37444-7', '69107-1', '37445-4', '69115-4', '37446-2', '36811-8', '36812-6', '39322-3', '37496-7', '37509-7', '70931-1', '24734-6', '47985-7', '24934-2', '48447-7', '24965-6', '48436-0', '30596-1', '48439-4', '36134-5', '36813-4', '36828-2', '24533-2', '69908-2', '36943-9', '44124-6', '36135-2', '36136-0', '69163-4', '36137-8', '36138-6', '36139-4', '36140-2', '36142-8', '36141-0', '36143-6', '24545-6', '72255-3', '43503-2', '36144-4', '37499-1', '36145-1', '43504-0', '43505-7', '44125-3', '69095-8', '24589-4', '48444-4', '37239-1', '37215-1', '42391-3', '36149-3', '69190-7', '69167-5', '36150-1', '36151-9', '36152-7', '46323-2', '36198-0', '36153-5', '36154-3', '36146-9', '36829-0', '24628-0', '36156-8', '36266-5', '24659-5', '42275-8', '36942-1', '72254-6', '37254-0', '42694-0', '48457-6', '48456-8', '36157-6', '36158-4', '69170-9', '36159-2', '36160-0', '36161-8', '36162-6', '24691-8', '26184-2', '26185-9', '26186-7', '36148-5', '30801-5', '24697-5', '36172-5', '69172-5', '36174-1', '36176-6', '69195-6', '69205-3', '69215-2', '36178-2', '36179-0', '36180-8', '36181-6', '36182-4', '36183-2', '36184-0', '36185-7', '36186-5', '69175-8', '36187-3', '36188-1', '36189-9', '36190-7', '36191-5', '36192-3', '69178-2', '36193-1', '36194-9', '36195-6', '36196-4', '24727-0', '36814-2', '36826-6', '36830-8', '24593-6', '37498-3', '24747-8', '36197-2', '36200-4', '36199-8', '36201-2', '36202-0', '36203-8', '36204-6', '36205-3', '36206-1', '30583-9', '36155-0', '46322-4', '36113-9', '43766-5', '36219-4', '24790-8', '36220-2', '36221-0', '36222-8', '36223-6', '69088-3', '36224-4', '36225-1', '36226-9', '36227-7', '36228-5', '36229-3', '36230-1', '24815-3', '36231-9', '30624-1', '39293-6', '36824-1', '36825-8', '36831-6', '46324-0', '44135-2', '50755-8', '36163-4', '36213-7', '36214-5', '36215-2', '36164-2', '36165-9', '36166-7', '36167-5', '36258-2', '36259-0', '24820-3', '43512-3', '42695-7', '36260-8', '36261-6', '36262-4', '36263-2', '36232-7', '48446-9', '36233-5', '24836-9', '36235-0', '24841-9', '36827-4', '36234-3', '24844-3', '48449-3', '36820-9', '36832-4', '24850-0', '24852-6', '36821-7', '36822-5', '46320-8', '39038-5', '46321-6', '36823-3', '24858-3', '36236-8', '37240-9', '37241-7', '24866-6', '36237-6', '42294-9', '24873-2', '24878-1', '30590-4', '36238-4', '36242-6', '36243-4', '36244-2', '36147-7', '36833-2', '30887-4', '36217-8', '36218-6', '36245-9', '36246-7', '36247-5', '36248-3', '36249-1', '69221-0', '36250-9', '36251-7', '69184-0', '36252-5', '38830-6', '36253-3', '36254-1', '36255-8', '24915-1', '48440-2', '37253-2', '24987-0', '36256-6', '37500-6', '24933-4', '24938-3', '37501-4', '38061-8', '24964-9', '30678-7', '37502-2', '24979-7', '24982-1', '37503-0', '30622-5', '37242-5', '36257-4', '36815-9', '38835-5', '36816-7', '37243-3', '37244-1', '37245-8', '37246-6', '37247-4', '37248-2', '37249-0', '36173-3', '25003-5', '36175-8', '36177-4', '36239-2', '24584-5', '26181-8', '26182-6', '26183-4', '36240-0', '36241-8', '72243-9', '72240-5', '36207-9', '36208-7', '69182-4', '36209-5', '36210-3', '36211-1', '36212-9', '30626-6', '39037-7', '42295-6', '24549-8', '36168-3', '69187-3', '36216-0', '36817-5', '36818-3', '36819-1', '36169-1', '38829-8', '36170-9', '36171-7', '36264-0', '36265-7', '36834-0', '37447-0', '37448-8', '69091-7', '37449-6', '37450-4', '37451-2', '37452-0', '37453-8', '24753-6', '49507-7', '25058-9', '72531-7', '39450-2', '72246-2', '72250-4', '72247-0', '72245-4', '39648-1', '44154-3', '42389-7', '42388-9', '42270-9', '39682-0', '39638-2', '39755-4', '39839-6', '39844-6', '41838-4', '41772-5', '46297-8', '39823-0', '24578-7', '39632-5', '39644-0', '39770-3', '39649-9', '42310-3', '39852-9', '39692-9', '39876-8', '39628-3', '39740-6', '43526-3', '39938-6', '46330-7', '46327-3', '46326-5', '46328-1', '46325-7', '46329-9', '42143-8', '58750-1', '58749-3', '39668-9', '44152-7', '39743-0', '39640-8', '39641-6', '44153-5', '39631-7', '24817-9', '39851-1', '69229-3', '44151-9', '39691-1', '69234-3', '39647-3', '39639-0', '42377-2', '46393-5', '42394-7', '36424-0', '30668-8', '42291-5', '36952-0', '36878-7', '36496-8', '36953-8', '36954-6', '36425-7', '30680-3', '36879-5', '69087-5', '69164-2', '36426-5', '36427-3', '36428-1', '36429-9', '36430-7', '44132-9', '36431-5', '36432-3', '69119-6', '36433-1', '44130-3', '36434-9', '44123-8', '30657-1', '48453-5', '37278-9', '37279-7', '42393-9', '36436-4', '69191-5', '69168-3', '38064-2', '38817-3', '44119-6', '36437-2', '36438-0', '36439-8', '46333-1', '36483-6', '36440-6', '36441-4', '36880-3', '29252-4', '36442-2', '69084-2', '36547-8', '42276-6', '72253-8', '42302-0', '48459-2', '48458-4', '36443-0', '30796-7', '36444-8', '69171-7', '36445-5', '36446-3', '36447-1', '36448-9', '42278-2', '69104-8', '69111-3', '36435-6', '30802-3', '72249-6', '36460-4', '69173-3', '36462-0', '36464-6', '69196-4', '69206-1', '69216-0', '36466-1', '30681-1', '36467-9', '36468-7', '36469-5', '36470-3', '36471-1', '36472-9', '30683-7', '69176-6', '36473-7', '36474-5', '36475-2', '36476-0', '36477-8', '30685-2', '69179-0', '36478-6', '36479-4', '36480-2', '36481-0', '30799-1', '36876-1', '42293-1', '36881-1', '36482-8', '36484-4', '30687-8', '36485-1', '36486-9', '36487-7', '36488-5', '36489-3', '36490-1', '30584-7', '30658-9', '43770-7', '43773-1', '36503-1', '36504-9', '39359-5', '36505-6', '30691-0', '69089-1', '36506-4', '36507-2', '36508-0', '36509-8', '36510-6', '36511-4', '48445-1', '30611-8', '30669-6', '30625-8', '39292-8', '44129-5', '36450-5', '36882-9', '38773-8', '36449-7', '36451-3', '36497-6', '36498-4', '36499-2', '36452-1', '36453-9', '36454-7', '36455-4', '36537-9', '30869-2', '69185-7', '36538-7', '36539-5', '36540-3', '36541-1', '36512-2', '36513-0', '30585-4', '36514-8', '30660-5', '36877-9', '36549-4', '46331-5', '36872-0', '30587-0', '30661-3', '36873-8', '36874-6', '36956-1', '46332-3', '36875-3', '30613-4', '36515-5', '37280-5', '37281-3', '30615-9', '30673-8', '36883-7', '30671-2', '30589-6', '30591-2', '30666-2', '36543-7', '36517-1', '36518-9', '36519-7', '36544-5', '44133-7', '36501-5', '36502-3', '36520-5', '36521-3', '36522-1', '69118-8', '36523-9', '38770-4', '36535-3', '36524-7', '30693-6', '69090-9', '36525-4', '36526-2', '38834-8', '36527-0', '36528-8', '36529-6', '30662-1', '44112-1', '48687-8', '37293-8', '36530-4', '36531-2', '37510-5', '30592-0', '30667-0', '37511-3', '30854-4', '30620-9', '30679-5', '37994-1', '37288-8', '30597-9', '36532-0', '37512-1', '30621-7', '36533-8', '37282-1', '36534-6', '44230-1', '36866-2', '36867-0', '36868-8', '37283-9', '37284-7', '37285-4', '37286-2', '37287-0', '36461-2', '43514-9', '43515-6', '36463-8', '36465-3', '30654-8', '38833-0', '36516-3', '36955-3', '36536-1', '72242-1', '72239-7', '36491-9', '30689-4', '69183-2', '36492-7', '36493-5', '36494-3', '36495-0', '30627-4', '39033-6', '36548-6', '36456-2', '69188-1', '36500-7', '36869-6', '36870-4', '36457-0', '38832-2', '36458-8', '36459-6', '36542-9', '36545-2', '36546-0', '37459-5', '37460-3', '43516-4', '43517-2', '37461-1', '37462-9', '37463-7', '37464-5', '37465-2', '37466-0', '43525-5', '69223-6', '36871-2', '24787-4', '30712-4', '25051-4', '29750-7', '25060-5', '52072-6', '53246-5', '46210-1', '34819-3', '46215-0', '28568-4', '11536-0', '52066-8', '53244-0', '11543-6', '46208-5', '52051-0', '52052-8', '52053-6', '52054-4', '52067-6', '24620-7', '33721-2', '34122-2', '55188-7', '55750-4', '52034-6', '24882-3', '69252-5', '69248-3', '42018-2', '69301-0', '28629-4', '74030-8', '29752-3', '24875-7', '51965-2', '51850-6', '24998-7', '52055-1', '52063-5', '18836-7', '28570-0', '28577-5', '11505-5', '28625-2', '52068-4', '46209-3', '55751-2', '52075-9', '55184-6', '55182-0', '55183-8', '62385-0', '11514-7', '11521-2', '11515-4', '11516-2', '11517-0', '11518-8', '11519-6', '11520-4', '44226-9', '30636-5', '18823-5', '18824-3', '18825-0', '18826-8', '19002-5', '18594-2', '52184-9', '19003-3', '19004-1', '29206-0', '25073-8', '52056-9', '25015-9', '60569-1', '55187-9', '52057-7', '52058-5', '52039-5', '52059-3', '52060-1', '52029-6', '55228-1', '18752-6', '29755-6', '11526-1', '28633-6', '11527-9', '58477-1', '11529-5', '55230-7', '11523-8', '11541-0', '29757-2', '33717-0', '18745-0', '11524-6', '18750-0', '18754-2', '18746-8', '18753-4', '29756-4', '18744-3', '18759-1', '38269-7', '18756-7', '17787-3', '55229-9', '18751-8', '18742-7', '33716-2', '18748-4', '18749-2', '33719-6', '29754-9', '52038-7', '52061-9', '28583-3', '28573-4', '60568-3', '52069-2', '11534-5', '46213-5', '28630-2', '52062-7', '28651-8', '28616-1', '69409-1', '24783-3', '25065-4', '25068-8', '43471-2', '25066-2', '25067-0', '43472-0', '42702-1', '42703-9', '36550-2', '36551-0', '69307-7', '69314-3', '46335-6', '46336-4', '46337-2', '46338-0', '36564-3', '69311-9', '69319-2', '36554-4', '42699-9', '36555-1', '36556-9', '69308-5', '69315-0', '42153-7', '36559-3', '36560-1', '37689-7', '36561-9', '69309-3', '69316-8', '36563-5', '69310-1', '69318-4', '24761-9', '26400-2', '26401-0', '26402-8', '36565-0', '69312-7', '69320-0', '36566-8', '36567-6', '37741-6', '36557-7', '36558-5', '37764-8', '37614-5', '69152-7', '69260-8', '37616-0', '69317-6', '42313-7', '42314-5', '37654-1', '30748-8', '36568-4', '36569-2', '37792-9', '37851-3', '24917-7', '48695-1', '37875-2', '24940-9', '30773-6', '37904-0', '38121-0', '69313-5', '69321-8', '37894-3', '37924-8', '42419-2', '36570-0', '37825-7', '30642-3', '30787-6', '44176-6', '41775-8', '30749-6', '30722-3', '30724-9', '30774-4', '70932-9', '25063-9', '69268-1', '49510-1', '49509-3', '24715-5', '37513-9', '37514-7', '38806-6', '37467-8', '37468-6', '42431-7', '69079-2', '37469-4', '37470-2', '38803-3', '24799-9', '36583-3', '37662-4', '36571-8', '36572-6', '36573-4', '36575-9', '36576-7', '36577-5', '36578-3', '36579-1', '36580-9', '36581-7', '36582-5', '37726-7', '36584-1', '36585-8', '48462-6', '48463-4', '36574-2', '42439-0', '37622-8', '39050-0', '36958-7', '36959-5', '37783-8', '39048-4', '37842-2', '36586-6', '36587-4', '37798-6', '69269-9', '37877-8', '30725-6', '24948-2', '30777-7', '30752-0', '39049-2', '37880-2', '37890-1', '37897-6', '39402-3', '37634-3', '30734-8', '30735-5', '24561-3', '24637-1', '24560-5', '24636-3', '36588-2', '36589-0', '30727-2', '30729-8', '30755-3', '24563-9', '43466-2', '24652-0', '43778-0', '24564-7', '36960-3', '24807-0', '26358-2', '26359-0', '26360-8', '44177-4', '38849-6', '37733-3', '42420-0', '42378-0', '39410-6', '42379-8', '39411-4', '24723-9', '26355-8', '26356-6', '26357-4', '42395-4', '42396-2', '36962-9', '37849-7', '36963-7', '36964-5', '37800-0', '36965-2', '37471-0', '37472-8', '38804-1', '36966-0', '36967-8', '38775-3', '37928-9', '37857-0', '69132-9', '69141-0', '39514-5', '37625-1', '37650-9', '65799-9', '65800-5', '65801-3', '37297-9', '39149-0', '36973-6', '37843-0', '36974-4', '37801-8', '37844-8', '37035-3', '37473-6', '38805-8', '36975-1', '36977-7', '38776-1', '36976-9', '36978-5', '37628-5', '36979-3', '36980-1', '38777-9', '36981-9', '36982-7', '36983-5', '37732-5', '36620-3', '36591-6', '36592-4', '39051-8', '36593-2', '36594-0', '36595-7', '36596-5', '36597-3', '36598-1', '37703-6', '36599-9', '36600-5', '36601-3', '37712-7', '36602-1', '36603-9', '37730-9', '36604-7', '36605-4', '36606-2', '37751-5', '24843-5', '37629-3', '39053-4', '38857-9', '37784-6', '37858-8', '24920-1', '39052-6', '24943-3', '24969-8', '30756-1', '37891-9', '37893-5', '37930-5', '36984-3', '36985-0', '36986-8', '36987-6', '37727-5', '36988-4', '37872-9', '37878-6', '36989-2', '36990-0', '37903-2', '36991-8', '36992-6', '30786-8', '36993-4', '36994-2', '37729-1', '37626-9', '36999-1', '37000-7', '37750-7', '37909-9', '41774-1', '30757-9', '37515-4', '37516-2', '38066-7', '38819-9', '37001-5', '37002-3', '37754-9', '42442-4', '37003-1', '37910-7', '36997-5', '36971-0', '37833-1', '36998-3', '36972-8', '37834-9', '37004-9', '36995-9', '30737-1', '30738-9', '24639-7', '24638-9', '37008-0', '37009-8', '24641-3', '24640-5', '38069-1', '37005-6', '37773-9', '42441-6', '24801-3', '26283-2', '26284-0', '26285-7', '37006-4', '37007-2', '37475-1', '37671-5', '38067-5', '36607-0', '36609-6', '36610-4', '36611-2', '36612-0', '36613-8', '36614-6', '36615-3', '37704-4', '36616-1', '36617-9', '36618-7', '42689-0', '30778-5', '30758-7', '37892-7', '44178-2', '37545-1', '37728-3', '30759-5', '37631-9', '37845-5', '37012-2', '37013-0', '37802-6', '36621-1', '36622-9', '36623-7', '37714-3', '69270-7', '37931-3', '36624-5', '37015-5', '24648-8', '37014-8', '37755-6', '37477-7', '37476-9', '39324-9', '69263-2', '24828-6', '24871-6', '37998-2', '37999-0', '38000-6', '38006-3', '38068-3', '36996-7', '37010-6', '37011-4', '37018-9', '37020-5', '37019-7', '37752-3', '39323-1', '49511-9', '24699-1', '26178-4', '26179-2', '26180-0', '42812-8', '42813-6', '42814-4', '42811-0', '44206-1', '30714-0', '42426-7', '37659-0', '42428-3', '42429-1', '42427-5', '37660-8', '37846-3', '37298-7', '37299-5', '37808-3', '43671-7', '42471-3', '42474-7', '39516-0', '37024-7', '37025-4', '37791-1', '39517-8', '37861-2', '37026-2', '43780-6', '37027-0', '43779-8', '69256-6', '69239-2', '69069-3', '69064-4', '69149-3', '42432-5', '24944-1', '37028-8', '37029-6', '37030-4', '37770-5', '37870-3', '24668-6', '37031-2', '37032-0', '37033-8', '38007-1', '37034-6', '38779-5', '37300-1', '37037-9', '37038-7', '38855-3', '37771-3', '37039-5', '37040-3', '38772-0', '30790-0', '37041-1', '37042-9', '37761-4', '38842-1', '37677-2', '37043-7', '37756-4', '37044-5', '37645-9', '37045-2', '37046-0', '37047-8', '37048-6', '38780-3', '37049-4', '37613-7', '37863-8', '24921-9', '42473-9', '38117-8', '30751-2', '37050-2', '37051-0', '37809-1', '42680-9', '37052-8', '37053-6', '37772-1', '37656-6', '37055-1', '37054-4', '37790-3', '37847-1', '38858-7', '37805-9', '37848-9', '37056-9', '37057-7', '37810-9', '41793-1', '41790-7', '24656-1', '39047-6', '38065-9', '38818-1', '42008-3', '24893-0', '37058-5', '37059-3', '37207-8', '37731-7', '44205-3', '38850-4', '37734-1', '37633-5', '39144-1', '41795-6', '69302-8', '36968-6', '30639-9', '42470-5', '30809-8', '42469-7', '38001-4', '38002-2', '37060-1', '37636-8', '46341-4', '24535-7', '26133-9', '26134-7', '26135-4', '24536-5', '26136-2', '26137-0', '26138-8', '24541-5', '26097-6', '26098-4', '51395-2', '26099-2', '51394-5', '36625-2', '46342-2', '38070-9', '38071-7', '38072-5', '38820-7', '46380-2', '24597-7', '38079-0', '38080-8', '38821-5', '36626-0', '36627-8', '37774-7', '46339-8', '24612-4', '26100-8', '26101-6', '26102-4', '30745-4', '30631-6', '42269-1', '24664-5', '26106-5', '26107-3', '26108-1', '30883-3', '24676-9', '26109-9', '26110-7', '26111-5', '46381-0', '37637-6', '24695-9', '37303-5', '24704-9', '26118-0', '26120-6', '26122-2', '24706-4', '26124-8', '30783-5', '37517-0', '37518-8', '38147-5', '30782-7', '37519-6', '37520-4', '38146-7', '26125-5', '26126-3', '30780-1', '37521-2', '37522-0', '38144-2', '30781-9', '37523-8', '37524-6', '38145-9', '24709-8', '26127-1', '26128-9', '26129-7', '42399-6', '42400-2', '43641-0', '42434-1', '37532-9', '37533-7', '38152-5', '28582-5', '36629-4', '36630-2', '37716-8', '24752-8', '24762-7', '26130-5', '26131-3', '26132-1', '28567-6', '37319-1', '37321-7', '37320-9', '38797-7', '37062-7', '36632-8', '37738-2', '36628-6', '28565-0', '36635-1', '36636-9', '37758-0', '48465-9', '24686-8', '26112-3', '26113-1', '26114-9', '24829-4', '48745-4', '43533-9', '24830-2', '26139-6', '26140-4', '26141-2', '36637-7', '24834-4', '37639-2', '37332-4', '38798-5', '24846-8', '26142-0', '26143-8', '26144-6', '36886-0', '24854-2', '36887-8', '38774-6', '43529-7', '24855-9', '30791-8', '36638-5', '36639-3', '37777-0', '28561-9', '30885-8', '30767-8', '30768-6', '36631-0', '38771-2', '47984-0', '24745-2', '26146-1', '26148-7', '26150-3', '24891-4', '24899-7', '37937-0', '38073-3', '38074-1', '37963-6', '38868-6', '37962-8', '26151-1', '69071-9', '26152-9', '39326-4', '38866-0', '39489-0', '42381-4', '39493-2', '37960-2', '37938-8', '39352-0', '38869-4', '37964-4', '26153-7', '39351-2', '39491-6', '38867-8', '39353-8', '39492-4', '37961-0', '24900-3', '36633-6', '36634-4', '37786-1', '30884-1', '24665-2', '39058-3', '24903-7', '26154-5', '26155-2', '26156-0', '42159-4', '24909-4', '26157-8', '26158-6', '26159-4', '42160-2', '24911-0', '24916-9', '28564-3', '48697-7', '37338-1', '28613-8', '24946-6', '36640-1', '43538-8', '37481-9', '38008-9', '43781-4', '24972-2', '43536-2', '24975-5', '37340-7', '37341-5', '37342-3', '46340-6', '24983-9', '42692-4', '37975-0', '37323-3', '37324-1', '37965-1', '24993-8', '24994-6', '72876-6', '25000-1', '37325-8', '30889-0', '30890-8', '25006-8', '26160-2', '26161-0', '26162-8', '26163-6', '26164-4', '26165-1', '25011-8', '37530-3', '38151-7', '37531-1', '38150-9', '37534-5', '38148-3', '37535-2', '38149-1', '25013-4', '26166-9', '26167-7', '26168-5', '44238-4', '48464-2', '24689-2', '26115-6', '26116-4', '26117-2', '24619-9', '26169-3', '26170-1', '51392-9', '26171-9', '51388-7', '43468-8', '49512-7', '25074-6', '26172-7', '26173-5', '26174-3', '51387-9', '39370-2', '30635-7', '42162-8', '39400-7', '69131-1', '69140-2', '39513-7', '39360-3', '69059-4', '69139-4', '39377-7', '37583-2', '39372-8', '39373-6', '39390-0', '39511-1', '39376-9', '42164-4', '42163-6', '39414-8', '39398-3', '69056-0', '41811-1', '41832-7', '42010-9', '42165-1', '46389-3', '39391-8', '39412-2', '69148-5', '39389-2', '30694-4', '42271-7', '60527-9', '25008-4', '69236-8', '43672-5', '44147-7', '42405-1', '42401-0', '42411-9', '39392-6', '44199-8', '44198-0', '47373-6', '47375-1', '43521-4', '47983-2', '48489-9', '48488-1', '43522-2', '48467-5', '43523-0', '44202-0', '44201-2', '36641-9', '37064-3', '37664-0', '36665-8', '37661-6', '24540-7', '26385-5', '26386-3', '26387-1', '36642-7', '37768-9', '36661-7', '48433-7', '36662-5', '37718-4', '36643-5', '36644-3', '36645-0', '36646-8', '37679-8', '36647-6', '36648-4', '36649-2', '36650-0', '37681-4', '36652-6', '36653-4', '36654-2', '37690-5', '36655-9', '36656-7', '37694-7', '30784-3', '36657-5', '38846-2', '37697-0', '24721-3', '26388-9', '26389-7', '26390-5', '36663-3', '69058-6', '36664-1', '37721-8', '24765-0', '26391-3', '26392-1', '26393-9', '24806-2', '26394-7', '26395-4', '26396-2', '36651-8', '69257-4', '24861-7', '26397-0', '26398-8', '26399-6', '37617-8', '42685-8', '42686-6', '36659-1', '36660-9', '37707-7', '36658-3', '39060-9', '42687-4', '37066-8', '37780-4', '37651-7', '44179-0', '37655-8', '36666-6', '37787-9', '42435-8', '37840-6', '36667-4', '36668-2', '37793-7', '37853-9', '37867-9', '37879-4', '36669-0', '43784-8', '36670-8', '37905-7', '24984-7', '69273-1', '37883-6', '36671-6', '36672-4', '37815-8', '37895-0', '37902-4', '37348-0', '36673-2', '37821-6', '37922-2', '37925-5', '37482-7', '37483-5', '37826-5', '69305-1', '42430-9', '42009-1', '39378-5', '48468-3', '43467-0', '69060-2', '69142-8', '39379-3', '39380-1', '69061-0', '41819-4', '39381-9', '69143-6', '39382-7', '38118-6', '38844-7', '37686-3', '38871-0', '38108-7', '38874-4', '38114-5', '44181-6', '43539-6', '48469-1', '39880-0', '44184-0', '44182-4', '44183-2', '36674-0', '37658-2', '38843-9', '37678-0', '42166-9', '38841-3', '37675-6', '37068-4', '37069-2', '37698-8', '36945-4', '38851-2', '37762-2', '36946-2', '69274-9', '38840-5', '37672-3', '37067-6', '36293-9', '37635-0', '36294-7', '36295-4', '36296-2', '37665-7', '36298-8', '36299-6', '36300-2', '36301-0', '37682-2', '36297-0', '36302-8', '36303-6', '36304-4', '37695-4', '36305-1', '36306-9', '36307-7', '37699-6', '24722-1', '26379-8', '26380-6', '26381-4', '36308-5', '36309-3', '37722-6', '30788-4', '36310-1', '36311-9', '37742-4', '36312-7', '36838-1', '48470-9', '48471-7', '37604-6', '69261-6', '30766-0', '37256-5', '39062-5', '36313-5', '36314-3', '37781-2', '37648-3', '39061-7', '24908-6', '26382-2', '26383-0', '26384-8', '37854-7', '24918-5', '24941-7', '30775-1', '37257-3', '37259-9', '37260-7', '37261-5', '37906-5', '37881-0', '37888-5', '36315-0', '37812-5', '36316-8', '37820-8', '37926-3', '37454-6', '48738-9', '37455-3', '37827-3', '48737-1', '37933-9', '69154-3', '39393-4', '39399-1', '39364-5', '39404-9', '39383-5', '48472-5', '39365-2', '69155-0', '39394-2', '43499-3', '43483-7', '39901-4', '39902-2', '39882-6', '39883-4', '30776-9', '69151-9', '24778-3', '69138-6', '69254-1', '36947-0', '36948-8', '37700-2', '36949-6', '42443-2', '36317-6', '36319-2', '36320-0', '36321-8', '36322-6', '36323-4', '37683-0', '36318-4', '36324-2', '37691-3', '30789-2', '36325-9', '36326-7', '37743-2', '36327-5', '43534-7', '43535-4', '36839-9', '37609-5', '37612-9', '36328-3', '69265-7', '36329-1', '36330-9', '37794-5', '37855-4', '37868-7', '37876-0', '36331-7', '36332-5', '48473-3', '37907-3', '37882-8', '38155-8', '37070-0', '37071-8', '37828-1', '37934-7', '69144-4', '39384-3', '39385-0', '39413-0', '39099-7', '69063-6', '39387-6', '69145-1', '39386-8', '69062-8', '38852-0', '37763-0', '36675-7', '36676-5', '37744-0', '36890-2', '37351-4', '30750-4', '36677-3', '37795-2', '37856-2', '24922-7', '24939-1', '30797-5', '37353-0', '37355-5', '37356-3', '37357-1', '37350-6', '37072-6', '37829-9', '39407-2', '69081-8', '37073-4', '69080-0', '39063-3', '42273-3', '36678-1', '36679-9', '37796-0', '42691-6', '38156-6', '37074-2', '37830-7', '36680-7', '36681-5', '36682-3', '36683-1', '37831-5', '42412-7', '39064-1', '69070-1', '38856-1', '37782-0', '24796-5', '24792-4', '24653-8', '24654-6', '37080-9', '37081-7', '37082-5', '38781-1', '39339-7', '37083-3', '38782-9', '37126-0', '37084-1', '38783-7', '39512-9', '39401-5', '69153-5', '69262-4', '37618-6', '37623-6', '39065-8', '37619-4', '24794-0', '30779-3', '36684-9', '36685-6', '37667-3', '36686-4', '36701-1', '37719-2', '36687-2', '39066-6', '36688-0', '36689-8', '36690-6', '36691-4', '37684-8', '36693-0', '36694-8', '36695-5', '37692-1', '39069-0', '36696-3', '36697-1', '37701-0', '42409-3', '69130-3', '48474-1', '38847-0', '37710-1', '36702-9', '36703-7', '36704-5', '37725-9', '36706-0', '36707-8', '36708-6', '37736-6', '36709-4', '36590-8', '36710-2', '37745-7', '36692-2', '69258-2', '36711-0', '42438-2', '36712-8', '36713-6', '37776-2', '37620-2', '36705-2', '36699-7', '36700-3', '37708-5', '36698-9', '37652-5', '36714-4', '36715-1', '37788-7', '37841-4', '36716-9', '24919-3', '24928-4', '24942-5', '37361-3', '39067-4', '43785-5', '24970-6', '30753-8', '38123-6', '37974-3', '37889-3', '36717-7', '36718-5', '37816-6', '37896-8', '36719-3', '37822-4', '30793-4', '38860-3', '37832-3', '37839-8', '39070-8', '42404-4', '39071-6', '37095-7', '37096-5', '37097-3', '37666-5', '39072-4', '36720-1', '36721-9', '37668-1', '36731-8', '36722-7', '36723-5', '36724-3', '37685-5', '36725-0', '36726-8', '36727-6', '37696-2', '36728-4', '36729-2', '36730-0', '37702-8', '69057-8', '38848-8', '37711-9', '36732-6', '36733-4', '37748-1', '37624-4', '36734-2', '36735-9', '37908-1', '36736-7', '37813-3', '37927-1', '37099-9', '38083-2', '37101-3', '42410-1', '37102-1', '37118-7', '37115-3', '69137-8', '39371-0', '39334-8', '39375-1', '42417-6', '42418-4', '39369-4', '37103-9', '37079-1', '39074-0', '39073-2', '69147-7', '39388-4', '37105-4', '37106-2', '37107-0', '37108-8', '37749-9', '37109-6', '37110-4', '38786-0', '37111-2', '37116-1', '37117-9', '37740-8', '38009-7', '37112-0', '37113-8', '37114-6', '37747-3', '69065-1', '37086-6', '37087-4', '37723-4', '37090-8', '69146-9', '37089-0', '37088-2', '38784-5', '30763-7', '37077-5', '37091-6', '37092-4', '37093-2', '37724-2', '30770-2', '42167-7', '37094-0', '38785-2', '41776-6', '24793-2', '44185-7', '44186-5', '41817-8', '41777-4', '30726-4', '37078-3', '30754-6', '39330-6', '42380-6', '39368-6', '39068-2', '39331-4', '39332-2', '39374-4', '24805-4', '26364-0', '26365-7', '26366-5', '39333-0', '38084-0', '37119-5', '39076-5', '37621-0', '37649-1', '39075-7', '37098-1', '44187-3', '37100-5', '24797-3', '37120-3', '37104-7', '42011-7', '24642-1', '24808-8', '26361-6', '26362-4', '26363-2', '37121-1', '37680-6', '37122-9', '37797-8', '37485-0', '39077-3', '46349-7', '38082-4', '38822-3', '37123-7', '38787-8', '36961-1', '37799-4', '37124-5', '37789-5', '69266-5', '37125-2', '38788-6', '24562-1', '24650-4', '24649-6', '37085-8', '37076-7', '24798-1', '43463-9', '24795-7', '42019-0', '39329-8', '39328-0', '39395-9', '39321-5', '39336-3', '39335-5', '39337-1', '39344-7', '39338-9', '39397-5', '39343-9', '39348-8', '39325-6', '39346-2', '39347-0', '39396-7', '24632-2', '37075-9', '43561-0', '38003-0', '38815-7', '42406-9', '42407-7', '42445-7', '37484-3', '37746-5', '42403-6', '42408-5', '42444-0', '42446-5', '39403-1', '37127-8', '37128-6', '37807-5', '46386-9', '39884-2', '39861-0', '42709-6', '39860-2', '26352-5', '26353-3', '26354-1', '24724-7', '37362-1', '24591-0', '37996-6', '37995-8', '37997-4', '38814-0', '37486-8', '37852-1', '39859-4', '39875-0', '39840-4', '39842-0', '39874-3', '39819-8', '39741-4', '24605-8', '39152-4', '69158-4', '48475-8', '69150-1', '69259-0', '26346-7', '39154-0', '26347-5', '42169-3', '26348-3', '42168-5', '46350-5', '24604-1', '26349-1', '26350-9', '26351-7', '46351-3', '39895-8', '39887-5', '39889-1', '39885-9', '39910-5', '39912-1', '39909-7', '39908-9', '39886-7', '39890-9', '39888-3', '39867-7', '39863-6', '39866-9', '39864-4', '39865-1', '39869-3', '39868-5', '39893-3', '43644-4', '39858-6', '39636-6', '39871-9', '42261-8', '42262-6', '43653-5', '39847-9', '39899-0', '42308-7', '42263-4', '39856-0', '43500-8', '44148-5', '43642-8', '43664-2', '43643-6', '43666-7', '43663-4', '43665-9', '39870-1', '43654-3', '39685-3', '39940-2', '43787-1', '43648-5', '43649-3', '39827-1', '39828-9', '39327-2', '44208-7', '30720-7', '42311-1', '42312-9', '39768-7', '39767-9', '24997-9', '39769-5', '39892-5', '39891-7', '43646-9', '43645-1', '43647-7', '39653-1', '39657-2', '39933-7', '39830-5', '39677-0', '39490-8', '24700-7', '39686-1', '42170-1', '39672-1', '72256-1', '24571-2', '24572-0', '43788-9', '43789-7', '39673-9', '30650-6', '39665-5', '39664-8', '39848-7', '39849-5', '24876-5', '44149-3', '39954-3', '44140-2', '39831-3', '39951-9', '39934-5', '39829-7', '42171-9', '39749-7', '39679-6', '39750-5', '42305-3', '42397-0', '39923-8', '39917-0', '39919-6', '39925-3', '39931-1', '42306-1', '39929-5', '39921-2', '39924-6', '39922-0', '39920-4', '39915-4', '39928-7', '39927-9', '39914-7', '46348-9', '44210-3', '48480-8', '46390-1', '46347-1', '48481-6', '46344-8', '46345-5', '48479-0', '43492-8', '43497-7', '43491-0', '43496-9', '43489-4', '43494-4', '43490-2', '43495-1', '44188-1', '48478-2', '48477-4', '48476-6', '47370-2', '47371-0', '43498-5', '43482-9', '47381-9', '43543-8', '44189-9', '48746-2', '43486-0', '46377-8', '48482-4', '43488-6', '43493-6', '44190-7', '48483-2', '46346-3', '46343-0', '48485-7', '48486-5', '48484-0', '44191-5', '44239-2', '44193-1', '44192-3', '44211-1', '47367-8', '47374-4', '47376-9', '47379-3', '48747-0', '48487-3', '44212-9', '47382-7', '47368-6', '44194-9', '44195-6', '43524-8', '44197-2', '44196-4', '49570-5', '37160-9', '38793-6', '37158-3', '37806-7', '37161-7', '69267-3', '37538-6', '38789-4', '37157-5', '38791-0', '39350-4', '37162-5', '38794-4', '37167-4', '38795-1', '69156-8', '43790-5', '38004-8', '38816-5', '37539-4', '37540-2', '30771-0', '37627-7', '37164-1', '37864-6', '37165-8', '37166-6', '37871-1', '37134-4', '37135-1', '37670-7', '42382-2', '39366-0', '43464-7', '37603-8', '39100-3', '39101-1', '39341-3', '39406-4', '39405-6', '42436-6', '37869-5', '37605-3', '37862-0', '37136-9', '37803-4', '39340-5', '37133-6', '37132-8', '38010-5', '37929-7', '69157-6', '39515-2', '37474-4', '37669-9', '43480-3', '37541-0', '47380-1', '43470-4', '47377-7', '24610-8', '26287-3', '26289-9', '26291-5', '41826-9', '41785-7', '36737-5', '41830-1', '41789-9', '36738-3', '36893-6', '42007-5', '37646-7', '44209-5', '48466-7', '42710-4', '36739-1', '38838-9', '37642-6', '41797-2', '42335-0', '38125-1', '38120-2', '37137-7', '39687-9', '39754-7', '49571-3', '39843-8', '41836-8', '39627-5', '39822-2', '39645-7', '39695-2', '39936-0', '37542-8', '37543-6', '37554-3', '38854-6', '37769-7', '30769-4', '38086-5', '39935-2', '39949-3', '39904-8', '39907-1', '39937-8', '39950-1', '36608-8', '36740-9', '36741-7', '37687-1', '36744-1', '37737-4', '36619-5', '36745-8', '36746-6', '37757-2', '36747-4', '37630-1', '36742-5', '36743-3', '37709-3', '48748-8', '36748-2', '43791-3', '48749-6', '36749-0', '37817-4', '36894-4', '37544-4', '38839-7', '37643-4', '42398-8', '37139-3', '37154-2', '37155-9', '43469-6', '37063-5', '37546-9', '48491-5', '48490-7', '48699-3', '37152-6', '37140-1', '37804-2', '36750-8', '42272-5', '36751-6', '36752-4', '36753-2', '37713-5', '36754-0', '30721-5', '37547-7', '37548-5', '37835-6', '37143-5', '37144-3', '37145-0', '37142-7', '37860-4', '37146-8', '30741-3', '39078-1', '36755-7', '36756-5', '36757-3', '37715-0', '37884-4', '37549-3', '37550-1', '37836-4', '36758-1', '37148-4', '37147-6', '30742-1', '30743-9', '30744-7', '24643-9', '37149-2', '38790-2', '37859-6', '69271-5', '24647-0', '24644-7', '36759-9', '39079-9', '37141-9', '39519-4', '39521-0', '39520-2', '24646-2', '24645-4', '37150-0', '24635-5', '46378-6', '43660-0', '43661-8', '43658-4', '43656-8', '39719-0', '43777-2', '39722-4', '39720-8', '39728-1', '39726-5', '39727-3', '39699-4', '39701-8', '39731-5', '39735-6', '39708-3', '39709-1', '39705-9', '39707-5', '39703-4', '39702-6', '39733-1', '39941-0', '39833-9', '39716-6', '39697-8', '39730-7', '39732-3', '39715-8', '39704-2', '39714-1', '39713-3', '30765-2', '30764-5', '41823-6', '41782-4', '30746-2', '41827-7', '41786-5', '41773-3', '41818-6', '41778-2', '43570-1', '41829-3', '41788-1', '37168-2', '37169-0', '38796-9', '37170-8', '41825-1', '41784-0', '41820-2', '41779-0', '30792-6', '30772-8', '30747-0', '41831-9', '41791-5', '46391-9', '41824-4', '41783-2', '30723-1', '37171-6', '44203-8', '37172-4', '41828-5', '41787-3', '37151-8', '30731-4', '30730-6', '24634-8', '24824-5', '42402-8', '43657-6', '30733-0', '37131-0', '37138-5', '41792-3', '24651-2', '42414-3', '37016-3', '37017-1', '37775-4', '30740-5', '30739-7', '43479-5', '30838-7', '37364-7', '38799-3', '38107-9', '37304-3', '37302-7', '38115-2', '24930-0', '30715-7', '42424-2', '39367-8', '42472-1', '42425-9', '43569-3', '30716-5', '30717-3', '24929-2', '24606-6', '39153-2', '69159-2', '48492-3', '26175-0', '42174-3', '26176-8', '46355-4', '26177-6', '46354-7', '46356-2', '37022-1', '37021-3', '37023-9', '38778-7', '37551-9', '37552-7', '38807-4', '37553-5', '43550-3', '39952-7', '39676-2', '39894-1', '39896-6', '39814-9', '39634-1', '39903-0', '39817-2', '39815-6', '39824-8', '39633-3', '39853-7', '39832-1', '39878-4', '39900-6', '39855-2', '43501-6', '44150-1', '39854-5', '37153-4', '69136-0', '37163-3', '37156-7', '37759-8', '39345-4', '69255-8', '38088-1', '38087-3', '38824-9', '24579-5', '43518-0', '37365-4', '39518-6', '43519-8', '38089-9', '37159-1', '38792-8', '43796-2', '69304-4', '69303-6', '69072-7', '37555-0', '38808-2', '43532-1', '39944-4', '39948-5', '39947-7', '39946-9', '39943-6', '30697-7', '39942-8', '24888-0', '39835-4', '39836-2', '39945-1', '39837-0', '39834-7', '46361-2', '39932-9', '39873-5', '39683-8', '39698-6', '39845-3', '42711-2', '42175-0', '39818-0', '39826-3', '39669-7', '24713-0', '39660-6', '39661-4', '39663-0', '42309-5', '24750-2', '43459-7', '24577-9', '47372-8', '25070-4', '24574-6', '46352-1', '43485-2', '39150-8', '69251-7', '42415-0', '42416-8', '37201-1', '37202-9', '37203-7', '37676-4', '37205-2', '37206-0', '37720-0', '38845-4', '37693-9', '24708-0', '26094-3', '26095-0', '26096-8', '37584-0', '38810-8', '24809-6', '26085-1', '26086-9', '26087-7', '37204-5', '69264-0', '37208-6', '69275-6', '38124-4', '37899-2', '37209-4', '37823-2', '44233-5', '44232-7', '37579-0', '37580-8', '37581-6', '37663-2', '39651-5', '38090-7', '38091-5', '39059-1', '24666-0', '46357-0', '30633-2', '42683-3', '43574-3', '44227-7', '37565-9', '38092-3', '41770-9', '43650-1', '30630-8', '30824-7', '37585-7', '38853-8', '37765-5', '37615-2', '37936-2', '37640-0', '64140-7', '64141-5', '38094-9', '37973-5', '25005-0', '25014-2', '37976-8', '42014-1', '37980-0', '37981-8', '37575-8', '38101-2', '46376-0', '38100-4', '38102-0', '25030-8', '30832-0', '30831-2', '37387-8', '37939-6', '38861-1', '37941-2', '24658-7', '30837-9', '24546-4', '37366-2', '69054-5', '37380-3', '37381-1', '37587-3', '37588-1', '37589-9', '37590-7', '37591-5', '37592-3', '37593-1', '37594-9', '37382-9', '37383-7', '38800-9', '37379-5', '37384-5', '37385-2', '37386-0', '24551-4', '30828-8', '37388-6', '24581-1', '69077-6', '37389-4', '24617-3', '26079-4', '39097-1', '39094-8', '39098-9', '38863-7', '37945-3', '30821-3', '30820-5', '37390-2', '37948-7', '38864-5', '37952-9', '26080-2', '26081-0', '39095-5', '38865-2', '37953-7', '38862-9', '37944-6', '37391-0', '37392-8', '37393-6', '37943-8', '24622-3', '37403-3', '37394-4', '37173-2', '30891-6', '37174-0', '37595-6', '30848-6', '30849-4', '37395-1', '37949-5', '37175-7', '37176-5', '37397-7', '37398-5', '38801-7', '37399-3', '30822-1', '62448-6', '62449-4', '30823-9', '25076-1', '43782-2', '37177-3', '24862-5', '37178-1', '37739-0', '37179-9', '25079-5', '37487-6', '47986-5', '47987-3', '30829-6', '64995-4', '65000-2', '37401-7', '24833-6', '24860-9', '30833-8', '37935-4', '24874-0', '44240-0', '69249-1', '37181-5', '37778-8', '37404-1', '39057-5', '30830-4', '37182-3', '37779-6', '30834-6', '62446-0', '62447-8', '24925-0', '26082-8', '26083-6', '26084-4', '24992-0', '24991-2', '37886-9', '37405-8', '37406-6', '37966-9', '37180-7', '37402-5', '38119-4', '37900-8', '37489-2', '37977-6', '37396-9', '37488-4', '37967-7', '24576-1', '37979-2', '37407-4', '37490-0', '37968-5', '42156-0', '25017-5', '43559-4', '37586-5', '39054-2', '38095-6', '38096-4', '38825-6', '30810-6', '38098-0', '38099-8', '38827-2', '24845-0', '30850-2', '30851-0', '37599-8', '38812-4', '24827-8', '30839-5', '30840-3', '37597-2', '37598-0', '37596-4', '38811-6', '37600-4', '39510-3', '37601-2', '38813-2', '39148-2', '39146-6', '39145-8', '39147-4', '24661-1', '38116-0', '38097-2', '38826-4', '24902-9', '26067-9', '26068-7', '26069-5', '38153-3', '48698-5', '42460-6', '48696-9', '24912-8', '24552-2', '25016-7', '39151-6', '37183-1', '37184-9', '37185-6', '37942-0', '37186-4', '37187-2', '37188-0', '37947-9', '24764-3', '26070-3', '26071-1', '26072-9', '24800-5', '26073-7', '26074-5', '26075-2', '37647-5', '37189-8', '37190-6', '37785-3', '24910-2', '26076-0', '26077-8', '26078-6', '37901-6', '37409-0', '37410-8', '37818-2', '25034-0', '37570-9', '37571-7', '37641-8', '37191-4', '24825-2', '30813-0', '64996-2', '64997-0', '24927-6', '37192-2', '37193-0', '70933-7', '25022-5', '30811-4', '37572-5', '24947-4', '38103-8', '30808-0', '38104-6', '24974-8', '24985-4', '69066-9', '30843-7', '37602-0', '30844-5', '37940-4', '58746-9', '24569-6', '37411-6', '24573-8', '37195-5', '30819-7', '39055-9', '37412-4', '37413-2', '37950-3', '42157-8', '37416-5', '39093-0', '37421-5', '37419-9', '37197-1', '37420-7', '37954-5', '37607-9', '24788-2', '37414-0', '37196-3', '37767-1', '37574-1', '30825-4', '37422-3', '37958-6', '30852-8', '24685-0', '69250-9', '30847-8', '30846-0', '37423-1', '37959-4', '30827-0', '65803-9', '65802-1', '65804-7', '65805-4', '30826-2', '37969-3', '37970-1', '37971-9', '37972-7', '24550-6', '37415-7', '38859-5', '37824-0', '25023-3', '26064-6', '26065-3', '26066-1', '25025-8', '30845-2', '30645-6', '43554-5', '39096-3', '43783-0', '25080-3', '30816-3', '24575-3', '37200-3', '37199-7', '37198-9', '24678-5', '24712-2', '42459-8', '24924-3', '24673-6', '24681-9', '24667-8', '24894-8', '39363-7', '38105-3', '39349-6', '30761-1', '38873-6', '38113-7', '25020-9', '30841-1', '30842-9', '37566-7', '37567-5', '37568-3', '69272-3', '24780-9', '38872-8', '38112-9', '37569-1', '30647-2', '39696-0', '42161-0', '39652-3', '42383-0', '42690-8', '24945-8', '24971-4', '43481-1', '30785-0', '43461-3', '39688-7', '24679-3', '42684-1', '42681-7', '37576-6', '39850-3', '25007-6', '39841-2', '39857-8', '39624-2', '24770-0', '39846-1', '39738-0', '25032-4', '42708-8', '30736-3', '24682-7', '37556-8', '37557-6', '37558-4', '37673-1', '37559-2', '37705-1', '37560-0', '37561-8', '37562-6', '37753-1', '37563-4', '37564-2', '37814-1', '39056-7', '38093-1', '39670-5', '64051-6', '64052-4', '24826-0', '24663-7', '42158-6', '42776-5', '25031-6', '24730-4', '39643-2', '39646-5', '39650-7', '24776-7', '30877-5', '24804-7', '26088-5', '26089-3', '26090-1', '39693-7', '39694-5', '43557-8', '39897-4', '39877-6', '39629-1', '39737-2', '39739-8', '39742-2', '39619-2', '43669-1', '39747-1', '30696-9', '39751-3', '30695-1', '25018-3', '39626-7', '49118-3', '39939-4', '39671-3', '39752-1', '24773-4', '30713-2', '42413-5', '43651-9', '39820-6', '39666-3', '39667-1', '69231-9', '69232-7', '24819-5', '39744-8', '39674-7', '41771-7', '39625-9', '39745-5', '43667-5', '39753-9', '39765-3', '39642-4', '44234-3', '39766-1', '39812-3', '39630-9', '39757-0', '24831-0', '44141-0', '44142-8', '39746-3', '69233-5', '25001-9', '26091-9', '26092-7', '26093-5', '44146-9', '39689-5', '69230-1', '39764-6', '24683-5', '44145-1', '39756-2', '24714-8', '44143-6', '39690-3', '42700-5', '24751-0', '39635-8', '51389-5', '42012-5', '24669-4', '37577-4', '37578-2', '44144-4', '37582-4', '69055-2', '52073-4', '28631-0', '46242-4', '52070-0', '74282-5', '71683-7', '71685-2', '34086-9', '60555-0', '34084-4', '69761-5', '70946-9', '34091-9', '48767-8', '60556-8', '35519-8', '35517-2', '35511-5', '34066-1', '60557-6', '72135-7', '34083-6', '60684-8', '60558-4', '34090-1', '34092-7', '35528-9', '69760-7', '60559-2', '70940-2', '34070-3', '34085-1', '57826-0', '57025-9', '35524-8', '34087-7', '34089-3', '69758-1', '35521-4', '69763-1', '34068-7', '43678-2', '34074-5', '42227-9', '34073-7', '35518-0', '35523-0', '61147-5', '70943-6', '70941-0', '70944-4', '35525-5', '35510-7', '34072-9', '71743-9', '34082-8', '61146-7', '71744-7', '69719-3', '69670-8', '34069-5', '72090-4', '64123-3', '71446-9', '60685-5', '73815-3', '64124-1', '34067-9', '34076-0', '69730-0', '59845-8', '60560-0', '62387-6', '34079-4', '34075-2', '70945-1', '70939-4', '66105-8', '74045-6', '57027-5', '43679-0', '49489-8', '43680-8', '34078-6', '34080-2', '61149-1', '70942-8', '70934-5', '70948-5', '70935-2', '60561-8', '34088-5', '51941-3', '51947-0', '51948-8', '51945-4', '51944-7', '51943-9', '51942-1', '51946-2', '34081-0', '43681-6', '66106-6', '43682-4', '59772-4', '60683-0', '71681-1', '71684-5', '71686-0', '71682-9', '71687-8', '71688-6', '57026-7', '69669-0', '59769-0', '42232-9', '42228-7', '57059-8', '59774-0', '59775-7', '59770-8', '59776-5', '59771-6', '59768-2', '59773-2', '35526-3', '35522-2', '57827-8', '43683-2', '34093-5', '70938-6', '69759-9', '48779-3', '48780-1', '42231-1', '42230-3', '38056-8', '42229-5', '69718-5', '35520-6', '44425-7', '35515-6', '35514-9', '61150-9', '35527-1', '55122-6', '34077-8', '35516-4', '35513-1', '42796-3', '35512-3', '69762-3', '43684-0', '54433-8', '70936-0', '43685-7', '34071-1', '74477-1', '74479-7', '74476-3', '74480-5', '74478-9', '42566-0', '21862-8', '69764-9', '48766-0', '70949-3', '60572-5', '60573-3', '60574-1', '73983-9', '40811-2', '29112-0', '29111-2', '72169-6', '44943-9', '11206-0', '26988-6', '50081-9', '57553-0', '57552-2', '57551-4', '53347-1', '1656-8', '42855-7', '16110-9', '40818-7', '53348-9', '25561-2', '55808-0', '56611-7', '56608-3', '57493-9', '40816-1', '56602-6', '56613-3', '56609-1', '56612-5', '56603-4', '57492-1', '56556-4', '56604-2', '56610-9', '56605-9', '59987-8', '59986-0', '59985-2', '59984-5', '56555-6', '16294-1', '57491-3', '56606-7', '13480-9', '44729-2', '69799-5', '57562-1', '57561-3', '57560-5', '72510-1', '72509-3']}, 'type'=>'CodeableConcept', 'path'=>'DocumentManifest.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-doc-typecodes'}}, - 'author' => {'type'=>'Reference', 'path'=>'DocumentManifest.author', 'min'=>0, 'max'=>Float::INFINITY}, - 'created' => {'type'=>'dateTime', 'path'=>'DocumentManifest.created', 'min'=>0, 'max'=>1}, - 'source' => {'type'=>'uri', 'path'=>'DocumentManifest.source', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/document-reference-status'=>['current', 'superseded', 'entered-in-error']}, 'type'=>'code', 'path'=>'DocumentManifest.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/document-reference-status'}}, - 'description' => {'type'=>'string', 'path'=>'DocumentManifest.description', 'min'=>0, 'max'=>1}, - 'content' => {'type'=>'DocumentManifest::Content', 'path'=>'DocumentManifest.content', 'min'=>1, 'max'=>Float::INFINITY}, - 'related' => {'type'=>'DocumentManifest::Related', 'path'=>'DocumentManifest.related', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'DocumentManifest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DocumentManifest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DocumentManifest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DocumentManifest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DocumentManifest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DocumentManifest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DocumentManifest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DocumentManifest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'masterIdentifier' => { 'type' => 'Identifier', 'path' => 'DocumentManifest.masterIdentifier', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DocumentManifest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'DocumentManifest.subject', 'min' => 0, 'max' => 1 }, + 'recipient' => { 'type' => 'Reference', 'path' => 'DocumentManifest.recipient', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://loinc.org' => ['55107-7', '74155-3', '51851-4', '67851-6', '34744-3', '34873-0', '68552-9', '67852-4', '68471-2', '68483-7', '64058-1', '64070-6', '64053-2', '64054-0', '34862-3', '64062-3', '64078-9', '64066-4', '64060-7', '64074-8', '51849-8', '34763-3', '47039-3', '34094-3', '57830-2', '48765-2', '74152-0', '61359-6', '57055-6', '56446-8', '51848-0', '68814-3', '64064-9', '51847-2', '69981-9', '74154-6', '71230-7', '72134-0', '55108-5', '73568-8', '74144-7', '55109-3', '34095-0', '34096-8', '63485-7', '55110-1', '34098-4', '34097-6', '47040-1', '47041-9', '59284-0', '11488-4', '34099-2', '34756-7', '34758-3', '34760-9', '34879-7', '34761-7', '34764-1', '34776-5', '34779-9', '34781-5', '72555-6', '34783-1', '34785-6', '34795-5', '34798-9', '34797-1', '34800-3', '34777-3', '34803-7', '34855-7', '34805-2', '34807-8', '34810-2', '34812-8', '34814-4', '34816-9', '34820-1', '34822-7', '34824-3', '34826-8', '34828-4', '34788-0', '34791-4', '34103-2', '34831-8', '73575-3', '34833-4', '34837-5', '34839-1', '34841-7', '34845-8', '34847-4', '34849-0', '34851-6', '34853-2', '51846-4', '34104-0', '68619-6', '68633-7', '68639-4', '68486-0', '68648-5', '68651-9', '68661-8', '64072-2', '68551-1', '68670-9', '64056-5', '68681-6', '68685-7', '68694-9', '68705-3', '68566-9', '68570-1', '68575-0', '68716-0', '68469-6', '68727-7', '68892-9', '68897-8', '68746-7', '68757-4', '68765-7', '68869-7', '68874-7', '68787-1', '68879-6', '68802-8', '68864-8', '68812-7', '68821-8', '68586-7', '68590-9', '68597-4', '68837-4', '34102-4', '64080-5', '68846-5', '64068-0', '64076-3', '68852-3', '34100-8', '51854-8', '51845-6', '34749-2', '34101-6', '47042-7', '34864-9', '34869-8', '34865-6', '34866-4', '34872-2', '55111-9', '74148-8', '64297-5', '74208-0', '51899-3', '74150-4', '74151-2', '47048-4', '70004-7', '68611-3', '68625-3', '68635-2', '68641-0', '68652-7', '68673-3', '68687-3', '68556-0', '68696-4', '68557-8', '68577-6', '68708-7', '68718-6', '68748-3', '68767-3', '68778-0', '68794-7', '68855-6', '68804-4', '68604-8', '68640-2', '68706-1', '68788-9', '68822-6', '74213-0', '60280-5', '8653-8', '18842-5', '68612-1', '68626-1', '68642-8', '68653-5', '68663-4', '68674-1', '68688-1', '68697-2', '34745-0', '68558-6', '68572-7', '68578-4', '68709-5', '68719-4', '68733-5', '68738-4', '68749-1', '68768-1', '68773-1', '68779-8', '68795-4', '68856-4', '68805-1', '68815-0', '68591-7', '68831-7', '59259-2', '68841-6', '59258-4', '34105-7', '68823-4', '34106-5', '55112-7', '34895-3', '34897-9', '67854-0', '68477-9', '68605-5', '67855-7', '34902-7', '34107-3', '34856-5', '34859-9', '34860-7', '70005-4', '64142-3', '34857-3', '72267-8', '47420-5', '47043-5', '34787-2', '34790-6', '34793-0', '34843-3', '34114-9', '64290-0', '64291-8', '57024-2', '64289-2', '51897-7', '56444-3', '74146-2', '34117-2', '68614-7', '68622-0', '68628-7', '68637-8', '68644-4', '68655-0', '68665-9', '68676-6', '68683-2', '68690-7', '68699-8', '68560-2', '68573-5', '68580-0', '68711-1', '68721-0', '68731-9', '68735-0', '68740-0', '68751-7', '68760-8', '68770-7', '68775-6', '68781-4', '68791-3', '68797-0', '68858-0', '68807-7', '68817-6', '28626-0', '68592-5', '68833-3', '68599-0', '68843-2', '34774-0', '68849-9', '11492-6', '34115-6', '68825-9', '67856-5', '34116-4', '74264-3', '74149-6', '28636-9', '28581-7', '68553-7', '18740-1', '47044-3', '64065-6', '68470-4', '34119-8', '34120-6', '34118-0', '74209-8', '74188-4', '74194-2', '74191-8', '74190-0', '74193-4', '74192-6', '74197-5', '74187-6', '74196-7', '74195-9', '74189-2', '34121-4', '34896-1', '34899-5', '55113-5', '57056-4', '57057-2', '64299-1', '51852-2', '68684-0', '68866-3', '68593-3', '68609-7', '68620-4', '68624-6', '68634-5', '68649-3', '68662-6', '68671-7', '68555-2', '68682-4', '68686-5', '68695-6', '68707-9', '68567-7', '68571-9', '68576-8', '68585-9', '68717-8', '68728-5', '68893-7', '68898-6', '68747-5', '68758-2', '68766-5', '68870-5', '68875-4', '68789-7', '68880-4', '68803-6', '68865-5', '68813-5', '68826-7', '68598-2', '68838-2', '68847-3', '68853-1', '57058-0', '64285-0', '60590-7', '60593-1', '70006-2', '68587-5', '61357-0', '61356-2', '56445-0', '74145-4', '74147-0', '59268-3', '34109-9', '68615-4', '68621-2', '68629-5', '34750-0', '68636-0', '34752-6', '68645-1', '68650-1', '68656-8', '34754-2', '28618-7', '34759-1', '68666-7', '34861-5', '34878-9', '34898-7', '34762-5', '34765-8', '34767-4', '34768-2', '34769-0', '34780-7', '34782-3', '34794-8', '34784-9', '34786-4', '68677-4', '34796-3', '34799-7', '34905-0', '68700-4', '34746-8', '34801-1', '34778-1', '34802-9', '28578-3', '34806-0', '34808-6', '34811-0', '34813-6', '34815-1', '34817-7', '34858-1', '34906-8', '51855-5', '68722-8', '68889-5', '68894-5', '68741-8', '68752-5', '68761-6', '68867-1', '68871-3', '68782-2', '68854-9', '68876-2', '68881-2', '68859-8', '68882-0', '68818-4', '34821-9', '34823-5', '28579-1', '34827-6', '34829-2', '68834-1', '28628-6', '34792-2', '34830-0', '34832-6', '34834-2', '68839-0', '34838-3', '34840-9', '28653-4', '28571-8', '34846-6', '34848-2', '34773-2', '68848-1', '34852-4', '34111-5', '57053-1', '34112-3', '64069-8', '68827-5', '64077-1', '64073-0', '34113-1', '34108-1', '34753-4', '34110-7', '34766-6', '68601-4', '34850-8', '34854-0', '68672-5', '34748-4', '34139-6', '34844-1', '74166-0', '74156-1', '64300-7', '60591-5', '60592-3', '57834-4', '48768-6', '53576-5', '64296-7', '72170-4', '56447-6', '64295-9', '51900-9', '67860-7', '67861-5', '34875-5', '34880-5', '68610-5', '68606-3', '34867-2', '64298-3', '74207-2', '67862-3', '68616-2', '68623-8', '34751-8', '68638-6', '68657-6', '68550-3', '68678-2', '68691-5', '68701-2', '34747-6', '68562-8', '34809-4', '68581-8', '68713-7', '68723-6', '68732-7', '68736-8', '68742-6', '68753-3', '68762-4', '68771-5', '68776-4', '68783-0', '68792-1', '68798-8', '68860-6', '68808-5', '68819-2', '68594-1', '68835-8', '68844-0', '34876-3', '34881-3', '68850-7', '34123-0', '68828-3', '57832-8', '64288-4', '57829-4', '57833-6', '57831-0', '57828-6', '73709-8', '55114-3', '57017-6', '57016-8', '64293-4', '68630-3', '68658-4', '68667-5', '68692-3', '68702-0', '68563-6', '68714-5', '68724-4', '68890-3', '68895-2', '68743-4', '68754-1', '68868-9', '68872-1', '68784-8', '68877-0', '68799-6', '68861-4', '68809-3', '68820-0', '68836-6', '68851-5', '68729-3', '68829-1', '68607-1', '11506-3', '68617-0', '68631-1', '68646-9', '28580-9', '68659-2', '28617-9', '68668-3', '34900-1', '68554-5', '72556-4', '34904-3', '68679-0', '68693-1', '68703-8', '28623-7', '28575-9', '68564-4', '11507-1', '68574-3', '68582-6', '68725-1', '68891-1', '68896-0', '68744-2', '68755-8', '68763-2', '68873-9', '68785-5', '68878-8', '68800-2', '68862-2', '68810-1', '11508-9', '18733-6', '28569-2', '68595-8', '11509-7', '28627-8', '11510-5', '68840-8', '28656-7', '11512-1', '15507-7', '34130-5', '68472-0', '68485-2', '68484-5', '64059-9', '64071-4', '68473-8', '64055-7', '68475-3', '68830-9', '64063-1', '64079-7', '68478-7', '68479-5', '64057-3', '64067-2', '68480-3', '64061-5', '64075-5', '68481-1', '70238-1', '34126-3', '34131-3', '34124-8', '34128-9', '34127-1', '34901-9', '34132-1', '34129-7', '34125-5', '74468-0', '74465-6', '73569-6', '64294-2', '64284-3', '57133-1', '57170-3', '57178-6', '57134-9', '57135-6', '57136-4', '57137-2', '69438-0', '57138-0', '57139-8', '57171-1', '57172-9', '57141-4', '57142-2', '57143-0', '57144-8', '57146-3', '57145-5', '57173-7', '57179-4', '57147-1', '57148-9', '57149-7', '57150-5', '57151-3', '57174-5', '57175-2', '57176-0', '57152-1', '57153-9', '57154-7', '57155-4', '57156-2', '57157-0', '57158-8', '57177-8', '57159-6', '57160-4', '57162-0', '57163-8', '57164-6', '57165-3', '57166-1', '57167-9', '57168-7', '57169-5', '64292-6', '55115-0', '70007-0', '68476-1', '68474-6', '71482-4', '51898-5', '74153-8', '59282-4', '47045-0', '68608-9', '61143-4', '68602-2', '68603-0', '47046-8', '34133-9', '74211-4', '48764-5', '47047-6', '67865-6', '34135-4', '34136-2', '34134-7', '61358-8', '11504-8', '34868-0', '34818-5', '34870-6', '28624-5', '34874-8', '34877-1', '34137-0', '34138-8', '18761-7', '68618-8', '68632-9', '68647-7', '68660-0', '34755-9', '68669-1', '34770-8', '68680-8', '68704-6', '68565-1', '68569-3', '68887-9', '68583-4', '68715-2', '68726-9', '68737-6', '68745-9', '68756-6', '68764-0', '68772-3', '68777-2', '68786-3', '68793-9', '68801-0', '68863-0', '68811-9', '68883-8', '68596-6', '68482-9', '68884-6', '59281-6', '74198-3', '54094-8', '57054-9', '38932-0', '38933-8', '38934-6', '38936-1', '38937-9', '38938-7', '38939-5', '38940-3', '38941-1', '38942-9', '38943-7', '38944-5', '38956-9', '38946-0', '38949-4', '38950-2', '38966-8', '38951-0', '38952-8', '38953-6', '38954-4', '38969-2', '38955-1', '38957-7', '38958-5', '38959-3', '38960-1', '38961-9', '38962-7', '38963-5', '38964-3', '38965-0', '38967-6', '38968-4', '38947-8', '38935-3', '38945-2', '38948-6', '38972-6', '38980-9', '38970-0', '38971-8', '38973-4', '38979-1', '38974-2', '38975-9', '38976-7', '38977-5', '38978-3', '38981-7', '38982-5', '38983-3', '38984-1', '38985-8', '38986-6', '38987-4', '38988-2', '59283-2', '52027-0', '24754-4', '26376-4', '26377-2', '26378-0', '53243-2', '11485-0', '30649-8', '30641-5', '36760-7', '36762-3', '69067-7', '24543-1', '24580-3', '26368-1', '26369-9', '24614-0', '24615-7', '35881-2', '24698-3', '36763-1', '24766-8', '26370-7', '26371-5', '26372-3', '24832-8', '30648-0', '25081-1', '25012-6', '26373-1', '26374-9', '26375-6', '43793-9', '43794-7', '43795-4', '43792-1', '25064-7', '30836-1', '37426-4', '30640-7', '35882-0', '52032-0', '36764-9', '69135-2', '69253-3', '36765-6', '35883-8', '36766-4', '24568-8', '28615-3', '52065-0', '18743-5', '36761-5', '33720-4', '52041-1', '38268-9', '43562-8', '43563-6', '48807-2', '24631-4', '53242-4', '54095-5', '11486-8', '71428-7', '71421-2', '71388-3', '71406-3', '25062-1', '24611-6', '60570-9', '60571-7', '52042-9', '25038-1', '29751-5', '50007-4', '47523-6', '47530-1', '47521-0', '50971-1', '47528-5', '47527-7', '47522-8', '47520-2', '47524-4', '47529-3', '33718-8', '47525-1', '47526-9', '52040-3', '29749-9', '28622-9', '28574-2', '29761-4', '11490-0', '28655-9', '53245-7', '53247-3', '24684-3', '24887-2', '24553-0', '24554-8', '52071-8', '67796-3', '52043-7', '30600-1', '24923-5', '52030-4', '52031-2', '52044-5', '29272-2', '52064-3', '57129-9', '52045-2', '52033-8', '51969-4', '46365-3', '44228-5', '44156-8', '44101-4', '44155-0', '58747-7', '58743-6', '35884-6', '42280-8', '42705-4', '42281-6', '42285-7', '44167-5', '42282-4', '42133-9', '39361-1', '69120-4', '69122-0', '42286-5', '44168-3', '44169-1', '42284-0', '69123-8', '43502-4', '44166-7', '30578-9', '39451-0', '35885-3', '39620-0', '39623-4', '39622-6', '39621-8', '72533-3', '72532-5', '24623-1', '42688-2', '35886-1', '24598-5', '43756-6', '69278-0', '69292-1', '69296-2', '35888-7', '24771-8', '48434-5', '24811-2', '24822-9', '69287-1', '24837-7', '39452-8', '24856-7', '24863-3', '30703-3', '37491-8', '24662-9', '37887-7', '24973-0', '42134-7', '25043-1', '30878-3', '36926-4', '37210-2', '69306-9', '24594-4', '69192-3', '30653-0', '26343-4', '38012-1', '26344-2', '42450-7', '26345-9', '42458-0', '38126-9', '69121-2', '38133-5', '42447-3', '35887-9', '30698-5', '24671-0', '25042-3', '25041-5', '46281-2', '46282-0', '30602-7', '44107-1', '44108-9', '46387-7', '44160-0', '46284-6', '38026-1', '46283-8', '38033-7', '38135-0', '44221-0', '43757-4', '44159-2', '44217-8', '30608-4', '30603-5', '44158-4', '44220-2', '30595-3', '44103-0', '44219-4', '44104-8', '44105-5', '30605-0', '44157-6', '44218-6', '30606-8', '44106-3', '38017-0', '30610-0', '38136-8', '69124-6', '38019-6', '44216-0', '30580-5', '38018-8', '44215-2', '24755-1', '26298-0', '26299-8', '26300-4', '30601-9', '37913-1', '35890-3', '44117-0', '44162-6', '36767-2', '35891-1', '69076-8', '37211-0', '35893-7', '24602-5', '37914-9', '26337-6', '69169-1', '37912-3', '26338-4', '69203-8', '42449-9', '26339-2', '69213-7', '42457-2', '35895-2', '37915-6', '35894-5', '37492-6', '42333-5', '43567-7', '43565-1', '44109-7', '42463-0', '37212-8', '69387-9', '36927-2', '35892-9', '42136-2', '42279-0', '24772-6', '35899-4', '38766-2', '30607-6', '26340-0', '26341-8', '26342-6', '24812-0', '24816-1', '35900-0', '38765-4', '35896-0', '24823-7', '44161-8', '30634-0', '35901-8', '39522-8', '37213-6', '42137-0', '36768-0', '37917-2', '24838-5', '37918-0', '30604-3', '37919-8', '35902-6', '24864-1', '69074-3', '35903-4', '24883-1', '41802-0', '35898-6', '37920-6', '69075-0', '38132-7', '69396-0', '24986-2', '35904-2', '35905-9', '35906-7', '30609-2', '35907-5', '42265-9', '42135-4', '38154-1', '43797-0', '43564-4', '37214-4', '35908-3', '25009-2', '35897-8', '25044-9', '25059-7', '25069-6', '24670-2', '30651-4', '24813-8', '69279-8', '46285-3', '38024-6', '69073-5', '42448-1', '30652-2', '42288-1', '69224-4', '46367-9', '46368-7', '46286-1', '38028-7', '41803-8', '43462-1', '43447-2', '69290-5', '38029-5', '69225-1', '69099-0', '44171-7', '69127-9', '43568-5', '42289-9', '38027-9', '69097-4', '69197-2', '44170-9', '69125-3', '42267-5', '37916-4', '69098-2', '69198-0', '69288-9', '69226-9', '46369-5', '42290-7', '69199-8', '69289-7', '69126-1', '46370-3', '69200-4', '69227-7', '46288-7', '69228-5', '69100-6', '69201-2', '69291-3', '69128-7', '43571-9', '69401-8', '38030-3', '42266-7', '69101-4', '69202-0', '38031-1', '69129-5', '46287-9', '30700-9', '44225-1', '24718-9', '35910-9', '46289-5', '35909-1', '69093-3', '42260-0', '46366-1', '46384-4', '69083-4', '35911-7', '69092-5', '69094-1', '46290-3', '35889-5', '64998-8', '64999-6', '30818-9', '30892-4', '24624-9', '26331-9', '26332-7', '26333-5', '43558-6', '36769-8', '24781-7', '46371-1', '30646-4', '69400-0', '69391-1', '38127-7', '70915-4', '70916-2', '70917-0', '24680-1', '35913-3', '42287-3', '41809-5', '35914-1', '35915-8', '36770-6', '35916-6', '69078-4', '24692-6', '26325-1', '26326-9', '26327-7', '35917-4', '69133-7', '35918-2', '24896-3', '26328-5', '26329-3', '26330-1', '35919-0', '35920-8', '42283-2', '44172-5', '35921-6', '24868-2', '41800-4', '41798-0', '35922-4', '30699-3', '43537-0', '42478-8', '46291-1', '35923-2', '46292-9', '35924-0', '46293-7', '35925-7', '43478-7', '43474-6', '43477-9', '43473-8', '43475-3', '43476-1', '72248-8', '44214-5', '30815-5', '44213-7', '58740-2', '72541-6', '72542-4', '72540-8', '35926-5', '30638-1', '24769-2', '42334-3', '42706-2', '24901-1', '35927-3', '26319-4', '26320-2', '26321-0', '48435-2', '46392-7', '37427-2', '30579-7', '24931-8', '26322-8', '26323-6', '26324-4', '70918-8', '30812-2', '37493-4', '70919-6', '30817-1', '70920-4', '30814-8', '30702-5', '72530-9', '36771-4', '37494-2', '72537-4', '72645-5', '72644-8', '72536-6', '72643-0', '72642-2', '72543-2', '72552-3', '72553-1', '72535-8', '72534-1', '48735-5', '43759-0', '35928-1', '42296-4', '43758-2', '35929-9', '42297-2', '43760-8', '37608-7', '42701-3', '39760-4', '39759-6', '39761-2', '39953-5', '39763-8', '39762-0', '39758-8', '44110-5', '24600-9', '69068-5', '26313-7', '26314-5', '26318-6', '37921-4', '42021-6', '42020-8', '39026-0', '39028-6', '38032-9', '39027-8', '24595-1', '26315-2', '26316-0', '26317-8', '44118-8', '35930-7', '35931-5', '70921-2', '35932-3', '70922-0', '69240-0', '42139-6', '24609-0', '26334-3', '26335-0', '38023-8', '26336-8', '38025-3', '44121-2', '69245-9', '69246-7', '44204-6', '69247-5', '46372-9', '62494-0', '24621-5', '69241-8', '69242-6', '42422-6', '43444-9', '42423-4', '69243-4', '44223-6', '69244-2', '42421-8', '35933-1', '35936-4', '70923-8', '35934-9', '70924-6', '35935-6', '70925-3', '72539-0', '30643-1', '35912-5', '25028-2', '25029-0', '24613-2', '30644-9', '25077-9', '24625-6', '26310-3', '26311-1', '26312-9', '41801-2', '24716-3', '62491-6', '62492-4', '25072-0', '62450-2', '25026-6', '25027-4', '26307-9', '26308-7', '26309-5', '25024-1', '26304-6', '26305-3', '26306-1', '64993-9', '42456-4', '36772-2', '24779-1', '24782-5', '35937-2', '43487-8', '65797-3', '65798-1', '69134-5', '25078-7', '24756-9', '26301-2', '26302-0', '26303-8', '24555-5', '51391-1', '35938-0', '42140-4', '39362-9', '30637-3', '41799-8', '24995-3', '44224-4', '46373-7', '44102-2', '44222-8', '30629-0', '30581-3', '30664-7', '30582-1', '30665-4', '25053-0', '25054-8', '24537-3', '42141-2', '72549-9', '72548-1', '72547-3', '72546-5', '41810-3', '24559-7', '38142-6', '30628-2', '72538-2', '72544-0', '24885-6', '72550-7', '72551-5', '42017-4', '52790-3', '72545-7', '52791-1', '46294-5', '24996-1', '24626-4', '26295-6', '26296-4', '26297-2', '48740-5', '48736-3', '48739-7', '24570-4', '43763-2', '43761-6', '43762-4', '43764-0', '72554-9', '39138-3', '39139-1', '36936-3', '24603-3', '26292-3', '26293-1', '26294-9', '36928-0', '46296-0', '46295-2', '42433-3', '69160-0', '24585-2', '36929-8', '44122-0', '30656-3', '30800-7', '28632-8', '46264-8', '47519-4', '47245-6', '52035-3', '52036-1', '52046-0', '18841-7', '52028-8', '24655-3', '52047-8', '65806-2', '11500-6', '11495-9', '11494-2', '11496-7', '11497-5', '11498-3', '28572-6', '28621-1', '29753-1', '18734-4', '18735-1', '18736-9', '28654-2', '18763-3', '18737-7', '28635-1', '18738-5', '18739-3', '46214-3', '15508-5', '11502-2', '24717-1', '52048-6', '52049-4', '55186-1', '55185-3', '11503-0', '52037-9', '24672-8', '30632-4', '52050-2', '35990-1', '41806-1', '24556-3', '24558-9', '30762-9', '24566-2', '24531-6', '24532-4', '44115-4', '36781-3', '30864-3', '36791-2', '24534-0', '39494-0', '36930-6', '36931-4', '69277-2', '36792-0', '35940-6', '24538-1', '35939-8', '35941-4', '26208-9', '35942-2', '26209-7', '35943-0', '35944-8', '26210-5', '37674-9', '37222-7', '24542-3', '35945-5', '35947-1', '35946-3', '24547-2', '46388-5', '35948-9', '35949-7', '69276-4', '37216-9', '24544-9', '35950-5', '24660-3', '30863-5', '35951-3', '30861-9', '35952-1', '24548-0', '39040-1', '43508-1', '72529-1', '43510-7', '72528-3', '37219-3', '38021-2', '37220-1', '39039-3', '24590-2', '58748-5', '44138-6', '37217-7', '37218-5', '43772-3', '42385-5', '30794-2', '24601-7', '69165-9', '38057-6', '38058-4', '24596-9', '69397-8', '30795-9', '26214-7', '35954-7', '26215-4', '35955-4', '26216-2', '46299-4', '36010-7', '36011-5', '24616-5', '42146-1', '26217-0', '43765-7', '26218-8', '39427-0', '26219-6', '39437-9', '43552-9', '36793-8', '30859-3', '30865-0', '46374-5', '24627-2', '24629-8', '24630-6', '24657-9', '30862-7', '38016-2', '37235-9', '35960-4', '35961-2', '35959-6', '44120-4', '24757-7', '35962-0', '24674-4', '35963-8', '35965-3', '26220-4', '35964-6', '35966-1', '26221-2', '35967-9', '35968-7', '26222-0', '37688-9', '35969-5', '57823-7', '24690-0', '69193-1', '24693-4', '35970-3', '39042-7', '39031-0', '69293-9', '39428-8', '69297-0', '39439-5', '39449-4', '39418-9', '42145-3', '39429-6', '42144-6', '39440-3', '30876-7', '69283-0', '41835-0', '41816-0', '36794-6', '43771-5', '39495-7', '69398-6', '39503-8', '26224-6', '26223-8', '26226-1', '26225-3', '26231-1', '26230-3', '24853-4', '35953-9', '41808-7', '24696-7', '69389-5', '69399-4', '30871-8', '38134-3', '38128-5', '39498-1', '39504-6', '35984-4', '35985-1', '35986-9', '35987-7', '38037-8', '35988-5', '35989-3', '38048-5', '38768-8', '24705-6', '26238-6', '26239-4', '26240-2', '37221-9', '35991-9', '24707-2', '35992-7', '30872-6', '46362-0', '35993-5', '26241-0', '35994-3', '26242-8', '35995-0', '35996-8', '26243-6', '37706-9', '35997-6', '24710-6', '30873-4', '35998-4', '26244-4', '35999-2', '26245-1', '36000-8', '26246-9', '24711-4', '36001-6', '39415-5', '39416-3', '37236-7', '24719-7', '36002-4', '24720-5', '36003-2', '46382-8', '36004-0', '26247-7', '36005-7', '26248-5', '36006-5', '36007-3', '26249-3', '37717-6', '24725-4', '24728-8', '24731-2', '58741-0', '30858-5', '30856-9', '24733-8', '42304-6', '30880-9', '30655-5', '24746-0', '58742-8', '44164-2', '58744-4', '24748-6', '36009-9', '44137-8', '42148-7', '36014-9', '36013-1', '24760-1', '36012-3', '36016-4', '36017-2', '26250-1', '36015-6', '36018-0', '36020-6', '26251-9', '36019-8', '36021-4', '36022-2', '26252-7', '37735-8', '43566-9', '36024-8', '39425-4', '42147-9', '39497-3', '38129-3', '38137-6', '38141-8', '35958-8', '35956-2', '24767-6', '26253-5', '35957-0', '26254-3', '38767-0', '26255-0', '24735-3', '36033-9', '38036-0', '36032-1', '39032-8', '42477-0', '43767-3', '36034-7', '43774-9', '24789-0', '69402-6', '36035-4', '38038-6', '69113-9', '36036-2', '38049-3', '36037-0', '24802-1', '36038-8', '36799-5', '36800-1', '36801-9', '36040-4', '26256-8', '36039-6', '36041-2', '26257-6', '36042-0', '36043-8', '26258-4', '37760-6', '36045-3', '36044-6', '24814-6', '36046-1', '28614-6', '39454-4', '24818-7', '35971-1', '30692-8', '30709-0', '35972-9', '48693-6', '39434-6', '38130-1', '39421-3', '41834-3', '39499-9', '41815-2', '39505-3', '46363-8', '30881-7', '46364-6', '39420-5', '48692-8', '39432-0', '48691-0', '39443-7', '36079-2', '69385-3', '36784-7', '69392-9', '36785-4', '42461-4', '42462-2', '30874-2', '44174-1', '35974-5', '39422-1', '36795-3', '39431-2', '36796-1', '39442-9', '35973-7', '35975-2', '38013-9', '24687-6', '26227-9', '26228-7', '26229-5', '35976-0', '35978-6', '38040-2', '35977-8', '35979-4', '35980-2', '38051-9', '37766-3', '36074-3', '24821-1', '43513-1', '43556-0', '42696-5', '36075-0', '36076-8', '30866-8', '57822-9', '36047-9', '36048-7', '38043-6', '36776-3', '46298-6', '36050-3', '36049-5', '37234-2', '38044-4', '37233-4', '69394-5', '69211-1', '37606-1', '30860-1', '24835-1', '36051-1', '24839-3', '24842-7', '36788-8', '36085-9', '44175-8', '30857-7', '41807-9', '36777-1', '36802-7', '24848-4', '37611-1', '38836-3', '36778-9', '42303-8', '43530-5', '43455-5', '39502-0', '36779-7', '69390-3', '43506-5', '24857-5', '36052-9', '24859-1', '39509-5', '36053-7', '38045-1', '37223-5', '37224-3', '38138-4', '24865-8', '24867-4', '24869-0', '37632-7', '36789-6', '30867-6', '24870-8', '24872-4', '26259-2', '26260-0', '26261-8', '38140-0', '38139-2', '24877-3', '36932-2', '24880-7', '24881-5', '26262-6', '26263-4', '26264-2', '36077-6', '69284-8', '36055-2', '36056-0', '36057-8', '30675-3', '24884-9', '43445-6', '43454-8', '36803-5', '24892-2', '69294-7', '39435-3', '36078-4', '30868-4', '69295-4', '39426-2', '36804-3', '39419-7', '30619-1', '36031-3', '36058-6', '36059-4', '38053-5', '37653-3', '69116-2', '36060-2', '36933-0', '69298-8', '69117-0', '36061-0', '36073-5', '25002-7', '48742-1', '26271-7', '26272-5', '26273-3', '42437-4', '36062-8', '24905-2', '24907-8', '37850-5', '36805-0', '36806-8', '36807-6', '36063-6', '26266-7', '26265-9', '36064-4', '26268-3', '26267-5', '36065-1', '36066-9', '26270-9', '26269-1', '37811-7', '30588-8', '24914-4', '37866-1', '37874-5', '37495-9', '28566-8', '36067-7', '24926-8', '37497-5', '24932-6', '24935-9', '70926-1', '36068-5', '43457-1', '42698-1', '24963-1', '24968-0', '69393-7', '36069-3', '37232-6', '24978-9', '24980-5', '70927-9', '37911-5', '49565-5', '24988-8', '36070-1', '24990-4', '37225-0', '36071-9', '36072-7', '37885-1', '36782-1', '38131-9', '46359-6', '44235-0', '42468-9', '38059-2', '36773-0', '37226-8', '24999-5', '30719-9', '37228-4', '37227-6', '37230-0', '37229-2', '37231-8', '37819-0', '39446-0', '24702-3', '26235-2', '26236-0', '26237-8', '36054-5', '24582-9', '44163-4', '26211-3', '26212-1', '26213-9', '43507-3', '42300-4', '25010-0', '37898-4', '30888-2', '36780-5', '69285-5', '39508-7', '36023-0', '36025-5', '36026-3', '69180-8', '36027-1', '36028-9', '36029-7', '36030-5', '35981-0', '24688-4', '30710-8', '37923-0', '48448-5', '39447-8', '38014-7', '39423-9', '41833-5', '39500-4', '41814-5', '39506-1', '30882-5', '48690-2', '39496-5', '48689-4', '39501-2', '48688-6', '39507-9', '36080-0', '69395-2', '36786-2', '36787-0', '46385-1', '44236-8', '42475-4', '42476-2', '36084-2', '39448-6', '46379-4', '36797-9', '39433-8', '36798-7', '39444-5', '26232-9', '30875-9', '36774-8', '36775-5', '35982-8', '26233-7', '38041-0', '35983-6', '26234-5', '38052-7', '25019-1', '42301-2', '30705-8', '39036-9', '39525-1', '39030-2', '36783-9', '69222-8', '36081-8', '36083-4', '36082-6', '36790-4', '39445-2', '38054-3', '37428-0', '25033-2', '25036-5', '37932-1', '37430-6', '26277-4', '26278-2', '37429-8', '37431-4', '26279-0', '26280-8', '37432-2', '69209-5', '37433-0', '26281-6', '26282-4', '37644-2', '69219-4', '36008-1', '25045-6', '25040-7', '25056-3', '44136-0', '25061-3', '25071-2', '46375-2', '39523-6', '44229-3', '28576-7', '39453-6', '36957-9', '37294-6', '41804-6', '39043-5', '44165-9', '58745-1', '59255-0', '69082-6', '37295-3', '72830-3', '72832-9', '39879-2', '39881-8', '30760-3', '25055-5', '39408-0', '39862-8', '47378-5', '37435-5', '42693-2', '39140-9', '44126-1', '42386-3', '42387-1', '37434-8', '46300-0', '72139-9', '72138-1', '72137-3', '37436-3', '43555-2', '43449-8', '37437-1', '36114-7', '43450-6', '43451-4', '46394-3', '43452-2', '43453-0', '37438-9', '43527-1', '39637-4', '43655-0', '43652-7', '69235-0', '43670-9', '43673-3', '43662-6', '39684-6', '39811-5', '39141-7', '39656-4', '39654-9', '39655-6', '39675-4', '11525-3', '72251-2', '24889-8', '36934-8', '36935-5', '43446-4', '69237-6', '39678-8', '39748-9', '42292-3', '46395-0', '39913-9', '39918-8', '46396-8', '39916-2', '39930-3', '37439-7', '37440-5', '37441-3', '39409-8', '36086-7', '30704-1', '38047-7', '43572-7', '38011-3', '69280-6', '24599-3', '26286-5', '26288-1', '26290-7', '38015-4', '42149-5', '42151-1', '36089-1', '69281-4', '36090-9', '39526-9', '46301-8', '39424-7', '62451-0', '62452-8', '69286-3', '36937-1', '38020-4', '36087-5', '38034-5', '36808-4', '39044-3', '36091-7', '42707-0', '36092-5', '43776-4', '42150-3', '36088-3', '38035-2', '69300-2', '41812-9', '38042-8', '39430-4', '39441-1', '36093-3', '38039-4', '38050-1', '44116-2', '48461-8', '69212-9', '38046-9', '42152-9', '44173-3', '39436-1', '69299-6', '24913-6', '41813-7', '38143-4', '46302-6', '44237-6', '46303-4', '36094-1', '39045-0', '39524-4', '25039-9', '48460-0', '69282-2', '72831-1', '44127-9', '39046-8', '36102-2', '36095-8', '36096-6', '69096-6', '36098-2', '36099-0', '36100-6', '36101-4', '36097-4', '39681-2', '39813-1', '39821-4', '36103-0', '36105-5', '47366-0', '36938-9', '36104-8', '36106-3', '36107-1', '38769-6', '36108-9', '46304-2', '36109-7', '36110-5', '36111-3', '36112-1', '39905-5', '39906-3', '39527-7', '49569-7', '43659-2', '39725-7', '39718-2', '39724-0', '39723-2', '49568-9', '39729-9', '39700-0', '49567-1', '39142-5', '39712-5', '39734-9', '39736-4', '39710-9', '39711-7', '38060-0', '25052-2', '25050-6', '42132-1', '72142-3', '72141-5', '72140-7', '37442-1', '37443-9', '36939-7', '70929-5', '70928-7', '70930-3', '36940-5', '42455-6', '24677-7', '42390-5', '39838-8', '39898-2', '39872-7', '46305-9', '46358-8', '44139-4', '46306-7', '39680-4', '39816-4', '39825-5', '41837-6', '39658-0', '39662-2', '49566-3', '30711-6', '24732-0', '30706-6', '30701-7', '69388-7', '69086-7', '69108-9', '69085-9', '69207-9', '69217-8', '69208-7', '69218-6', '48442-8', '48450-1', '44114-7', '48452-7', '44113-9', '48441-0', '36267-3', '24557-1', '48743-9', '42274-1', '36846-4', '30805-6', '36855-5', '36950-4', '36951-2', '36268-1', '24539-9', '26187-5', '36269-9', '26188-3', '36270-7', '26189-1', '44131-1', '36271-5', '36273-1', '36272-3', '36274-9', '30806-4', '46360-4', '43509-9', '43511-5', '36944-7', '24587-8', '48694-4', '43769-9', '42392-1', '36276-4', '69189-9', '69166-7', '38870-2', '38062-6', '36277-2', '36278-0', '36279-8', '43528-9', '36358-0', '36280-6', '36281-4', '36856-3', '30598-7', '36283-0', '36848-0', '30804-9', '36420-8', '42277-4', '36284-8', '72252-0', '69161-8', '42299-8', '48455-0', '48454-3', '36285-5', '24675-1', '26193-3', '36286-3', '26194-1', '36287-1', '26195-8', '42268-3', '24694-2', '30803-1', '36338-2', '36339-0', '36340-8', '69194-9', '69204-6', '69214-5', '36341-6', '30682-9', '36342-4', '36343-2', '36344-0', '36345-7', '36346-5', '36347-3', '30684-5', '69174-1', '36348-1', '36349-9', '36350-7', '36351-5', '36352-3', '30686-0', '69177-4', '36353-1', '36354-9', '36355-6', '36356-4', '24726-2', '24729-6', '36847-2', '30593-8', '36857-1', '36357-2', '36359-8', '30688-6', '36360-6', '36361-4', '36362-2', '36363-0', '36364-8', '36365-5', '36282-2', '30659-7', '24740-3', '43768-1', '43775-6', '36377-0', '36378-8', '24784-1', '36379-6', '24803-9', '38837-1', '36862-1', '26199-0', '36380-4', '26200-6', '36381-2', '26201-4', '36382-0', '30612-6', '30670-4', '36288-9', '39291-0', '36416-6', '36849-8', '36850-6', '30807-2', '44128-7', '46308-3', '36858-9', '46307-5', '36859-7', '36289-7', '36371-3', '36372-1', '36373-9', '36290-5', '36291-3', '36292-1', '36333-3', '36408-3', '30870-0', '42697-3', '36409-1', '36410-9', '36411-7', '36412-5', '36383-8', '37272-2', '48443-6', '36384-6', '30586-2', '24840-1', '36853-0', '30594-6', '36423-2', '48451-9', '36842-3', '43458-9', '24849-2', '24851-8', '36843-1', '36844-9', '39029-4', '46310-9', '36845-6', '30614-2', '36385-3', '46311-7', '37265-6', '30616-7', '30674-6', '36854-8', '30623-3', '36863-9', '30672-0', '36835-7', '24904-5', '24879-9', '36414-1', '36387-9', '36388-7', '36389-5', '36275-6', '36415-8', '44134-5', '36375-4', '36376-2', '36390-3', '36391-1', '36392-9', '36393-7', '36394-5', '36406-7', '36395-2', '24906-0', '36864-7', '36865-4', '26202-2', '36396-0', '26203-0', '36397-8', '26204-8', '36398-6', '30663-9', '44111-3', '69220-2', '37277-1', '36399-4', '36400-0', '37505-5', '36401-8', '24937-5', '37506-3', '43456-3', '30855-1', '36402-6', '24967-2', '37507-1', '36403-4', '24981-3', '37508-9', '24989-6', '36404-2', '37266-4', '36405-9', '44231-9', '36837-3', '37267-2', '37268-0', '37269-8', '37270-6', '37271-4', '24703-1', '26196-6', '26197-4', '26198-2', '24583-7', '26190-9', '26191-7', '26192-5', '36407-5', '72241-3', '72238-9', '36366-3', '30690-2', '69181-6', '36367-1', '36368-9', '36369-7', '36370-5', '36334-1', '39034-4', '36417-4', '36851-4', '36852-2', '36421-6', '36422-4', '46312-5', '36860-5', '46309-1', '36861-3', '69186-5', '36374-7', '36840-7', '36841-5', '36335-8', '38831-4', '36336-6', '36337-4', '36413-3', '36418-2', '36419-0', '37457-9', '25035-7', '26205-5', '37458-7', '26206-3', '38802-5', '26207-1', '42298-0', '24588-6', '72244-7', '43448-0', '46318-2', '46317-4', '46315-8', '46316-6', '46314-1', '46313-3', '60515-4', '24586-0', '24936-7', '24977-1', '25046-4', '38022-0', '25047-2', '25057-1', '30599-5', '24567-0', '38055-0', '36809-2', '69162-6', '69238-4', '30853-6', '36941-3', '37237-5', '36115-4', '69102-2', '36116-2', '69109-7', '36117-0', '46319-0', '69103-0', '36118-8', '69110-5', '36119-6', '36120-4', '69105-5', '36121-2', '69112-1', '36122-0', '36124-6', '36125-3', '69106-3', '36126-1', '69114-7', '36127-9', '37238-3', '69210-3', '36123-8', '36128-7', '36129-5', '38828-0', '36130-3', '36131-1', '36132-9', '36810-0', '37444-7', '69107-1', '37445-4', '69115-4', '37446-2', '36811-8', '36812-6', '39322-3', '37496-7', '37509-7', '70931-1', '24734-6', '47985-7', '24934-2', '48447-7', '24965-6', '48436-0', '30596-1', '48439-4', '36134-5', '36813-4', '36828-2', '24533-2', '69908-2', '36943-9', '44124-6', '36135-2', '36136-0', '69163-4', '36137-8', '36138-6', '36139-4', '36140-2', '36142-8', '36141-0', '36143-6', '24545-6', '72255-3', '43503-2', '36144-4', '37499-1', '36145-1', '43504-0', '43505-7', '44125-3', '69095-8', '24589-4', '48444-4', '37239-1', '37215-1', '42391-3', '36149-3', '69190-7', '69167-5', '36150-1', '36151-9', '36152-7', '46323-2', '36198-0', '36153-5', '36154-3', '36146-9', '36829-0', '24628-0', '36156-8', '36266-5', '24659-5', '42275-8', '36942-1', '72254-6', '37254-0', '42694-0', '48457-6', '48456-8', '36157-6', '36158-4', '69170-9', '36159-2', '36160-0', '36161-8', '36162-6', '24691-8', '26184-2', '26185-9', '26186-7', '36148-5', '30801-5', '24697-5', '36172-5', '69172-5', '36174-1', '36176-6', '69195-6', '69205-3', '69215-2', '36178-2', '36179-0', '36180-8', '36181-6', '36182-4', '36183-2', '36184-0', '36185-7', '36186-5', '69175-8', '36187-3', '36188-1', '36189-9', '36190-7', '36191-5', '36192-3', '69178-2', '36193-1', '36194-9', '36195-6', '36196-4', '24727-0', '36814-2', '36826-6', '36830-8', '24593-6', '37498-3', '24747-8', '36197-2', '36200-4', '36199-8', '36201-2', '36202-0', '36203-8', '36204-6', '36205-3', '36206-1', '30583-9', '36155-0', '46322-4', '36113-9', '43766-5', '36219-4', '24790-8', '36220-2', '36221-0', '36222-8', '36223-6', '69088-3', '36224-4', '36225-1', '36226-9', '36227-7', '36228-5', '36229-3', '36230-1', '24815-3', '36231-9', '30624-1', '39293-6', '36824-1', '36825-8', '36831-6', '46324-0', '44135-2', '50755-8', '36163-4', '36213-7', '36214-5', '36215-2', '36164-2', '36165-9', '36166-7', '36167-5', '36258-2', '36259-0', '24820-3', '43512-3', '42695-7', '36260-8', '36261-6', '36262-4', '36263-2', '36232-7', '48446-9', '36233-5', '24836-9', '36235-0', '24841-9', '36827-4', '36234-3', '24844-3', '48449-3', '36820-9', '36832-4', '24850-0', '24852-6', '36821-7', '36822-5', '46320-8', '39038-5', '46321-6', '36823-3', '24858-3', '36236-8', '37240-9', '37241-7', '24866-6', '36237-6', '42294-9', '24873-2', '24878-1', '30590-4', '36238-4', '36242-6', '36243-4', '36244-2', '36147-7', '36833-2', '30887-4', '36217-8', '36218-6', '36245-9', '36246-7', '36247-5', '36248-3', '36249-1', '69221-0', '36250-9', '36251-7', '69184-0', '36252-5', '38830-6', '36253-3', '36254-1', '36255-8', '24915-1', '48440-2', '37253-2', '24987-0', '36256-6', '37500-6', '24933-4', '24938-3', '37501-4', '38061-8', '24964-9', '30678-7', '37502-2', '24979-7', '24982-1', '37503-0', '30622-5', '37242-5', '36257-4', '36815-9', '38835-5', '36816-7', '37243-3', '37244-1', '37245-8', '37246-6', '37247-4', '37248-2', '37249-0', '36173-3', '25003-5', '36175-8', '36177-4', '36239-2', '24584-5', '26181-8', '26182-6', '26183-4', '36240-0', '36241-8', '72243-9', '72240-5', '36207-9', '36208-7', '69182-4', '36209-5', '36210-3', '36211-1', '36212-9', '30626-6', '39037-7', '42295-6', '24549-8', '36168-3', '69187-3', '36216-0', '36817-5', '36818-3', '36819-1', '36169-1', '38829-8', '36170-9', '36171-7', '36264-0', '36265-7', '36834-0', '37447-0', '37448-8', '69091-7', '37449-6', '37450-4', '37451-2', '37452-0', '37453-8', '24753-6', '49507-7', '25058-9', '72531-7', '39450-2', '72246-2', '72250-4', '72247-0', '72245-4', '39648-1', '44154-3', '42389-7', '42388-9', '42270-9', '39682-0', '39638-2', '39755-4', '39839-6', '39844-6', '41838-4', '41772-5', '46297-8', '39823-0', '24578-7', '39632-5', '39644-0', '39770-3', '39649-9', '42310-3', '39852-9', '39692-9', '39876-8', '39628-3', '39740-6', '43526-3', '39938-6', '46330-7', '46327-3', '46326-5', '46328-1', '46325-7', '46329-9', '42143-8', '58750-1', '58749-3', '39668-9', '44152-7', '39743-0', '39640-8', '39641-6', '44153-5', '39631-7', '24817-9', '39851-1', '69229-3', '44151-9', '39691-1', '69234-3', '39647-3', '39639-0', '42377-2', '46393-5', '42394-7', '36424-0', '30668-8', '42291-5', '36952-0', '36878-7', '36496-8', '36953-8', '36954-6', '36425-7', '30680-3', '36879-5', '69087-5', '69164-2', '36426-5', '36427-3', '36428-1', '36429-9', '36430-7', '44132-9', '36431-5', '36432-3', '69119-6', '36433-1', '44130-3', '36434-9', '44123-8', '30657-1', '48453-5', '37278-9', '37279-7', '42393-9', '36436-4', '69191-5', '69168-3', '38064-2', '38817-3', '44119-6', '36437-2', '36438-0', '36439-8', '46333-1', '36483-6', '36440-6', '36441-4', '36880-3', '29252-4', '36442-2', '69084-2', '36547-8', '42276-6', '72253-8', '42302-0', '48459-2', '48458-4', '36443-0', '30796-7', '36444-8', '69171-7', '36445-5', '36446-3', '36447-1', '36448-9', '42278-2', '69104-8', '69111-3', '36435-6', '30802-3', '72249-6', '36460-4', '69173-3', '36462-0', '36464-6', '69196-4', '69206-1', '69216-0', '36466-1', '30681-1', '36467-9', '36468-7', '36469-5', '36470-3', '36471-1', '36472-9', '30683-7', '69176-6', '36473-7', '36474-5', '36475-2', '36476-0', '36477-8', '30685-2', '69179-0', '36478-6', '36479-4', '36480-2', '36481-0', '30799-1', '36876-1', '42293-1', '36881-1', '36482-8', '36484-4', '30687-8', '36485-1', '36486-9', '36487-7', '36488-5', '36489-3', '36490-1', '30584-7', '30658-9', '43770-7', '43773-1', '36503-1', '36504-9', '39359-5', '36505-6', '30691-0', '69089-1', '36506-4', '36507-2', '36508-0', '36509-8', '36510-6', '36511-4', '48445-1', '30611-8', '30669-6', '30625-8', '39292-8', '44129-5', '36450-5', '36882-9', '38773-8', '36449-7', '36451-3', '36497-6', '36498-4', '36499-2', '36452-1', '36453-9', '36454-7', '36455-4', '36537-9', '30869-2', '69185-7', '36538-7', '36539-5', '36540-3', '36541-1', '36512-2', '36513-0', '30585-4', '36514-8', '30660-5', '36877-9', '36549-4', '46331-5', '36872-0', '30587-0', '30661-3', '36873-8', '36874-6', '36956-1', '46332-3', '36875-3', '30613-4', '36515-5', '37280-5', '37281-3', '30615-9', '30673-8', '36883-7', '30671-2', '30589-6', '30591-2', '30666-2', '36543-7', '36517-1', '36518-9', '36519-7', '36544-5', '44133-7', '36501-5', '36502-3', '36520-5', '36521-3', '36522-1', '69118-8', '36523-9', '38770-4', '36535-3', '36524-7', '30693-6', '69090-9', '36525-4', '36526-2', '38834-8', '36527-0', '36528-8', '36529-6', '30662-1', '44112-1', '48687-8', '37293-8', '36530-4', '36531-2', '37510-5', '30592-0', '30667-0', '37511-3', '30854-4', '30620-9', '30679-5', '37994-1', '37288-8', '30597-9', '36532-0', '37512-1', '30621-7', '36533-8', '37282-1', '36534-6', '44230-1', '36866-2', '36867-0', '36868-8', '37283-9', '37284-7', '37285-4', '37286-2', '37287-0', '36461-2', '43514-9', '43515-6', '36463-8', '36465-3', '30654-8', '38833-0', '36516-3', '36955-3', '36536-1', '72242-1', '72239-7', '36491-9', '30689-4', '69183-2', '36492-7', '36493-5', '36494-3', '36495-0', '30627-4', '39033-6', '36548-6', '36456-2', '69188-1', '36500-7', '36869-6', '36870-4', '36457-0', '38832-2', '36458-8', '36459-6', '36542-9', '36545-2', '36546-0', '37459-5', '37460-3', '43516-4', '43517-2', '37461-1', '37462-9', '37463-7', '37464-5', '37465-2', '37466-0', '43525-5', '69223-6', '36871-2', '24787-4', '30712-4', '25051-4', '29750-7', '25060-5', '52072-6', '53246-5', '46210-1', '34819-3', '46215-0', '28568-4', '11536-0', '52066-8', '53244-0', '11543-6', '46208-5', '52051-0', '52052-8', '52053-6', '52054-4', '52067-6', '24620-7', '33721-2', '34122-2', '55188-7', '55750-4', '52034-6', '24882-3', '69252-5', '69248-3', '42018-2', '69301-0', '28629-4', '74030-8', '29752-3', '24875-7', '51965-2', '51850-6', '24998-7', '52055-1', '52063-5', '18836-7', '28570-0', '28577-5', '11505-5', '28625-2', '52068-4', '46209-3', '55751-2', '52075-9', '55184-6', '55182-0', '55183-8', '62385-0', '11514-7', '11521-2', '11515-4', '11516-2', '11517-0', '11518-8', '11519-6', '11520-4', '44226-9', '30636-5', '18823-5', '18824-3', '18825-0', '18826-8', '19002-5', '18594-2', '52184-9', '19003-3', '19004-1', '29206-0', '25073-8', '52056-9', '25015-9', '60569-1', '55187-9', '52057-7', '52058-5', '52039-5', '52059-3', '52060-1', '52029-6', '55228-1', '18752-6', '29755-6', '11526-1', '28633-6', '11527-9', '58477-1', '11529-5', '55230-7', '11523-8', '11541-0', '29757-2', '33717-0', '18745-0', '11524-6', '18750-0', '18754-2', '18746-8', '18753-4', '29756-4', '18744-3', '18759-1', '38269-7', '18756-7', '17787-3', '55229-9', '18751-8', '18742-7', '33716-2', '18748-4', '18749-2', '33719-6', '29754-9', '52038-7', '52061-9', '28583-3', '28573-4', '60568-3', '52069-2', '11534-5', '46213-5', '28630-2', '52062-7', '28651-8', '28616-1', '69409-1', '24783-3', '25065-4', '25068-8', '43471-2', '25066-2', '25067-0', '43472-0', '42702-1', '42703-9', '36550-2', '36551-0', '69307-7', '69314-3', '46335-6', '46336-4', '46337-2', '46338-0', '36564-3', '69311-9', '69319-2', '36554-4', '42699-9', '36555-1', '36556-9', '69308-5', '69315-0', '42153-7', '36559-3', '36560-1', '37689-7', '36561-9', '69309-3', '69316-8', '36563-5', '69310-1', '69318-4', '24761-9', '26400-2', '26401-0', '26402-8', '36565-0', '69312-7', '69320-0', '36566-8', '36567-6', '37741-6', '36557-7', '36558-5', '37764-8', '37614-5', '69152-7', '69260-8', '37616-0', '69317-6', '42313-7', '42314-5', '37654-1', '30748-8', '36568-4', '36569-2', '37792-9', '37851-3', '24917-7', '48695-1', '37875-2', '24940-9', '30773-6', '37904-0', '38121-0', '69313-5', '69321-8', '37894-3', '37924-8', '42419-2', '36570-0', '37825-7', '30642-3', '30787-6', '44176-6', '41775-8', '30749-6', '30722-3', '30724-9', '30774-4', '70932-9', '25063-9', '69268-1', '49510-1', '49509-3', '24715-5', '37513-9', '37514-7', '38806-6', '37467-8', '37468-6', '42431-7', '69079-2', '37469-4', '37470-2', '38803-3', '24799-9', '36583-3', '37662-4', '36571-8', '36572-6', '36573-4', '36575-9', '36576-7', '36577-5', '36578-3', '36579-1', '36580-9', '36581-7', '36582-5', '37726-7', '36584-1', '36585-8', '48462-6', '48463-4', '36574-2', '42439-0', '37622-8', '39050-0', '36958-7', '36959-5', '37783-8', '39048-4', '37842-2', '36586-6', '36587-4', '37798-6', '69269-9', '37877-8', '30725-6', '24948-2', '30777-7', '30752-0', '39049-2', '37880-2', '37890-1', '37897-6', '39402-3', '37634-3', '30734-8', '30735-5', '24561-3', '24637-1', '24560-5', '24636-3', '36588-2', '36589-0', '30727-2', '30729-8', '30755-3', '24563-9', '43466-2', '24652-0', '43778-0', '24564-7', '36960-3', '24807-0', '26358-2', '26359-0', '26360-8', '44177-4', '38849-6', '37733-3', '42420-0', '42378-0', '39410-6', '42379-8', '39411-4', '24723-9', '26355-8', '26356-6', '26357-4', '42395-4', '42396-2', '36962-9', '37849-7', '36963-7', '36964-5', '37800-0', '36965-2', '37471-0', '37472-8', '38804-1', '36966-0', '36967-8', '38775-3', '37928-9', '37857-0', '69132-9', '69141-0', '39514-5', '37625-1', '37650-9', '65799-9', '65800-5', '65801-3', '37297-9', '39149-0', '36973-6', '37843-0', '36974-4', '37801-8', '37844-8', '37035-3', '37473-6', '38805-8', '36975-1', '36977-7', '38776-1', '36976-9', '36978-5', '37628-5', '36979-3', '36980-1', '38777-9', '36981-9', '36982-7', '36983-5', '37732-5', '36620-3', '36591-6', '36592-4', '39051-8', '36593-2', '36594-0', '36595-7', '36596-5', '36597-3', '36598-1', '37703-6', '36599-9', '36600-5', '36601-3', '37712-7', '36602-1', '36603-9', '37730-9', '36604-7', '36605-4', '36606-2', '37751-5', '24843-5', '37629-3', '39053-4', '38857-9', '37784-6', '37858-8', '24920-1', '39052-6', '24943-3', '24969-8', '30756-1', '37891-9', '37893-5', '37930-5', '36984-3', '36985-0', '36986-8', '36987-6', '37727-5', '36988-4', '37872-9', '37878-6', '36989-2', '36990-0', '37903-2', '36991-8', '36992-6', '30786-8', '36993-4', '36994-2', '37729-1', '37626-9', '36999-1', '37000-7', '37750-7', '37909-9', '41774-1', '30757-9', '37515-4', '37516-2', '38066-7', '38819-9', '37001-5', '37002-3', '37754-9', '42442-4', '37003-1', '37910-7', '36997-5', '36971-0', '37833-1', '36998-3', '36972-8', '37834-9', '37004-9', '36995-9', '30737-1', '30738-9', '24639-7', '24638-9', '37008-0', '37009-8', '24641-3', '24640-5', '38069-1', '37005-6', '37773-9', '42441-6', '24801-3', '26283-2', '26284-0', '26285-7', '37006-4', '37007-2', '37475-1', '37671-5', '38067-5', '36607-0', '36609-6', '36610-4', '36611-2', '36612-0', '36613-8', '36614-6', '36615-3', '37704-4', '36616-1', '36617-9', '36618-7', '42689-0', '30778-5', '30758-7', '37892-7', '44178-2', '37545-1', '37728-3', '30759-5', '37631-9', '37845-5', '37012-2', '37013-0', '37802-6', '36621-1', '36622-9', '36623-7', '37714-3', '69270-7', '37931-3', '36624-5', '37015-5', '24648-8', '37014-8', '37755-6', '37477-7', '37476-9', '39324-9', '69263-2', '24828-6', '24871-6', '37998-2', '37999-0', '38000-6', '38006-3', '38068-3', '36996-7', '37010-6', '37011-4', '37018-9', '37020-5', '37019-7', '37752-3', '39323-1', '49511-9', '24699-1', '26178-4', '26179-2', '26180-0', '42812-8', '42813-6', '42814-4', '42811-0', '44206-1', '30714-0', '42426-7', '37659-0', '42428-3', '42429-1', '42427-5', '37660-8', '37846-3', '37298-7', '37299-5', '37808-3', '43671-7', '42471-3', '42474-7', '39516-0', '37024-7', '37025-4', '37791-1', '39517-8', '37861-2', '37026-2', '43780-6', '37027-0', '43779-8', '69256-6', '69239-2', '69069-3', '69064-4', '69149-3', '42432-5', '24944-1', '37028-8', '37029-6', '37030-4', '37770-5', '37870-3', '24668-6', '37031-2', '37032-0', '37033-8', '38007-1', '37034-6', '38779-5', '37300-1', '37037-9', '37038-7', '38855-3', '37771-3', '37039-5', '37040-3', '38772-0', '30790-0', '37041-1', '37042-9', '37761-4', '38842-1', '37677-2', '37043-7', '37756-4', '37044-5', '37645-9', '37045-2', '37046-0', '37047-8', '37048-6', '38780-3', '37049-4', '37613-7', '37863-8', '24921-9', '42473-9', '38117-8', '30751-2', '37050-2', '37051-0', '37809-1', '42680-9', '37052-8', '37053-6', '37772-1', '37656-6', '37055-1', '37054-4', '37790-3', '37847-1', '38858-7', '37805-9', '37848-9', '37056-9', '37057-7', '37810-9', '41793-1', '41790-7', '24656-1', '39047-6', '38065-9', '38818-1', '42008-3', '24893-0', '37058-5', '37059-3', '37207-8', '37731-7', '44205-3', '38850-4', '37734-1', '37633-5', '39144-1', '41795-6', '69302-8', '36968-6', '30639-9', '42470-5', '30809-8', '42469-7', '38001-4', '38002-2', '37060-1', '37636-8', '46341-4', '24535-7', '26133-9', '26134-7', '26135-4', '24536-5', '26136-2', '26137-0', '26138-8', '24541-5', '26097-6', '26098-4', '51395-2', '26099-2', '51394-5', '36625-2', '46342-2', '38070-9', '38071-7', '38072-5', '38820-7', '46380-2', '24597-7', '38079-0', '38080-8', '38821-5', '36626-0', '36627-8', '37774-7', '46339-8', '24612-4', '26100-8', '26101-6', '26102-4', '30745-4', '30631-6', '42269-1', '24664-5', '26106-5', '26107-3', '26108-1', '30883-3', '24676-9', '26109-9', '26110-7', '26111-5', '46381-0', '37637-6', '24695-9', '37303-5', '24704-9', '26118-0', '26120-6', '26122-2', '24706-4', '26124-8', '30783-5', '37517-0', '37518-8', '38147-5', '30782-7', '37519-6', '37520-4', '38146-7', '26125-5', '26126-3', '30780-1', '37521-2', '37522-0', '38144-2', '30781-9', '37523-8', '37524-6', '38145-9', '24709-8', '26127-1', '26128-9', '26129-7', '42399-6', '42400-2', '43641-0', '42434-1', '37532-9', '37533-7', '38152-5', '28582-5', '36629-4', '36630-2', '37716-8', '24752-8', '24762-7', '26130-5', '26131-3', '26132-1', '28567-6', '37319-1', '37321-7', '37320-9', '38797-7', '37062-7', '36632-8', '37738-2', '36628-6', '28565-0', '36635-1', '36636-9', '37758-0', '48465-9', '24686-8', '26112-3', '26113-1', '26114-9', '24829-4', '48745-4', '43533-9', '24830-2', '26139-6', '26140-4', '26141-2', '36637-7', '24834-4', '37639-2', '37332-4', '38798-5', '24846-8', '26142-0', '26143-8', '26144-6', '36886-0', '24854-2', '36887-8', '38774-6', '43529-7', '24855-9', '30791-8', '36638-5', '36639-3', '37777-0', '28561-9', '30885-8', '30767-8', '30768-6', '36631-0', '38771-2', '47984-0', '24745-2', '26146-1', '26148-7', '26150-3', '24891-4', '24899-7', '37937-0', '38073-3', '38074-1', '37963-6', '38868-6', '37962-8', '26151-1', '69071-9', '26152-9', '39326-4', '38866-0', '39489-0', '42381-4', '39493-2', '37960-2', '37938-8', '39352-0', '38869-4', '37964-4', '26153-7', '39351-2', '39491-6', '38867-8', '39353-8', '39492-4', '37961-0', '24900-3', '36633-6', '36634-4', '37786-1', '30884-1', '24665-2', '39058-3', '24903-7', '26154-5', '26155-2', '26156-0', '42159-4', '24909-4', '26157-8', '26158-6', '26159-4', '42160-2', '24911-0', '24916-9', '28564-3', '48697-7', '37338-1', '28613-8', '24946-6', '36640-1', '43538-8', '37481-9', '38008-9', '43781-4', '24972-2', '43536-2', '24975-5', '37340-7', '37341-5', '37342-3', '46340-6', '24983-9', '42692-4', '37975-0', '37323-3', '37324-1', '37965-1', '24993-8', '24994-6', '72876-6', '25000-1', '37325-8', '30889-0', '30890-8', '25006-8', '26160-2', '26161-0', '26162-8', '26163-6', '26164-4', '26165-1', '25011-8', '37530-3', '38151-7', '37531-1', '38150-9', '37534-5', '38148-3', '37535-2', '38149-1', '25013-4', '26166-9', '26167-7', '26168-5', '44238-4', '48464-2', '24689-2', '26115-6', '26116-4', '26117-2', '24619-9', '26169-3', '26170-1', '51392-9', '26171-9', '51388-7', '43468-8', '49512-7', '25074-6', '26172-7', '26173-5', '26174-3', '51387-9', '39370-2', '30635-7', '42162-8', '39400-7', '69131-1', '69140-2', '39513-7', '39360-3', '69059-4', '69139-4', '39377-7', '37583-2', '39372-8', '39373-6', '39390-0', '39511-1', '39376-9', '42164-4', '42163-6', '39414-8', '39398-3', '69056-0', '41811-1', '41832-7', '42010-9', '42165-1', '46389-3', '39391-8', '39412-2', '69148-5', '39389-2', '30694-4', '42271-7', '60527-9', '25008-4', '69236-8', '43672-5', '44147-7', '42405-1', '42401-0', '42411-9', '39392-6', '44199-8', '44198-0', '47373-6', '47375-1', '43521-4', '47983-2', '48489-9', '48488-1', '43522-2', '48467-5', '43523-0', '44202-0', '44201-2', '36641-9', '37064-3', '37664-0', '36665-8', '37661-6', '24540-7', '26385-5', '26386-3', '26387-1', '36642-7', '37768-9', '36661-7', '48433-7', '36662-5', '37718-4', '36643-5', '36644-3', '36645-0', '36646-8', '37679-8', '36647-6', '36648-4', '36649-2', '36650-0', '37681-4', '36652-6', '36653-4', '36654-2', '37690-5', '36655-9', '36656-7', '37694-7', '30784-3', '36657-5', '38846-2', '37697-0', '24721-3', '26388-9', '26389-7', '26390-5', '36663-3', '69058-6', '36664-1', '37721-8', '24765-0', '26391-3', '26392-1', '26393-9', '24806-2', '26394-7', '26395-4', '26396-2', '36651-8', '69257-4', '24861-7', '26397-0', '26398-8', '26399-6', '37617-8', '42685-8', '42686-6', '36659-1', '36660-9', '37707-7', '36658-3', '39060-9', '42687-4', '37066-8', '37780-4', '37651-7', '44179-0', '37655-8', '36666-6', '37787-9', '42435-8', '37840-6', '36667-4', '36668-2', '37793-7', '37853-9', '37867-9', '37879-4', '36669-0', '43784-8', '36670-8', '37905-7', '24984-7', '69273-1', '37883-6', '36671-6', '36672-4', '37815-8', '37895-0', '37902-4', '37348-0', '36673-2', '37821-6', '37922-2', '37925-5', '37482-7', '37483-5', '37826-5', '69305-1', '42430-9', '42009-1', '39378-5', '48468-3', '43467-0', '69060-2', '69142-8', '39379-3', '39380-1', '69061-0', '41819-4', '39381-9', '69143-6', '39382-7', '38118-6', '38844-7', '37686-3', '38871-0', '38108-7', '38874-4', '38114-5', '44181-6', '43539-6', '48469-1', '39880-0', '44184-0', '44182-4', '44183-2', '36674-0', '37658-2', '38843-9', '37678-0', '42166-9', '38841-3', '37675-6', '37068-4', '37069-2', '37698-8', '36945-4', '38851-2', '37762-2', '36946-2', '69274-9', '38840-5', '37672-3', '37067-6', '36293-9', '37635-0', '36294-7', '36295-4', '36296-2', '37665-7', '36298-8', '36299-6', '36300-2', '36301-0', '37682-2', '36297-0', '36302-8', '36303-6', '36304-4', '37695-4', '36305-1', '36306-9', '36307-7', '37699-6', '24722-1', '26379-8', '26380-6', '26381-4', '36308-5', '36309-3', '37722-6', '30788-4', '36310-1', '36311-9', '37742-4', '36312-7', '36838-1', '48470-9', '48471-7', '37604-6', '69261-6', '30766-0', '37256-5', '39062-5', '36313-5', '36314-3', '37781-2', '37648-3', '39061-7', '24908-6', '26382-2', '26383-0', '26384-8', '37854-7', '24918-5', '24941-7', '30775-1', '37257-3', '37259-9', '37260-7', '37261-5', '37906-5', '37881-0', '37888-5', '36315-0', '37812-5', '36316-8', '37820-8', '37926-3', '37454-6', '48738-9', '37455-3', '37827-3', '48737-1', '37933-9', '69154-3', '39393-4', '39399-1', '39364-5', '39404-9', '39383-5', '48472-5', '39365-2', '69155-0', '39394-2', '43499-3', '43483-7', '39901-4', '39902-2', '39882-6', '39883-4', '30776-9', '69151-9', '24778-3', '69138-6', '69254-1', '36947-0', '36948-8', '37700-2', '36949-6', '42443-2', '36317-6', '36319-2', '36320-0', '36321-8', '36322-6', '36323-4', '37683-0', '36318-4', '36324-2', '37691-3', '30789-2', '36325-9', '36326-7', '37743-2', '36327-5', '43534-7', '43535-4', '36839-9', '37609-5', '37612-9', '36328-3', '69265-7', '36329-1', '36330-9', '37794-5', '37855-4', '37868-7', '37876-0', '36331-7', '36332-5', '48473-3', '37907-3', '37882-8', '38155-8', '37070-0', '37071-8', '37828-1', '37934-7', '69144-4', '39384-3', '39385-0', '39413-0', '39099-7', '69063-6', '39387-6', '69145-1', '39386-8', '69062-8', '38852-0', '37763-0', '36675-7', '36676-5', '37744-0', '36890-2', '37351-4', '30750-4', '36677-3', '37795-2', '37856-2', '24922-7', '24939-1', '30797-5', '37353-0', '37355-5', '37356-3', '37357-1', '37350-6', '37072-6', '37829-9', '39407-2', '69081-8', '37073-4', '69080-0', '39063-3', '42273-3', '36678-1', '36679-9', '37796-0', '42691-6', '38156-6', '37074-2', '37830-7', '36680-7', '36681-5', '36682-3', '36683-1', '37831-5', '42412-7', '39064-1', '69070-1', '38856-1', '37782-0', '24796-5', '24792-4', '24653-8', '24654-6', '37080-9', '37081-7', '37082-5', '38781-1', '39339-7', '37083-3', '38782-9', '37126-0', '37084-1', '38783-7', '39512-9', '39401-5', '69153-5', '69262-4', '37618-6', '37623-6', '39065-8', '37619-4', '24794-0', '30779-3', '36684-9', '36685-6', '37667-3', '36686-4', '36701-1', '37719-2', '36687-2', '39066-6', '36688-0', '36689-8', '36690-6', '36691-4', '37684-8', '36693-0', '36694-8', '36695-5', '37692-1', '39069-0', '36696-3', '36697-1', '37701-0', '42409-3', '69130-3', '48474-1', '38847-0', '37710-1', '36702-9', '36703-7', '36704-5', '37725-9', '36706-0', '36707-8', '36708-6', '37736-6', '36709-4', '36590-8', '36710-2', '37745-7', '36692-2', '69258-2', '36711-0', '42438-2', '36712-8', '36713-6', '37776-2', '37620-2', '36705-2', '36699-7', '36700-3', '37708-5', '36698-9', '37652-5', '36714-4', '36715-1', '37788-7', '37841-4', '36716-9', '24919-3', '24928-4', '24942-5', '37361-3', '39067-4', '43785-5', '24970-6', '30753-8', '38123-6', '37974-3', '37889-3', '36717-7', '36718-5', '37816-6', '37896-8', '36719-3', '37822-4', '30793-4', '38860-3', '37832-3', '37839-8', '39070-8', '42404-4', '39071-6', '37095-7', '37096-5', '37097-3', '37666-5', '39072-4', '36720-1', '36721-9', '37668-1', '36731-8', '36722-7', '36723-5', '36724-3', '37685-5', '36725-0', '36726-8', '36727-6', '37696-2', '36728-4', '36729-2', '36730-0', '37702-8', '69057-8', '38848-8', '37711-9', '36732-6', '36733-4', '37748-1', '37624-4', '36734-2', '36735-9', '37908-1', '36736-7', '37813-3', '37927-1', '37099-9', '38083-2', '37101-3', '42410-1', '37102-1', '37118-7', '37115-3', '69137-8', '39371-0', '39334-8', '39375-1', '42417-6', '42418-4', '39369-4', '37103-9', '37079-1', '39074-0', '39073-2', '69147-7', '39388-4', '37105-4', '37106-2', '37107-0', '37108-8', '37749-9', '37109-6', '37110-4', '38786-0', '37111-2', '37116-1', '37117-9', '37740-8', '38009-7', '37112-0', '37113-8', '37114-6', '37747-3', '69065-1', '37086-6', '37087-4', '37723-4', '37090-8', '69146-9', '37089-0', '37088-2', '38784-5', '30763-7', '37077-5', '37091-6', '37092-4', '37093-2', '37724-2', '30770-2', '42167-7', '37094-0', '38785-2', '41776-6', '24793-2', '44185-7', '44186-5', '41817-8', '41777-4', '30726-4', '37078-3', '30754-6', '39330-6', '42380-6', '39368-6', '39068-2', '39331-4', '39332-2', '39374-4', '24805-4', '26364-0', '26365-7', '26366-5', '39333-0', '38084-0', '37119-5', '39076-5', '37621-0', '37649-1', '39075-7', '37098-1', '44187-3', '37100-5', '24797-3', '37120-3', '37104-7', '42011-7', '24642-1', '24808-8', '26361-6', '26362-4', '26363-2', '37121-1', '37680-6', '37122-9', '37797-8', '37485-0', '39077-3', '46349-7', '38082-4', '38822-3', '37123-7', '38787-8', '36961-1', '37799-4', '37124-5', '37789-5', '69266-5', '37125-2', '38788-6', '24562-1', '24650-4', '24649-6', '37085-8', '37076-7', '24798-1', '43463-9', '24795-7', '42019-0', '39329-8', '39328-0', '39395-9', '39321-5', '39336-3', '39335-5', '39337-1', '39344-7', '39338-9', '39397-5', '39343-9', '39348-8', '39325-6', '39346-2', '39347-0', '39396-7', '24632-2', '37075-9', '43561-0', '38003-0', '38815-7', '42406-9', '42407-7', '42445-7', '37484-3', '37746-5', '42403-6', '42408-5', '42444-0', '42446-5', '39403-1', '37127-8', '37128-6', '37807-5', '46386-9', '39884-2', '39861-0', '42709-6', '39860-2', '26352-5', '26353-3', '26354-1', '24724-7', '37362-1', '24591-0', '37996-6', '37995-8', '37997-4', '38814-0', '37486-8', '37852-1', '39859-4', '39875-0', '39840-4', '39842-0', '39874-3', '39819-8', '39741-4', '24605-8', '39152-4', '69158-4', '48475-8', '69150-1', '69259-0', '26346-7', '39154-0', '26347-5', '42169-3', '26348-3', '42168-5', '46350-5', '24604-1', '26349-1', '26350-9', '26351-7', '46351-3', '39895-8', '39887-5', '39889-1', '39885-9', '39910-5', '39912-1', '39909-7', '39908-9', '39886-7', '39890-9', '39888-3', '39867-7', '39863-6', '39866-9', '39864-4', '39865-1', '39869-3', '39868-5', '39893-3', '43644-4', '39858-6', '39636-6', '39871-9', '42261-8', '42262-6', '43653-5', '39847-9', '39899-0', '42308-7', '42263-4', '39856-0', '43500-8', '44148-5', '43642-8', '43664-2', '43643-6', '43666-7', '43663-4', '43665-9', '39870-1', '43654-3', '39685-3', '39940-2', '43787-1', '43648-5', '43649-3', '39827-1', '39828-9', '39327-2', '44208-7', '30720-7', '42311-1', '42312-9', '39768-7', '39767-9', '24997-9', '39769-5', '39892-5', '39891-7', '43646-9', '43645-1', '43647-7', '39653-1', '39657-2', '39933-7', '39830-5', '39677-0', '39490-8', '24700-7', '39686-1', '42170-1', '39672-1', '72256-1', '24571-2', '24572-0', '43788-9', '43789-7', '39673-9', '30650-6', '39665-5', '39664-8', '39848-7', '39849-5', '24876-5', '44149-3', '39954-3', '44140-2', '39831-3', '39951-9', '39934-5', '39829-7', '42171-9', '39749-7', '39679-6', '39750-5', '42305-3', '42397-0', '39923-8', '39917-0', '39919-6', '39925-3', '39931-1', '42306-1', '39929-5', '39921-2', '39924-6', '39922-0', '39920-4', '39915-4', '39928-7', '39927-9', '39914-7', '46348-9', '44210-3', '48480-8', '46390-1', '46347-1', '48481-6', '46344-8', '46345-5', '48479-0', '43492-8', '43497-7', '43491-0', '43496-9', '43489-4', '43494-4', '43490-2', '43495-1', '44188-1', '48478-2', '48477-4', '48476-6', '47370-2', '47371-0', '43498-5', '43482-9', '47381-9', '43543-8', '44189-9', '48746-2', '43486-0', '46377-8', '48482-4', '43488-6', '43493-6', '44190-7', '48483-2', '46346-3', '46343-0', '48485-7', '48486-5', '48484-0', '44191-5', '44239-2', '44193-1', '44192-3', '44211-1', '47367-8', '47374-4', '47376-9', '47379-3', '48747-0', '48487-3', '44212-9', '47382-7', '47368-6', '44194-9', '44195-6', '43524-8', '44197-2', '44196-4', '49570-5', '37160-9', '38793-6', '37158-3', '37806-7', '37161-7', '69267-3', '37538-6', '38789-4', '37157-5', '38791-0', '39350-4', '37162-5', '38794-4', '37167-4', '38795-1', '69156-8', '43790-5', '38004-8', '38816-5', '37539-4', '37540-2', '30771-0', '37627-7', '37164-1', '37864-6', '37165-8', '37166-6', '37871-1', '37134-4', '37135-1', '37670-7', '42382-2', '39366-0', '43464-7', '37603-8', '39100-3', '39101-1', '39341-3', '39406-4', '39405-6', '42436-6', '37869-5', '37605-3', '37862-0', '37136-9', '37803-4', '39340-5', '37133-6', '37132-8', '38010-5', '37929-7', '69157-6', '39515-2', '37474-4', '37669-9', '43480-3', '37541-0', '47380-1', '43470-4', '47377-7', '24610-8', '26287-3', '26289-9', '26291-5', '41826-9', '41785-7', '36737-5', '41830-1', '41789-9', '36738-3', '36893-6', '42007-5', '37646-7', '44209-5', '48466-7', '42710-4', '36739-1', '38838-9', '37642-6', '41797-2', '42335-0', '38125-1', '38120-2', '37137-7', '39687-9', '39754-7', '49571-3', '39843-8', '41836-8', '39627-5', '39822-2', '39645-7', '39695-2', '39936-0', '37542-8', '37543-6', '37554-3', '38854-6', '37769-7', '30769-4', '38086-5', '39935-2', '39949-3', '39904-8', '39907-1', '39937-8', '39950-1', '36608-8', '36740-9', '36741-7', '37687-1', '36744-1', '37737-4', '36619-5', '36745-8', '36746-6', '37757-2', '36747-4', '37630-1', '36742-5', '36743-3', '37709-3', '48748-8', '36748-2', '43791-3', '48749-6', '36749-0', '37817-4', '36894-4', '37544-4', '38839-7', '37643-4', '42398-8', '37139-3', '37154-2', '37155-9', '43469-6', '37063-5', '37546-9', '48491-5', '48490-7', '48699-3', '37152-6', '37140-1', '37804-2', '36750-8', '42272-5', '36751-6', '36752-4', '36753-2', '37713-5', '36754-0', '30721-5', '37547-7', '37548-5', '37835-6', '37143-5', '37144-3', '37145-0', '37142-7', '37860-4', '37146-8', '30741-3', '39078-1', '36755-7', '36756-5', '36757-3', '37715-0', '37884-4', '37549-3', '37550-1', '37836-4', '36758-1', '37148-4', '37147-6', '30742-1', '30743-9', '30744-7', '24643-9', '37149-2', '38790-2', '37859-6', '69271-5', '24647-0', '24644-7', '36759-9', '39079-9', '37141-9', '39519-4', '39521-0', '39520-2', '24646-2', '24645-4', '37150-0', '24635-5', '46378-6', '43660-0', '43661-8', '43658-4', '43656-8', '39719-0', '43777-2', '39722-4', '39720-8', '39728-1', '39726-5', '39727-3', '39699-4', '39701-8', '39731-5', '39735-6', '39708-3', '39709-1', '39705-9', '39707-5', '39703-4', '39702-6', '39733-1', '39941-0', '39833-9', '39716-6', '39697-8', '39730-7', '39732-3', '39715-8', '39704-2', '39714-1', '39713-3', '30765-2', '30764-5', '41823-6', '41782-4', '30746-2', '41827-7', '41786-5', '41773-3', '41818-6', '41778-2', '43570-1', '41829-3', '41788-1', '37168-2', '37169-0', '38796-9', '37170-8', '41825-1', '41784-0', '41820-2', '41779-0', '30792-6', '30772-8', '30747-0', '41831-9', '41791-5', '46391-9', '41824-4', '41783-2', '30723-1', '37171-6', '44203-8', '37172-4', '41828-5', '41787-3', '37151-8', '30731-4', '30730-6', '24634-8', '24824-5', '42402-8', '43657-6', '30733-0', '37131-0', '37138-5', '41792-3', '24651-2', '42414-3', '37016-3', '37017-1', '37775-4', '30740-5', '30739-7', '43479-5', '30838-7', '37364-7', '38799-3', '38107-9', '37304-3', '37302-7', '38115-2', '24930-0', '30715-7', '42424-2', '39367-8', '42472-1', '42425-9', '43569-3', '30716-5', '30717-3', '24929-2', '24606-6', '39153-2', '69159-2', '48492-3', '26175-0', '42174-3', '26176-8', '46355-4', '26177-6', '46354-7', '46356-2', '37022-1', '37021-3', '37023-9', '38778-7', '37551-9', '37552-7', '38807-4', '37553-5', '43550-3', '39952-7', '39676-2', '39894-1', '39896-6', '39814-9', '39634-1', '39903-0', '39817-2', '39815-6', '39824-8', '39633-3', '39853-7', '39832-1', '39878-4', '39900-6', '39855-2', '43501-6', '44150-1', '39854-5', '37153-4', '69136-0', '37163-3', '37156-7', '37759-8', '39345-4', '69255-8', '38088-1', '38087-3', '38824-9', '24579-5', '43518-0', '37365-4', '39518-6', '43519-8', '38089-9', '37159-1', '38792-8', '43796-2', '69304-4', '69303-6', '69072-7', '37555-0', '38808-2', '43532-1', '39944-4', '39948-5', '39947-7', '39946-9', '39943-6', '30697-7', '39942-8', '24888-0', '39835-4', '39836-2', '39945-1', '39837-0', '39834-7', '46361-2', '39932-9', '39873-5', '39683-8', '39698-6', '39845-3', '42711-2', '42175-0', '39818-0', '39826-3', '39669-7', '24713-0', '39660-6', '39661-4', '39663-0', '42309-5', '24750-2', '43459-7', '24577-9', '47372-8', '25070-4', '24574-6', '46352-1', '43485-2', '39150-8', '69251-7', '42415-0', '42416-8', '37201-1', '37202-9', '37203-7', '37676-4', '37205-2', '37206-0', '37720-0', '38845-4', '37693-9', '24708-0', '26094-3', '26095-0', '26096-8', '37584-0', '38810-8', '24809-6', '26085-1', '26086-9', '26087-7', '37204-5', '69264-0', '37208-6', '69275-6', '38124-4', '37899-2', '37209-4', '37823-2', '44233-5', '44232-7', '37579-0', '37580-8', '37581-6', '37663-2', '39651-5', '38090-7', '38091-5', '39059-1', '24666-0', '46357-0', '30633-2', '42683-3', '43574-3', '44227-7', '37565-9', '38092-3', '41770-9', '43650-1', '30630-8', '30824-7', '37585-7', '38853-8', '37765-5', '37615-2', '37936-2', '37640-0', '64140-7', '64141-5', '38094-9', '37973-5', '25005-0', '25014-2', '37976-8', '42014-1', '37980-0', '37981-8', '37575-8', '38101-2', '46376-0', '38100-4', '38102-0', '25030-8', '30832-0', '30831-2', '37387-8', '37939-6', '38861-1', '37941-2', '24658-7', '30837-9', '24546-4', '37366-2', '69054-5', '37380-3', '37381-1', '37587-3', '37588-1', '37589-9', '37590-7', '37591-5', '37592-3', '37593-1', '37594-9', '37382-9', '37383-7', '38800-9', '37379-5', '37384-5', '37385-2', '37386-0', '24551-4', '30828-8', '37388-6', '24581-1', '69077-6', '37389-4', '24617-3', '26079-4', '39097-1', '39094-8', '39098-9', '38863-7', '37945-3', '30821-3', '30820-5', '37390-2', '37948-7', '38864-5', '37952-9', '26080-2', '26081-0', '39095-5', '38865-2', '37953-7', '38862-9', '37944-6', '37391-0', '37392-8', '37393-6', '37943-8', '24622-3', '37403-3', '37394-4', '37173-2', '30891-6', '37174-0', '37595-6', '30848-6', '30849-4', '37395-1', '37949-5', '37175-7', '37176-5', '37397-7', '37398-5', '38801-7', '37399-3', '30822-1', '62448-6', '62449-4', '30823-9', '25076-1', '43782-2', '37177-3', '24862-5', '37178-1', '37739-0', '37179-9', '25079-5', '37487-6', '47986-5', '47987-3', '30829-6', '64995-4', '65000-2', '37401-7', '24833-6', '24860-9', '30833-8', '37935-4', '24874-0', '44240-0', '69249-1', '37181-5', '37778-8', '37404-1', '39057-5', '30830-4', '37182-3', '37779-6', '30834-6', '62446-0', '62447-8', '24925-0', '26082-8', '26083-6', '26084-4', '24992-0', '24991-2', '37886-9', '37405-8', '37406-6', '37966-9', '37180-7', '37402-5', '38119-4', '37900-8', '37489-2', '37977-6', '37396-9', '37488-4', '37967-7', '24576-1', '37979-2', '37407-4', '37490-0', '37968-5', '42156-0', '25017-5', '43559-4', '37586-5', '39054-2', '38095-6', '38096-4', '38825-6', '30810-6', '38098-0', '38099-8', '38827-2', '24845-0', '30850-2', '30851-0', '37599-8', '38812-4', '24827-8', '30839-5', '30840-3', '37597-2', '37598-0', '37596-4', '38811-6', '37600-4', '39510-3', '37601-2', '38813-2', '39148-2', '39146-6', '39145-8', '39147-4', '24661-1', '38116-0', '38097-2', '38826-4', '24902-9', '26067-9', '26068-7', '26069-5', '38153-3', '48698-5', '42460-6', '48696-9', '24912-8', '24552-2', '25016-7', '39151-6', '37183-1', '37184-9', '37185-6', '37942-0', '37186-4', '37187-2', '37188-0', '37947-9', '24764-3', '26070-3', '26071-1', '26072-9', '24800-5', '26073-7', '26074-5', '26075-2', '37647-5', '37189-8', '37190-6', '37785-3', '24910-2', '26076-0', '26077-8', '26078-6', '37901-6', '37409-0', '37410-8', '37818-2', '25034-0', '37570-9', '37571-7', '37641-8', '37191-4', '24825-2', '30813-0', '64996-2', '64997-0', '24927-6', '37192-2', '37193-0', '70933-7', '25022-5', '30811-4', '37572-5', '24947-4', '38103-8', '30808-0', '38104-6', '24974-8', '24985-4', '69066-9', '30843-7', '37602-0', '30844-5', '37940-4', '58746-9', '24569-6', '37411-6', '24573-8', '37195-5', '30819-7', '39055-9', '37412-4', '37413-2', '37950-3', '42157-8', '37416-5', '39093-0', '37421-5', '37419-9', '37197-1', '37420-7', '37954-5', '37607-9', '24788-2', '37414-0', '37196-3', '37767-1', '37574-1', '30825-4', '37422-3', '37958-6', '30852-8', '24685-0', '69250-9', '30847-8', '30846-0', '37423-1', '37959-4', '30827-0', '65803-9', '65802-1', '65804-7', '65805-4', '30826-2', '37969-3', '37970-1', '37971-9', '37972-7', '24550-6', '37415-7', '38859-5', '37824-0', '25023-3', '26064-6', '26065-3', '26066-1', '25025-8', '30845-2', '30645-6', '43554-5', '39096-3', '43783-0', '25080-3', '30816-3', '24575-3', '37200-3', '37199-7', '37198-9', '24678-5', '24712-2', '42459-8', '24924-3', '24673-6', '24681-9', '24667-8', '24894-8', '39363-7', '38105-3', '39349-6', '30761-1', '38873-6', '38113-7', '25020-9', '30841-1', '30842-9', '37566-7', '37567-5', '37568-3', '69272-3', '24780-9', '38872-8', '38112-9', '37569-1', '30647-2', '39696-0', '42161-0', '39652-3', '42383-0', '42690-8', '24945-8', '24971-4', '43481-1', '30785-0', '43461-3', '39688-7', '24679-3', '42684-1', '42681-7', '37576-6', '39850-3', '25007-6', '39841-2', '39857-8', '39624-2', '24770-0', '39846-1', '39738-0', '25032-4', '42708-8', '30736-3', '24682-7', '37556-8', '37557-6', '37558-4', '37673-1', '37559-2', '37705-1', '37560-0', '37561-8', '37562-6', '37753-1', '37563-4', '37564-2', '37814-1', '39056-7', '38093-1', '39670-5', '64051-6', '64052-4', '24826-0', '24663-7', '42158-6', '42776-5', '25031-6', '24730-4', '39643-2', '39646-5', '39650-7', '24776-7', '30877-5', '24804-7', '26088-5', '26089-3', '26090-1', '39693-7', '39694-5', '43557-8', '39897-4', '39877-6', '39629-1', '39737-2', '39739-8', '39742-2', '39619-2', '43669-1', '39747-1', '30696-9', '39751-3', '30695-1', '25018-3', '39626-7', '49118-3', '39939-4', '39671-3', '39752-1', '24773-4', '30713-2', '42413-5', '43651-9', '39820-6', '39666-3', '39667-1', '69231-9', '69232-7', '24819-5', '39744-8', '39674-7', '41771-7', '39625-9', '39745-5', '43667-5', '39753-9', '39765-3', '39642-4', '44234-3', '39766-1', '39812-3', '39630-9', '39757-0', '24831-0', '44141-0', '44142-8', '39746-3', '69233-5', '25001-9', '26091-9', '26092-7', '26093-5', '44146-9', '39689-5', '69230-1', '39764-6', '24683-5', '44145-1', '39756-2', '24714-8', '44143-6', '39690-3', '42700-5', '24751-0', '39635-8', '51389-5', '42012-5', '24669-4', '37577-4', '37578-2', '44144-4', '37582-4', '69055-2', '52073-4', '28631-0', '46242-4', '52070-0', '74282-5', '71683-7', '71685-2', '34086-9', '60555-0', '34084-4', '69761-5', '70946-9', '34091-9', '48767-8', '60556-8', '35519-8', '35517-2', '35511-5', '34066-1', '60557-6', '72135-7', '34083-6', '60684-8', '60558-4', '34090-1', '34092-7', '35528-9', '69760-7', '60559-2', '70940-2', '34070-3', '34085-1', '57826-0', '57025-9', '35524-8', '34087-7', '34089-3', '69758-1', '35521-4', '69763-1', '34068-7', '43678-2', '34074-5', '42227-9', '34073-7', '35518-0', '35523-0', '61147-5', '70943-6', '70941-0', '70944-4', '35525-5', '35510-7', '34072-9', '71743-9', '34082-8', '61146-7', '71744-7', '69719-3', '69670-8', '34069-5', '72090-4', '64123-3', '71446-9', '60685-5', '73815-3', '64124-1', '34067-9', '34076-0', '69730-0', '59845-8', '60560-0', '62387-6', '34079-4', '34075-2', '70945-1', '70939-4', '66105-8', '74045-6', '57027-5', '43679-0', '49489-8', '43680-8', '34078-6', '34080-2', '61149-1', '70942-8', '70934-5', '70948-5', '70935-2', '60561-8', '34088-5', '51941-3', '51947-0', '51948-8', '51945-4', '51944-7', '51943-9', '51942-1', '51946-2', '34081-0', '43681-6', '66106-6', '43682-4', '59772-4', '60683-0', '71681-1', '71684-5', '71686-0', '71682-9', '71687-8', '71688-6', '57026-7', '69669-0', '59769-0', '42232-9', '42228-7', '57059-8', '59774-0', '59775-7', '59770-8', '59776-5', '59771-6', '59768-2', '59773-2', '35526-3', '35522-2', '57827-8', '43683-2', '34093-5', '70938-6', '69759-9', '48779-3', '48780-1', '42231-1', '42230-3', '38056-8', '42229-5', '69718-5', '35520-6', '44425-7', '35515-6', '35514-9', '61150-9', '35527-1', '55122-6', '34077-8', '35516-4', '35513-1', '42796-3', '35512-3', '69762-3', '43684-0', '54433-8', '70936-0', '43685-7', '34071-1', '74477-1', '74479-7', '74476-3', '74480-5', '74478-9', '42566-0', '21862-8', '69764-9', '48766-0', '70949-3', '60572-5', '60573-3', '60574-1', '73983-9', '40811-2', '29112-0', '29111-2', '72169-6', '44943-9', '11206-0', '26988-6', '50081-9', '57553-0', '57552-2', '57551-4', '53347-1', '1656-8', '42855-7', '16110-9', '40818-7', '53348-9', '25561-2', '55808-0', '56611-7', '56608-3', '57493-9', '40816-1', '56602-6', '56613-3', '56609-1', '56612-5', '56603-4', '57492-1', '56556-4', '56604-2', '56610-9', '56605-9', '59987-8', '59986-0', '59985-2', '59984-5', '56555-6', '16294-1', '57491-3', '56606-7', '13480-9', '44729-2', '69799-5', '57562-1', '57561-3', '57560-5', '72510-1', '72509-3'] }, 'type' => 'CodeableConcept', 'path' => 'DocumentManifest.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-doc-typecodes' } }, + 'author' => { 'type' => 'Reference', 'path' => 'DocumentManifest.author', 'min' => 0, 'max' => Float::INFINITY }, + 'created' => { 'type' => 'dateTime', 'path' => 'DocumentManifest.created', 'min' => 0, 'max' => 1 }, + 'source' => { 'type' => 'uri', 'path' => 'DocumentManifest.source', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/document-reference-status' => ['current', 'superseded', 'entered-in-error'] }, 'type' => 'code', 'path' => 'DocumentManifest.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/document-reference-status' } }, + 'description' => { 'type' => 'string', 'path' => 'DocumentManifest.description', 'min' => 0, 'max' => 1 }, + 'content' => { 'type' => 'DocumentManifest::Content', 'path' => 'DocumentManifest.content', 'min' => 1, 'max' => Float::INFINITY }, + 'related' => { 'type' => 'DocumentManifest::Related', 'path' => 'DocumentManifest.related', 'min' => 0, 'max' => Float::INFINITY } } class Content < FHIR::DSTU2::Model @@ -38,11 +38,11 @@ class Content < FHIR::DSTU2::Model 'p' => ['Attachment', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Content.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Content.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Content.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'pAttachment' => {'type'=>'Attachment', 'path'=>'Content.p[x]', 'min'=>1, 'max'=>1}, - 'pReference' => {'type'=>'Reference', 'path'=>'Content.p[x]', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Content.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Content.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Content.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'pAttachment' => { 'type' => 'Attachment', 'path' => 'Content.p[x]', 'min' => 1, 'max' => 1 }, + 'pReference' => { 'type' => 'Reference', 'path' => 'Content.p[x]', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -58,11 +58,11 @@ class Related < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Related.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Related.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Related.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Related.identifier', 'min'=>0, 'max'=>1}, - 'ref' => {'type'=>'Reference', 'path'=>'Related.ref', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Related.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Related.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Related.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Related.identifier', 'min' => 0, 'max' => 1 }, + 'ref' => { 'type' => 'Reference', 'path' => 'Related.ref', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb b/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb index 4b4142f2..8055d14c 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb @@ -7,31 +7,31 @@ class DocumentReference < FHIR::DSTU2::Model SEARCH_PARAMS = ['authenticator', 'author', 'class', 'created', 'custodian', 'description', 'encounter', 'event', 'facility', 'format', 'identifier', 'indexed', 'language', 'location', 'patient', 'period', 'related-id', 'related-ref', 'relatesto', 'relation', 'securitylabel', 'setting', 'status', 'subject', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'DocumentReference.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DocumentReference.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DocumentReference.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DocumentReference.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DocumentReference.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DocumentReference.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DocumentReference.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DocumentReference.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'masterIdentifier' => {'type'=>'Identifier', 'path'=>'DocumentReference.masterIdentifier', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'DocumentReference.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'DocumentReference.subject', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://loinc.org'=>['55107-7', '74155-3', '51851-4', '67851-6', '34744-3', '34873-0', '68552-9', '67852-4', '68471-2', '68483-7', '64058-1', '64070-6', '64053-2', '64054-0', '34862-3', '64062-3', '64078-9', '64066-4', '64060-7', '64074-8', '51849-8', '34763-3', '47039-3', '34094-3', '57830-2', '48765-2', '74152-0', '61359-6', '57055-6', '56446-8', '51848-0', '68814-3', '64064-9', '51847-2', '69981-9', '74154-6', '71230-7', '72134-0', '55108-5', '73568-8', '74144-7', '55109-3', '34095-0', '34096-8', '63485-7', '55110-1', '34098-4', '34097-6', '47040-1', '47041-9', '59284-0', '11488-4', '34099-2', '34756-7', '34758-3', '34760-9', '34879-7', '34761-7', '34764-1', '34776-5', '34779-9', '34781-5', '72555-6', '34783-1', '34785-6', '34795-5', '34798-9', '34797-1', '34800-3', '34777-3', '34803-7', '34855-7', '34805-2', '34807-8', '34810-2', '34812-8', '34814-4', '34816-9', '34820-1', '34822-7', '34824-3', '34826-8', '34828-4', '34788-0', '34791-4', '34103-2', '34831-8', '73575-3', '34833-4', '34837-5', '34839-1', '34841-7', '34845-8', '34847-4', '34849-0', '34851-6', '34853-2', '51846-4', '34104-0', '68619-6', '68633-7', '68639-4', '68486-0', '68648-5', '68651-9', '68661-8', '64072-2', '68551-1', '68670-9', '64056-5', '68681-6', '68685-7', '68694-9', '68705-3', '68566-9', '68570-1', '68575-0', '68716-0', '68469-6', '68727-7', '68892-9', '68897-8', '68746-7', '68757-4', '68765-7', '68869-7', '68874-7', '68787-1', '68879-6', '68802-8', '68864-8', '68812-7', '68821-8', '68586-7', '68590-9', '68597-4', '68837-4', '34102-4', '64080-5', '68846-5', '64068-0', '64076-3', '68852-3', '34100-8', '51854-8', '51845-6', '34749-2', '34101-6', '47042-7', '34864-9', '34869-8', '34865-6', '34866-4', '34872-2', '55111-9', '74148-8', '64297-5', '74208-0', '51899-3', '74150-4', '74151-2', '47048-4', '70004-7', '68611-3', '68625-3', '68635-2', '68641-0', '68652-7', '68673-3', '68687-3', '68556-0', '68696-4', '68557-8', '68577-6', '68708-7', '68718-6', '68748-3', '68767-3', '68778-0', '68794-7', '68855-6', '68804-4', '68604-8', '68640-2', '68706-1', '68788-9', '68822-6', '74213-0', '60280-5', '8653-8', '18842-5', '68612-1', '68626-1', '68642-8', '68653-5', '68663-4', '68674-1', '68688-1', '68697-2', '34745-0', '68558-6', '68572-7', '68578-4', '68709-5', '68719-4', '68733-5', '68738-4', '68749-1', '68768-1', '68773-1', '68779-8', '68795-4', '68856-4', '68805-1', '68815-0', '68591-7', '68831-7', '59259-2', '68841-6', '59258-4', '34105-7', '68823-4', '34106-5', '55112-7', '34895-3', '34897-9', '67854-0', '68477-9', '68605-5', '67855-7', '34902-7', '34107-3', '34856-5', '34859-9', '34860-7', '70005-4', '64142-3', '34857-3', '72267-8', '47420-5', '47043-5', '34787-2', '34790-6', '34793-0', '34843-3', '34114-9', '64290-0', '64291-8', '57024-2', '64289-2', '51897-7', '56444-3', '74146-2', '34117-2', '68614-7', '68622-0', '68628-7', '68637-8', '68644-4', '68655-0', '68665-9', '68676-6', '68683-2', '68690-7', '68699-8', '68560-2', '68573-5', '68580-0', '68711-1', '68721-0', '68731-9', '68735-0', '68740-0', '68751-7', '68760-8', '68770-7', '68775-6', '68781-4', '68791-3', '68797-0', '68858-0', '68807-7', '68817-6', '28626-0', '68592-5', '68833-3', '68599-0', '68843-2', '34774-0', '68849-9', '11492-6', '34115-6', '68825-9', '67856-5', '34116-4', '74264-3', '74149-6', '28636-9', '28581-7', '68553-7', '18740-1', '47044-3', '64065-6', '68470-4', '34119-8', '34120-6', '34118-0', '74209-8', '74188-4', '74194-2', '74191-8', '74190-0', '74193-4', '74192-6', '74197-5', '74187-6', '74196-7', '74195-9', '74189-2', '34121-4', '34896-1', '34899-5', '55113-5', '57056-4', '57057-2', '64299-1', '51852-2', '68684-0', '68866-3', '68593-3', '68609-7', '68620-4', '68624-6', '68634-5', '68649-3', '68662-6', '68671-7', '68555-2', '68682-4', '68686-5', '68695-6', '68707-9', '68567-7', '68571-9', '68576-8', '68585-9', '68717-8', '68728-5', '68893-7', '68898-6', '68747-5', '68758-2', '68766-5', '68870-5', '68875-4', '68789-7', '68880-4', '68803-6', '68865-5', '68813-5', '68826-7', '68598-2', '68838-2', '68847-3', '68853-1', '57058-0', '64285-0', '60590-7', '60593-1', '70006-2', '68587-5', '61357-0', '61356-2', '56445-0', '74145-4', '74147-0', '59268-3', '34109-9', '68615-4', '68621-2', '68629-5', '34750-0', '68636-0', '34752-6', '68645-1', '68650-1', '68656-8', '34754-2', '28618-7', '34759-1', '68666-7', '34861-5', '34878-9', '34898-7', '34762-5', '34765-8', '34767-4', '34768-2', '34769-0', '34780-7', '34782-3', '34794-8', '34784-9', '34786-4', '68677-4', '34796-3', '34799-7', '34905-0', '68700-4', '34746-8', '34801-1', '34778-1', '34802-9', '28578-3', '34806-0', '34808-6', '34811-0', '34813-6', '34815-1', '34817-7', '34858-1', '34906-8', '51855-5', '68722-8', '68889-5', '68894-5', '68741-8', '68752-5', '68761-6', '68867-1', '68871-3', '68782-2', '68854-9', '68876-2', '68881-2', '68859-8', '68882-0', '68818-4', '34821-9', '34823-5', '28579-1', '34827-6', '34829-2', '68834-1', '28628-6', '34792-2', '34830-0', '34832-6', '34834-2', '68839-0', '34838-3', '34840-9', '28653-4', '28571-8', '34846-6', '34848-2', '34773-2', '68848-1', '34852-4', '34111-5', '57053-1', '34112-3', '64069-8', '68827-5', '64077-1', '64073-0', '34113-1', '34108-1', '34753-4', '34110-7', '34766-6', '68601-4', '34850-8', '34854-0', '68672-5', '34748-4', '34139-6', '34844-1', '74166-0', '74156-1', '64300-7', '60591-5', '60592-3', '57834-4', '48768-6', '53576-5', '64296-7', '72170-4', '56447-6', '64295-9', '51900-9', '67860-7', '67861-5', '34875-5', '34880-5', '68610-5', '68606-3', '34867-2', '64298-3', '74207-2', '67862-3', '68616-2', '68623-8', '34751-8', '68638-6', '68657-6', '68550-3', '68678-2', '68691-5', '68701-2', '34747-6', '68562-8', '34809-4', '68581-8', '68713-7', '68723-6', '68732-7', '68736-8', '68742-6', '68753-3', '68762-4', '68771-5', '68776-4', '68783-0', '68792-1', '68798-8', '68860-6', '68808-5', '68819-2', '68594-1', '68835-8', '68844-0', '34876-3', '34881-3', '68850-7', '34123-0', '68828-3', '57832-8', '64288-4', '57829-4', '57833-6', '57831-0', '57828-6', '73709-8', '55114-3', '57017-6', '57016-8', '64293-4', '68630-3', '68658-4', '68667-5', '68692-3', '68702-0', '68563-6', '68714-5', '68724-4', '68890-3', '68895-2', '68743-4', '68754-1', '68868-9', '68872-1', '68784-8', '68877-0', '68799-6', '68861-4', '68809-3', '68820-0', '68836-6', '68851-5', '68729-3', '68829-1', '68607-1', '11506-3', '68617-0', '68631-1', '68646-9', '28580-9', '68659-2', '28617-9', '68668-3', '34900-1', '68554-5', '72556-4', '34904-3', '68679-0', '68693-1', '68703-8', '28623-7', '28575-9', '68564-4', '11507-1', '68574-3', '68582-6', '68725-1', '68891-1', '68896-0', '68744-2', '68755-8', '68763-2', '68873-9', '68785-5', '68878-8', '68800-2', '68862-2', '68810-1', '11508-9', '18733-6', '28569-2', '68595-8', '11509-7', '28627-8', '11510-5', '68840-8', '28656-7', '11512-1', '15507-7', '34130-5', '68472-0', '68485-2', '68484-5', '64059-9', '64071-4', '68473-8', '64055-7', '68475-3', '68830-9', '64063-1', '64079-7', '68478-7', '68479-5', '64057-3', '64067-2', '68480-3', '64061-5', '64075-5', '68481-1', '70238-1', '34126-3', '34131-3', '34124-8', '34128-9', '34127-1', '34901-9', '34132-1', '34129-7', '34125-5', '74468-0', '74465-6', '73569-6', '64294-2', '64284-3', '57133-1', '57170-3', '57178-6', '57134-9', '57135-6', '57136-4', '57137-2', '69438-0', '57138-0', '57139-8', '57171-1', '57172-9', '57141-4', '57142-2', '57143-0', '57144-8', '57146-3', '57145-5', '57173-7', '57179-4', '57147-1', '57148-9', '57149-7', '57150-5', '57151-3', '57174-5', '57175-2', '57176-0', '57152-1', '57153-9', '57154-7', '57155-4', '57156-2', '57157-0', '57158-8', '57177-8', '57159-6', '57160-4', '57162-0', '57163-8', '57164-6', '57165-3', '57166-1', '57167-9', '57168-7', '57169-5', '64292-6', '55115-0', '70007-0', '68476-1', '68474-6', '71482-4', '51898-5', '74153-8', '59282-4', '47045-0', '68608-9', '61143-4', '68602-2', '68603-0', '47046-8', '34133-9', '74211-4', '48764-5', '47047-6', '67865-6', '34135-4', '34136-2', '34134-7', '61358-8', '11504-8', '34868-0', '34818-5', '34870-6', '28624-5', '34874-8', '34877-1', '34137-0', '34138-8', '18761-7', '68618-8', '68632-9', '68647-7', '68660-0', '34755-9', '68669-1', '34770-8', '68680-8', '68704-6', '68565-1', '68569-3', '68887-9', '68583-4', '68715-2', '68726-9', '68737-6', '68745-9', '68756-6', '68764-0', '68772-3', '68777-2', '68786-3', '68793-9', '68801-0', '68863-0', '68811-9', '68883-8', '68596-6', '68482-9', '68884-6', '59281-6', '74198-3', '54094-8', '57054-9', '38932-0', '38933-8', '38934-6', '38936-1', '38937-9', '38938-7', '38939-5', '38940-3', '38941-1', '38942-9', '38943-7', '38944-5', '38956-9', '38946-0', '38949-4', '38950-2', '38966-8', '38951-0', '38952-8', '38953-6', '38954-4', '38969-2', '38955-1', '38957-7', '38958-5', '38959-3', '38960-1', '38961-9', '38962-7', '38963-5', '38964-3', '38965-0', '38967-6', '38968-4', '38947-8', '38935-3', '38945-2', '38948-6', '38972-6', '38980-9', '38970-0', '38971-8', '38973-4', '38979-1', '38974-2', '38975-9', '38976-7', '38977-5', '38978-3', '38981-7', '38982-5', '38983-3', '38984-1', '38985-8', '38986-6', '38987-4', '38988-2', '59283-2', '52027-0', '24754-4', '26376-4', '26377-2', '26378-0', '53243-2', '11485-0', '30649-8', '30641-5', '36760-7', '36762-3', '69067-7', '24543-1', '24580-3', '26368-1', '26369-9', '24614-0', '24615-7', '35881-2', '24698-3', '36763-1', '24766-8', '26370-7', '26371-5', '26372-3', '24832-8', '30648-0', '25081-1', '25012-6', '26373-1', '26374-9', '26375-6', '43793-9', '43794-7', '43795-4', '43792-1', '25064-7', '30836-1', '37426-4', '30640-7', '35882-0', '52032-0', '36764-9', '69135-2', '69253-3', '36765-6', '35883-8', '36766-4', '24568-8', '28615-3', '52065-0', '18743-5', '36761-5', '33720-4', '52041-1', '38268-9', '43562-8', '43563-6', '48807-2', '24631-4', '53242-4', '54095-5', '11486-8', '71428-7', '71421-2', '71388-3', '71406-3', '25062-1', '24611-6', '60570-9', '60571-7', '52042-9', '25038-1', '29751-5', '50007-4', '47523-6', '47530-1', '47521-0', '50971-1', '47528-5', '47527-7', '47522-8', '47520-2', '47524-4', '47529-3', '33718-8', '47525-1', '47526-9', '52040-3', '29749-9', '28622-9', '28574-2', '29761-4', '11490-0', '28655-9', '53245-7', '53247-3', '24684-3', '24887-2', '24553-0', '24554-8', '52071-8', '67796-3', '52043-7', '30600-1', '24923-5', '52030-4', '52031-2', '52044-5', '29272-2', '52064-3', '57129-9', '52045-2', '52033-8', '51969-4', '46365-3', '44228-5', '44156-8', '44101-4', '44155-0', '58747-7', '58743-6', '35884-6', '42280-8', '42705-4', '42281-6', '42285-7', '44167-5', '42282-4', '42133-9', '39361-1', '69120-4', '69122-0', '42286-5', '44168-3', '44169-1', '42284-0', '69123-8', '43502-4', '44166-7', '30578-9', '39451-0', '35885-3', '39620-0', '39623-4', '39622-6', '39621-8', '72533-3', '72532-5', '24623-1', '42688-2', '35886-1', '24598-5', '43756-6', '69278-0', '69292-1', '69296-2', '35888-7', '24771-8', '48434-5', '24811-2', '24822-9', '69287-1', '24837-7', '39452-8', '24856-7', '24863-3', '30703-3', '37491-8', '24662-9', '37887-7', '24973-0', '42134-7', '25043-1', '30878-3', '36926-4', '37210-2', '69306-9', '24594-4', '69192-3', '30653-0', '26343-4', '38012-1', '26344-2', '42450-7', '26345-9', '42458-0', '38126-9', '69121-2', '38133-5', '42447-3', '35887-9', '30698-5', '24671-0', '25042-3', '25041-5', '46281-2', '46282-0', '30602-7', '44107-1', '44108-9', '46387-7', '44160-0', '46284-6', '38026-1', '46283-8', '38033-7', '38135-0', '44221-0', '43757-4', '44159-2', '44217-8', '30608-4', '30603-5', '44158-4', '44220-2', '30595-3', '44103-0', '44219-4', '44104-8', '44105-5', '30605-0', '44157-6', '44218-6', '30606-8', '44106-3', '38017-0', '30610-0', '38136-8', '69124-6', '38019-6', '44216-0', '30580-5', '38018-8', '44215-2', '24755-1', '26298-0', '26299-8', '26300-4', '30601-9', '37913-1', '35890-3', '44117-0', '44162-6', '36767-2', '35891-1', '69076-8', '37211-0', '35893-7', '24602-5', '37914-9', '26337-6', '69169-1', '37912-3', '26338-4', '69203-8', '42449-9', '26339-2', '69213-7', '42457-2', '35895-2', '37915-6', '35894-5', '37492-6', '42333-5', '43567-7', '43565-1', '44109-7', '42463-0', '37212-8', '69387-9', '36927-2', '35892-9', '42136-2', '42279-0', '24772-6', '35899-4', '38766-2', '30607-6', '26340-0', '26341-8', '26342-6', '24812-0', '24816-1', '35900-0', '38765-4', '35896-0', '24823-7', '44161-8', '30634-0', '35901-8', '39522-8', '37213-6', '42137-0', '36768-0', '37917-2', '24838-5', '37918-0', '30604-3', '37919-8', '35902-6', '24864-1', '69074-3', '35903-4', '24883-1', '41802-0', '35898-6', '37920-6', '69075-0', '38132-7', '69396-0', '24986-2', '35904-2', '35905-9', '35906-7', '30609-2', '35907-5', '42265-9', '42135-4', '38154-1', '43797-0', '43564-4', '37214-4', '35908-3', '25009-2', '35897-8', '25044-9', '25059-7', '25069-6', '24670-2', '30651-4', '24813-8', '69279-8', '46285-3', '38024-6', '69073-5', '42448-1', '30652-2', '42288-1', '69224-4', '46367-9', '46368-7', '46286-1', '38028-7', '41803-8', '43462-1', '43447-2', '69290-5', '38029-5', '69225-1', '69099-0', '44171-7', '69127-9', '43568-5', '42289-9', '38027-9', '69097-4', '69197-2', '44170-9', '69125-3', '42267-5', '37916-4', '69098-2', '69198-0', '69288-9', '69226-9', '46369-5', '42290-7', '69199-8', '69289-7', '69126-1', '46370-3', '69200-4', '69227-7', '46288-7', '69228-5', '69100-6', '69201-2', '69291-3', '69128-7', '43571-9', '69401-8', '38030-3', '42266-7', '69101-4', '69202-0', '38031-1', '69129-5', '46287-9', '30700-9', '44225-1', '24718-9', '35910-9', '46289-5', '35909-1', '69093-3', '42260-0', '46366-1', '46384-4', '69083-4', '35911-7', '69092-5', '69094-1', '46290-3', '35889-5', '64998-8', '64999-6', '30818-9', '30892-4', '24624-9', '26331-9', '26332-7', '26333-5', '43558-6', '36769-8', '24781-7', '46371-1', '30646-4', '69400-0', '69391-1', '38127-7', '70915-4', '70916-2', '70917-0', '24680-1', '35913-3', '42287-3', '41809-5', '35914-1', '35915-8', '36770-6', '35916-6', '69078-4', '24692-6', '26325-1', '26326-9', '26327-7', '35917-4', '69133-7', '35918-2', '24896-3', '26328-5', '26329-3', '26330-1', '35919-0', '35920-8', '42283-2', '44172-5', '35921-6', '24868-2', '41800-4', '41798-0', '35922-4', '30699-3', '43537-0', '42478-8', '46291-1', '35923-2', '46292-9', '35924-0', '46293-7', '35925-7', '43478-7', '43474-6', '43477-9', '43473-8', '43475-3', '43476-1', '72248-8', '44214-5', '30815-5', '44213-7', '58740-2', '72541-6', '72542-4', '72540-8', '35926-5', '30638-1', '24769-2', '42334-3', '42706-2', '24901-1', '35927-3', '26319-4', '26320-2', '26321-0', '48435-2', '46392-7', '37427-2', '30579-7', '24931-8', '26322-8', '26323-6', '26324-4', '70918-8', '30812-2', '37493-4', '70919-6', '30817-1', '70920-4', '30814-8', '30702-5', '72530-9', '36771-4', '37494-2', '72537-4', '72645-5', '72644-8', '72536-6', '72643-0', '72642-2', '72543-2', '72552-3', '72553-1', '72535-8', '72534-1', '48735-5', '43759-0', '35928-1', '42296-4', '43758-2', '35929-9', '42297-2', '43760-8', '37608-7', '42701-3', '39760-4', '39759-6', '39761-2', '39953-5', '39763-8', '39762-0', '39758-8', '44110-5', '24600-9', '69068-5', '26313-7', '26314-5', '26318-6', '37921-4', '42021-6', '42020-8', '39026-0', '39028-6', '38032-9', '39027-8', '24595-1', '26315-2', '26316-0', '26317-8', '44118-8', '35930-7', '35931-5', '70921-2', '35932-3', '70922-0', '69240-0', '42139-6', '24609-0', '26334-3', '26335-0', '38023-8', '26336-8', '38025-3', '44121-2', '69245-9', '69246-7', '44204-6', '69247-5', '46372-9', '62494-0', '24621-5', '69241-8', '69242-6', '42422-6', '43444-9', '42423-4', '69243-4', '44223-6', '69244-2', '42421-8', '35933-1', '35936-4', '70923-8', '35934-9', '70924-6', '35935-6', '70925-3', '72539-0', '30643-1', '35912-5', '25028-2', '25029-0', '24613-2', '30644-9', '25077-9', '24625-6', '26310-3', '26311-1', '26312-9', '41801-2', '24716-3', '62491-6', '62492-4', '25072-0', '62450-2', '25026-6', '25027-4', '26307-9', '26308-7', '26309-5', '25024-1', '26304-6', '26305-3', '26306-1', '64993-9', '42456-4', '36772-2', '24779-1', '24782-5', '35937-2', '43487-8', '65797-3', '65798-1', '69134-5', '25078-7', '24756-9', '26301-2', '26302-0', '26303-8', '24555-5', '51391-1', '35938-0', '42140-4', '39362-9', '30637-3', '41799-8', '24995-3', '44224-4', '46373-7', '44102-2', '44222-8', '30629-0', '30581-3', '30664-7', '30582-1', '30665-4', '25053-0', '25054-8', '24537-3', '42141-2', '72549-9', '72548-1', '72547-3', '72546-5', '41810-3', '24559-7', '38142-6', '30628-2', '72538-2', '72544-0', '24885-6', '72550-7', '72551-5', '42017-4', '52790-3', '72545-7', '52791-1', '46294-5', '24996-1', '24626-4', '26295-6', '26296-4', '26297-2', '48740-5', '48736-3', '48739-7', '24570-4', '43763-2', '43761-6', '43762-4', '43764-0', '72554-9', '39138-3', '39139-1', '36936-3', '24603-3', '26292-3', '26293-1', '26294-9', '36928-0', '46296-0', '46295-2', '42433-3', '69160-0', '24585-2', '36929-8', '44122-0', '30656-3', '30800-7', '28632-8', '46264-8', '47519-4', '47245-6', '52035-3', '52036-1', '52046-0', '18841-7', '52028-8', '24655-3', '52047-8', '65806-2', '11500-6', '11495-9', '11494-2', '11496-7', '11497-5', '11498-3', '28572-6', '28621-1', '29753-1', '18734-4', '18735-1', '18736-9', '28654-2', '18763-3', '18737-7', '28635-1', '18738-5', '18739-3', '46214-3', '15508-5', '11502-2', '24717-1', '52048-6', '52049-4', '55186-1', '55185-3', '11503-0', '52037-9', '24672-8', '30632-4', '52050-2', '35990-1', '41806-1', '24556-3', '24558-9', '30762-9', '24566-2', '24531-6', '24532-4', '44115-4', '36781-3', '30864-3', '36791-2', '24534-0', '39494-0', '36930-6', '36931-4', '69277-2', '36792-0', '35940-6', '24538-1', '35939-8', '35941-4', '26208-9', '35942-2', '26209-7', '35943-0', '35944-8', '26210-5', '37674-9', '37222-7', '24542-3', '35945-5', '35947-1', '35946-3', '24547-2', '46388-5', '35948-9', '35949-7', '69276-4', '37216-9', '24544-9', '35950-5', '24660-3', '30863-5', '35951-3', '30861-9', '35952-1', '24548-0', '39040-1', '43508-1', '72529-1', '43510-7', '72528-3', '37219-3', '38021-2', '37220-1', '39039-3', '24590-2', '58748-5', '44138-6', '37217-7', '37218-5', '43772-3', '42385-5', '30794-2', '24601-7', '69165-9', '38057-6', '38058-4', '24596-9', '69397-8', '30795-9', '26214-7', '35954-7', '26215-4', '35955-4', '26216-2', '46299-4', '36010-7', '36011-5', '24616-5', '42146-1', '26217-0', '43765-7', '26218-8', '39427-0', '26219-6', '39437-9', '43552-9', '36793-8', '30859-3', '30865-0', '46374-5', '24627-2', '24629-8', '24630-6', '24657-9', '30862-7', '38016-2', '37235-9', '35960-4', '35961-2', '35959-6', '44120-4', '24757-7', '35962-0', '24674-4', '35963-8', '35965-3', '26220-4', '35964-6', '35966-1', '26221-2', '35967-9', '35968-7', '26222-0', '37688-9', '35969-5', '57823-7', '24690-0', '69193-1', '24693-4', '35970-3', '39042-7', '39031-0', '69293-9', '39428-8', '69297-0', '39439-5', '39449-4', '39418-9', '42145-3', '39429-6', '42144-6', '39440-3', '30876-7', '69283-0', '41835-0', '41816-0', '36794-6', '43771-5', '39495-7', '69398-6', '39503-8', '26224-6', '26223-8', '26226-1', '26225-3', '26231-1', '26230-3', '24853-4', '35953-9', '41808-7', '24696-7', '69389-5', '69399-4', '30871-8', '38134-3', '38128-5', '39498-1', '39504-6', '35984-4', '35985-1', '35986-9', '35987-7', '38037-8', '35988-5', '35989-3', '38048-5', '38768-8', '24705-6', '26238-6', '26239-4', '26240-2', '37221-9', '35991-9', '24707-2', '35992-7', '30872-6', '46362-0', '35993-5', '26241-0', '35994-3', '26242-8', '35995-0', '35996-8', '26243-6', '37706-9', '35997-6', '24710-6', '30873-4', '35998-4', '26244-4', '35999-2', '26245-1', '36000-8', '26246-9', '24711-4', '36001-6', '39415-5', '39416-3', '37236-7', '24719-7', '36002-4', '24720-5', '36003-2', '46382-8', '36004-0', '26247-7', '36005-7', '26248-5', '36006-5', '36007-3', '26249-3', '37717-6', '24725-4', '24728-8', '24731-2', '58741-0', '30858-5', '30856-9', '24733-8', '42304-6', '30880-9', '30655-5', '24746-0', '58742-8', '44164-2', '58744-4', '24748-6', '36009-9', '44137-8', '42148-7', '36014-9', '36013-1', '24760-1', '36012-3', '36016-4', '36017-2', '26250-1', '36015-6', '36018-0', '36020-6', '26251-9', '36019-8', '36021-4', '36022-2', '26252-7', '37735-8', '43566-9', '36024-8', '39425-4', '42147-9', '39497-3', '38129-3', '38137-6', '38141-8', '35958-8', '35956-2', '24767-6', '26253-5', '35957-0', '26254-3', '38767-0', '26255-0', '24735-3', '36033-9', '38036-0', '36032-1', '39032-8', '42477-0', '43767-3', '36034-7', '43774-9', '24789-0', '69402-6', '36035-4', '38038-6', '69113-9', '36036-2', '38049-3', '36037-0', '24802-1', '36038-8', '36799-5', '36800-1', '36801-9', '36040-4', '26256-8', '36039-6', '36041-2', '26257-6', '36042-0', '36043-8', '26258-4', '37760-6', '36045-3', '36044-6', '24814-6', '36046-1', '28614-6', '39454-4', '24818-7', '35971-1', '30692-8', '30709-0', '35972-9', '48693-6', '39434-6', '38130-1', '39421-3', '41834-3', '39499-9', '41815-2', '39505-3', '46363-8', '30881-7', '46364-6', '39420-5', '48692-8', '39432-0', '48691-0', '39443-7', '36079-2', '69385-3', '36784-7', '69392-9', '36785-4', '42461-4', '42462-2', '30874-2', '44174-1', '35974-5', '39422-1', '36795-3', '39431-2', '36796-1', '39442-9', '35973-7', '35975-2', '38013-9', '24687-6', '26227-9', '26228-7', '26229-5', '35976-0', '35978-6', '38040-2', '35977-8', '35979-4', '35980-2', '38051-9', '37766-3', '36074-3', '24821-1', '43513-1', '43556-0', '42696-5', '36075-0', '36076-8', '30866-8', '57822-9', '36047-9', '36048-7', '38043-6', '36776-3', '46298-6', '36050-3', '36049-5', '37234-2', '38044-4', '37233-4', '69394-5', '69211-1', '37606-1', '30860-1', '24835-1', '36051-1', '24839-3', '24842-7', '36788-8', '36085-9', '44175-8', '30857-7', '41807-9', '36777-1', '36802-7', '24848-4', '37611-1', '38836-3', '36778-9', '42303-8', '43530-5', '43455-5', '39502-0', '36779-7', '69390-3', '43506-5', '24857-5', '36052-9', '24859-1', '39509-5', '36053-7', '38045-1', '37223-5', '37224-3', '38138-4', '24865-8', '24867-4', '24869-0', '37632-7', '36789-6', '30867-6', '24870-8', '24872-4', '26259-2', '26260-0', '26261-8', '38140-0', '38139-2', '24877-3', '36932-2', '24880-7', '24881-5', '26262-6', '26263-4', '26264-2', '36077-6', '69284-8', '36055-2', '36056-0', '36057-8', '30675-3', '24884-9', '43445-6', '43454-8', '36803-5', '24892-2', '69294-7', '39435-3', '36078-4', '30868-4', '69295-4', '39426-2', '36804-3', '39419-7', '30619-1', '36031-3', '36058-6', '36059-4', '38053-5', '37653-3', '69116-2', '36060-2', '36933-0', '69298-8', '69117-0', '36061-0', '36073-5', '25002-7', '48742-1', '26271-7', '26272-5', '26273-3', '42437-4', '36062-8', '24905-2', '24907-8', '37850-5', '36805-0', '36806-8', '36807-6', '36063-6', '26266-7', '26265-9', '36064-4', '26268-3', '26267-5', '36065-1', '36066-9', '26270-9', '26269-1', '37811-7', '30588-8', '24914-4', '37866-1', '37874-5', '37495-9', '28566-8', '36067-7', '24926-8', '37497-5', '24932-6', '24935-9', '70926-1', '36068-5', '43457-1', '42698-1', '24963-1', '24968-0', '69393-7', '36069-3', '37232-6', '24978-9', '24980-5', '70927-9', '37911-5', '49565-5', '24988-8', '36070-1', '24990-4', '37225-0', '36071-9', '36072-7', '37885-1', '36782-1', '38131-9', '46359-6', '44235-0', '42468-9', '38059-2', '36773-0', '37226-8', '24999-5', '30719-9', '37228-4', '37227-6', '37230-0', '37229-2', '37231-8', '37819-0', '39446-0', '24702-3', '26235-2', '26236-0', '26237-8', '36054-5', '24582-9', '44163-4', '26211-3', '26212-1', '26213-9', '43507-3', '42300-4', '25010-0', '37898-4', '30888-2', '36780-5', '69285-5', '39508-7', '36023-0', '36025-5', '36026-3', '69180-8', '36027-1', '36028-9', '36029-7', '36030-5', '35981-0', '24688-4', '30710-8', '37923-0', '48448-5', '39447-8', '38014-7', '39423-9', '41833-5', '39500-4', '41814-5', '39506-1', '30882-5', '48690-2', '39496-5', '48689-4', '39501-2', '48688-6', '39507-9', '36080-0', '69395-2', '36786-2', '36787-0', '46385-1', '44236-8', '42475-4', '42476-2', '36084-2', '39448-6', '46379-4', '36797-9', '39433-8', '36798-7', '39444-5', '26232-9', '30875-9', '36774-8', '36775-5', '35982-8', '26233-7', '38041-0', '35983-6', '26234-5', '38052-7', '25019-1', '42301-2', '30705-8', '39036-9', '39525-1', '39030-2', '36783-9', '69222-8', '36081-8', '36083-4', '36082-6', '36790-4', '39445-2', '38054-3', '37428-0', '25033-2', '25036-5', '37932-1', '37430-6', '26277-4', '26278-2', '37429-8', '37431-4', '26279-0', '26280-8', '37432-2', '69209-5', '37433-0', '26281-6', '26282-4', '37644-2', '69219-4', '36008-1', '25045-6', '25040-7', '25056-3', '44136-0', '25061-3', '25071-2', '46375-2', '39523-6', '44229-3', '28576-7', '39453-6', '36957-9', '37294-6', '41804-6', '39043-5', '44165-9', '58745-1', '59255-0', '69082-6', '37295-3', '72830-3', '72832-9', '39879-2', '39881-8', '30760-3', '25055-5', '39408-0', '39862-8', '47378-5', '37435-5', '42693-2', '39140-9', '44126-1', '42386-3', '42387-1', '37434-8', '46300-0', '72139-9', '72138-1', '72137-3', '37436-3', '43555-2', '43449-8', '37437-1', '36114-7', '43450-6', '43451-4', '46394-3', '43452-2', '43453-0', '37438-9', '43527-1', '39637-4', '43655-0', '43652-7', '69235-0', '43670-9', '43673-3', '43662-6', '39684-6', '39811-5', '39141-7', '39656-4', '39654-9', '39655-6', '39675-4', '11525-3', '72251-2', '24889-8', '36934-8', '36935-5', '43446-4', '69237-6', '39678-8', '39748-9', '42292-3', '46395-0', '39913-9', '39918-8', '46396-8', '39916-2', '39930-3', '37439-7', '37440-5', '37441-3', '39409-8', '36086-7', '30704-1', '38047-7', '43572-7', '38011-3', '69280-6', '24599-3', '26286-5', '26288-1', '26290-7', '38015-4', '42149-5', '42151-1', '36089-1', '69281-4', '36090-9', '39526-9', '46301-8', '39424-7', '62451-0', '62452-8', '69286-3', '36937-1', '38020-4', '36087-5', '38034-5', '36808-4', '39044-3', '36091-7', '42707-0', '36092-5', '43776-4', '42150-3', '36088-3', '38035-2', '69300-2', '41812-9', '38042-8', '39430-4', '39441-1', '36093-3', '38039-4', '38050-1', '44116-2', '48461-8', '69212-9', '38046-9', '42152-9', '44173-3', '39436-1', '69299-6', '24913-6', '41813-7', '38143-4', '46302-6', '44237-6', '46303-4', '36094-1', '39045-0', '39524-4', '25039-9', '48460-0', '69282-2', '72831-1', '44127-9', '39046-8', '36102-2', '36095-8', '36096-6', '69096-6', '36098-2', '36099-0', '36100-6', '36101-4', '36097-4', '39681-2', '39813-1', '39821-4', '36103-0', '36105-5', '47366-0', '36938-9', '36104-8', '36106-3', '36107-1', '38769-6', '36108-9', '46304-2', '36109-7', '36110-5', '36111-3', '36112-1', '39905-5', '39906-3', '39527-7', '49569-7', '43659-2', '39725-7', '39718-2', '39724-0', '39723-2', '49568-9', '39729-9', '39700-0', '49567-1', '39142-5', '39712-5', '39734-9', '39736-4', '39710-9', '39711-7', '38060-0', '25052-2', '25050-6', '42132-1', '72142-3', '72141-5', '72140-7', '37442-1', '37443-9', '36939-7', '70929-5', '70928-7', '70930-3', '36940-5', '42455-6', '24677-7', '42390-5', '39838-8', '39898-2', '39872-7', '46305-9', '46358-8', '44139-4', '46306-7', '39680-4', '39816-4', '39825-5', '41837-6', '39658-0', '39662-2', '49566-3', '30711-6', '24732-0', '30706-6', '30701-7', '69388-7', '69086-7', '69108-9', '69085-9', '69207-9', '69217-8', '69208-7', '69218-6', '48442-8', '48450-1', '44114-7', '48452-7', '44113-9', '48441-0', '36267-3', '24557-1', '48743-9', '42274-1', '36846-4', '30805-6', '36855-5', '36950-4', '36951-2', '36268-1', '24539-9', '26187-5', '36269-9', '26188-3', '36270-7', '26189-1', '44131-1', '36271-5', '36273-1', '36272-3', '36274-9', '30806-4', '46360-4', '43509-9', '43511-5', '36944-7', '24587-8', '48694-4', '43769-9', '42392-1', '36276-4', '69189-9', '69166-7', '38870-2', '38062-6', '36277-2', '36278-0', '36279-8', '43528-9', '36358-0', '36280-6', '36281-4', '36856-3', '30598-7', '36283-0', '36848-0', '30804-9', '36420-8', '42277-4', '36284-8', '72252-0', '69161-8', '42299-8', '48455-0', '48454-3', '36285-5', '24675-1', '26193-3', '36286-3', '26194-1', '36287-1', '26195-8', '42268-3', '24694-2', '30803-1', '36338-2', '36339-0', '36340-8', '69194-9', '69204-6', '69214-5', '36341-6', '30682-9', '36342-4', '36343-2', '36344-0', '36345-7', '36346-5', '36347-3', '30684-5', '69174-1', '36348-1', '36349-9', '36350-7', '36351-5', '36352-3', '30686-0', '69177-4', '36353-1', '36354-9', '36355-6', '36356-4', '24726-2', '24729-6', '36847-2', '30593-8', '36857-1', '36357-2', '36359-8', '30688-6', '36360-6', '36361-4', '36362-2', '36363-0', '36364-8', '36365-5', '36282-2', '30659-7', '24740-3', '43768-1', '43775-6', '36377-0', '36378-8', '24784-1', '36379-6', '24803-9', '38837-1', '36862-1', '26199-0', '36380-4', '26200-6', '36381-2', '26201-4', '36382-0', '30612-6', '30670-4', '36288-9', '39291-0', '36416-6', '36849-8', '36850-6', '30807-2', '44128-7', '46308-3', '36858-9', '46307-5', '36859-7', '36289-7', '36371-3', '36372-1', '36373-9', '36290-5', '36291-3', '36292-1', '36333-3', '36408-3', '30870-0', '42697-3', '36409-1', '36410-9', '36411-7', '36412-5', '36383-8', '37272-2', '48443-6', '36384-6', '30586-2', '24840-1', '36853-0', '30594-6', '36423-2', '48451-9', '36842-3', '43458-9', '24849-2', '24851-8', '36843-1', '36844-9', '39029-4', '46310-9', '36845-6', '30614-2', '36385-3', '46311-7', '37265-6', '30616-7', '30674-6', '36854-8', '30623-3', '36863-9', '30672-0', '36835-7', '24904-5', '24879-9', '36414-1', '36387-9', '36388-7', '36389-5', '36275-6', '36415-8', '44134-5', '36375-4', '36376-2', '36390-3', '36391-1', '36392-9', '36393-7', '36394-5', '36406-7', '36395-2', '24906-0', '36864-7', '36865-4', '26202-2', '36396-0', '26203-0', '36397-8', '26204-8', '36398-6', '30663-9', '44111-3', '69220-2', '37277-1', '36399-4', '36400-0', '37505-5', '36401-8', '24937-5', '37506-3', '43456-3', '30855-1', '36402-6', '24967-2', '37507-1', '36403-4', '24981-3', '37508-9', '24989-6', '36404-2', '37266-4', '36405-9', '44231-9', '36837-3', '37267-2', '37268-0', '37269-8', '37270-6', '37271-4', '24703-1', '26196-6', '26197-4', '26198-2', '24583-7', '26190-9', '26191-7', '26192-5', '36407-5', '72241-3', '72238-9', '36366-3', '30690-2', '69181-6', '36367-1', '36368-9', '36369-7', '36370-5', '36334-1', '39034-4', '36417-4', '36851-4', '36852-2', '36421-6', '36422-4', '46312-5', '36860-5', '46309-1', '36861-3', '69186-5', '36374-7', '36840-7', '36841-5', '36335-8', '38831-4', '36336-6', '36337-4', '36413-3', '36418-2', '36419-0', '37457-9', '25035-7', '26205-5', '37458-7', '26206-3', '38802-5', '26207-1', '42298-0', '24588-6', '72244-7', '43448-0', '46318-2', '46317-4', '46315-8', '46316-6', '46314-1', '46313-3', '60515-4', '24586-0', '24936-7', '24977-1', '25046-4', '38022-0', '25047-2', '25057-1', '30599-5', '24567-0', '38055-0', '36809-2', '69162-6', '69238-4', '30853-6', '36941-3', '37237-5', '36115-4', '69102-2', '36116-2', '69109-7', '36117-0', '46319-0', '69103-0', '36118-8', '69110-5', '36119-6', '36120-4', '69105-5', '36121-2', '69112-1', '36122-0', '36124-6', '36125-3', '69106-3', '36126-1', '69114-7', '36127-9', '37238-3', '69210-3', '36123-8', '36128-7', '36129-5', '38828-0', '36130-3', '36131-1', '36132-9', '36810-0', '37444-7', '69107-1', '37445-4', '69115-4', '37446-2', '36811-8', '36812-6', '39322-3', '37496-7', '37509-7', '70931-1', '24734-6', '47985-7', '24934-2', '48447-7', '24965-6', '48436-0', '30596-1', '48439-4', '36134-5', '36813-4', '36828-2', '24533-2', '69908-2', '36943-9', '44124-6', '36135-2', '36136-0', '69163-4', '36137-8', '36138-6', '36139-4', '36140-2', '36142-8', '36141-0', '36143-6', '24545-6', '72255-3', '43503-2', '36144-4', '37499-1', '36145-1', '43504-0', '43505-7', '44125-3', '69095-8', '24589-4', '48444-4', '37239-1', '37215-1', '42391-3', '36149-3', '69190-7', '69167-5', '36150-1', '36151-9', '36152-7', '46323-2', '36198-0', '36153-5', '36154-3', '36146-9', '36829-0', '24628-0', '36156-8', '36266-5', '24659-5', '42275-8', '36942-1', '72254-6', '37254-0', '42694-0', '48457-6', '48456-8', '36157-6', '36158-4', '69170-9', '36159-2', '36160-0', '36161-8', '36162-6', '24691-8', '26184-2', '26185-9', '26186-7', '36148-5', '30801-5', '24697-5', '36172-5', '69172-5', '36174-1', '36176-6', '69195-6', '69205-3', '69215-2', '36178-2', '36179-0', '36180-8', '36181-6', '36182-4', '36183-2', '36184-0', '36185-7', '36186-5', '69175-8', '36187-3', '36188-1', '36189-9', '36190-7', '36191-5', '36192-3', '69178-2', '36193-1', '36194-9', '36195-6', '36196-4', '24727-0', '36814-2', '36826-6', '36830-8', '24593-6', '37498-3', '24747-8', '36197-2', '36200-4', '36199-8', '36201-2', '36202-0', '36203-8', '36204-6', '36205-3', '36206-1', '30583-9', '36155-0', '46322-4', '36113-9', '43766-5', '36219-4', '24790-8', '36220-2', '36221-0', '36222-8', '36223-6', '69088-3', '36224-4', '36225-1', '36226-9', '36227-7', '36228-5', '36229-3', '36230-1', '24815-3', '36231-9', '30624-1', '39293-6', '36824-1', '36825-8', '36831-6', '46324-0', '44135-2', '50755-8', '36163-4', '36213-7', '36214-5', '36215-2', '36164-2', '36165-9', '36166-7', '36167-5', '36258-2', '36259-0', '24820-3', '43512-3', '42695-7', '36260-8', '36261-6', '36262-4', '36263-2', '36232-7', '48446-9', '36233-5', '24836-9', '36235-0', '24841-9', '36827-4', '36234-3', '24844-3', '48449-3', '36820-9', '36832-4', '24850-0', '24852-6', '36821-7', '36822-5', '46320-8', '39038-5', '46321-6', '36823-3', '24858-3', '36236-8', '37240-9', '37241-7', '24866-6', '36237-6', '42294-9', '24873-2', '24878-1', '30590-4', '36238-4', '36242-6', '36243-4', '36244-2', '36147-7', '36833-2', '30887-4', '36217-8', '36218-6', '36245-9', '36246-7', '36247-5', '36248-3', '36249-1', '69221-0', '36250-9', '36251-7', '69184-0', '36252-5', '38830-6', '36253-3', '36254-1', '36255-8', '24915-1', '48440-2', '37253-2', '24987-0', '36256-6', '37500-6', '24933-4', '24938-3', '37501-4', '38061-8', '24964-9', '30678-7', '37502-2', '24979-7', '24982-1', '37503-0', '30622-5', '37242-5', '36257-4', '36815-9', '38835-5', '36816-7', '37243-3', '37244-1', '37245-8', '37246-6', '37247-4', '37248-2', '37249-0', '36173-3', '25003-5', '36175-8', '36177-4', '36239-2', '24584-5', '26181-8', '26182-6', '26183-4', '36240-0', '36241-8', '72243-9', '72240-5', '36207-9', '36208-7', '69182-4', '36209-5', '36210-3', '36211-1', '36212-9', '30626-6', '39037-7', '42295-6', '24549-8', '36168-3', '69187-3', '36216-0', '36817-5', '36818-3', '36819-1', '36169-1', '38829-8', '36170-9', '36171-7', '36264-0', '36265-7', '36834-0', '37447-0', '37448-8', '69091-7', '37449-6', '37450-4', '37451-2', '37452-0', '37453-8', '24753-6', '49507-7', '25058-9', '72531-7', '39450-2', '72246-2', '72250-4', '72247-0', '72245-4', '39648-1', '44154-3', '42389-7', '42388-9', '42270-9', '39682-0', '39638-2', '39755-4', '39839-6', '39844-6', '41838-4', '41772-5', '46297-8', '39823-0', '24578-7', '39632-5', '39644-0', '39770-3', '39649-9', '42310-3', '39852-9', '39692-9', '39876-8', '39628-3', '39740-6', '43526-3', '39938-6', '46330-7', '46327-3', '46326-5', '46328-1', '46325-7', '46329-9', '42143-8', '58750-1', '58749-3', '39668-9', '44152-7', '39743-0', '39640-8', '39641-6', '44153-5', '39631-7', '24817-9', '39851-1', '69229-3', '44151-9', '39691-1', '69234-3', '39647-3', '39639-0', '42377-2', '46393-5', '42394-7', '36424-0', '30668-8', '42291-5', '36952-0', '36878-7', '36496-8', '36953-8', '36954-6', '36425-7', '30680-3', '36879-5', '69087-5', '69164-2', '36426-5', '36427-3', '36428-1', '36429-9', '36430-7', '44132-9', '36431-5', '36432-3', '69119-6', '36433-1', '44130-3', '36434-9', '44123-8', '30657-1', '48453-5', '37278-9', '37279-7', '42393-9', '36436-4', '69191-5', '69168-3', '38064-2', '38817-3', '44119-6', '36437-2', '36438-0', '36439-8', '46333-1', '36483-6', '36440-6', '36441-4', '36880-3', '29252-4', '36442-2', '69084-2', '36547-8', '42276-6', '72253-8', '42302-0', '48459-2', '48458-4', '36443-0', '30796-7', '36444-8', '69171-7', '36445-5', '36446-3', '36447-1', '36448-9', '42278-2', '69104-8', '69111-3', '36435-6', '30802-3', '72249-6', '36460-4', '69173-3', '36462-0', '36464-6', '69196-4', '69206-1', '69216-0', '36466-1', '30681-1', '36467-9', '36468-7', '36469-5', '36470-3', '36471-1', '36472-9', '30683-7', '69176-6', '36473-7', '36474-5', '36475-2', '36476-0', '36477-8', '30685-2', '69179-0', '36478-6', '36479-4', '36480-2', '36481-0', '30799-1', '36876-1', '42293-1', '36881-1', '36482-8', '36484-4', '30687-8', '36485-1', '36486-9', '36487-7', '36488-5', '36489-3', '36490-1', '30584-7', '30658-9', '43770-7', '43773-1', '36503-1', '36504-9', '39359-5', '36505-6', '30691-0', '69089-1', '36506-4', '36507-2', '36508-0', '36509-8', '36510-6', '36511-4', '48445-1', '30611-8', '30669-6', '30625-8', '39292-8', '44129-5', '36450-5', '36882-9', '38773-8', '36449-7', '36451-3', '36497-6', '36498-4', '36499-2', '36452-1', '36453-9', '36454-7', '36455-4', '36537-9', '30869-2', '69185-7', '36538-7', '36539-5', '36540-3', '36541-1', '36512-2', '36513-0', '30585-4', '36514-8', '30660-5', '36877-9', '36549-4', '46331-5', '36872-0', '30587-0', '30661-3', '36873-8', '36874-6', '36956-1', '46332-3', '36875-3', '30613-4', '36515-5', '37280-5', '37281-3', '30615-9', '30673-8', '36883-7', '30671-2', '30589-6', '30591-2', '30666-2', '36543-7', '36517-1', '36518-9', '36519-7', '36544-5', '44133-7', '36501-5', '36502-3', '36520-5', '36521-3', '36522-1', '69118-8', '36523-9', '38770-4', '36535-3', '36524-7', '30693-6', '69090-9', '36525-4', '36526-2', '38834-8', '36527-0', '36528-8', '36529-6', '30662-1', '44112-1', '48687-8', '37293-8', '36530-4', '36531-2', '37510-5', '30592-0', '30667-0', '37511-3', '30854-4', '30620-9', '30679-5', '37994-1', '37288-8', '30597-9', '36532-0', '37512-1', '30621-7', '36533-8', '37282-1', '36534-6', '44230-1', '36866-2', '36867-0', '36868-8', '37283-9', '37284-7', '37285-4', '37286-2', '37287-0', '36461-2', '43514-9', '43515-6', '36463-8', '36465-3', '30654-8', '38833-0', '36516-3', '36955-3', '36536-1', '72242-1', '72239-7', '36491-9', '30689-4', '69183-2', '36492-7', '36493-5', '36494-3', '36495-0', '30627-4', '39033-6', '36548-6', '36456-2', '69188-1', '36500-7', '36869-6', '36870-4', '36457-0', '38832-2', '36458-8', '36459-6', '36542-9', '36545-2', '36546-0', '37459-5', '37460-3', '43516-4', '43517-2', '37461-1', '37462-9', '37463-7', '37464-5', '37465-2', '37466-0', '43525-5', '69223-6', '36871-2', '24787-4', '30712-4', '25051-4', '29750-7', '25060-5', '52072-6', '53246-5', '46210-1', '34819-3', '46215-0', '28568-4', '11536-0', '52066-8', '53244-0', '11543-6', '46208-5', '52051-0', '52052-8', '52053-6', '52054-4', '52067-6', '24620-7', '33721-2', '34122-2', '55188-7', '55750-4', '52034-6', '24882-3', '69252-5', '69248-3', '42018-2', '69301-0', '28629-4', '74030-8', '29752-3', '24875-7', '51965-2', '51850-6', '24998-7', '52055-1', '52063-5', '18836-7', '28570-0', '28577-5', '11505-5', '28625-2', '52068-4', '46209-3', '55751-2', '52075-9', '55184-6', '55182-0', '55183-8', '62385-0', '11514-7', '11521-2', '11515-4', '11516-2', '11517-0', '11518-8', '11519-6', '11520-4', '44226-9', '30636-5', '18823-5', '18824-3', '18825-0', '18826-8', '19002-5', '18594-2', '52184-9', '19003-3', '19004-1', '29206-0', '25073-8', '52056-9', '25015-9', '60569-1', '55187-9', '52057-7', '52058-5', '52039-5', '52059-3', '52060-1', '52029-6', '55228-1', '18752-6', '29755-6', '11526-1', '28633-6', '11527-9', '58477-1', '11529-5', '55230-7', '11523-8', '11541-0', '29757-2', '33717-0', '18745-0', '11524-6', '18750-0', '18754-2', '18746-8', '18753-4', '29756-4', '18744-3', '18759-1', '38269-7', '18756-7', '17787-3', '55229-9', '18751-8', '18742-7', '33716-2', '18748-4', '18749-2', '33719-6', '29754-9', '52038-7', '52061-9', '28583-3', '28573-4', '60568-3', '52069-2', '11534-5', '46213-5', '28630-2', '52062-7', '28651-8', '28616-1', '69409-1', '24783-3', '25065-4', '25068-8', '43471-2', '25066-2', '25067-0', '43472-0', '42702-1', '42703-9', '36550-2', '36551-0', '69307-7', '69314-3', '46335-6', '46336-4', '46337-2', '46338-0', '36564-3', '69311-9', '69319-2', '36554-4', '42699-9', '36555-1', '36556-9', '69308-5', '69315-0', '42153-7', '36559-3', '36560-1', '37689-7', '36561-9', '69309-3', '69316-8', '36563-5', '69310-1', '69318-4', '24761-9', '26400-2', '26401-0', '26402-8', '36565-0', '69312-7', '69320-0', '36566-8', '36567-6', '37741-6', '36557-7', '36558-5', '37764-8', '37614-5', '69152-7', '69260-8', '37616-0', '69317-6', '42313-7', '42314-5', '37654-1', '30748-8', '36568-4', '36569-2', '37792-9', '37851-3', '24917-7', '48695-1', '37875-2', '24940-9', '30773-6', '37904-0', '38121-0', '69313-5', '69321-8', '37894-3', '37924-8', '42419-2', '36570-0', '37825-7', '30642-3', '30787-6', '44176-6', '41775-8', '30749-6', '30722-3', '30724-9', '30774-4', '70932-9', '25063-9', '69268-1', '49510-1', '49509-3', '24715-5', '37513-9', '37514-7', '38806-6', '37467-8', '37468-6', '42431-7', '69079-2', '37469-4', '37470-2', '38803-3', '24799-9', '36583-3', '37662-4', '36571-8', '36572-6', '36573-4', '36575-9', '36576-7', '36577-5', '36578-3', '36579-1', '36580-9', '36581-7', '36582-5', '37726-7', '36584-1', '36585-8', '48462-6', '48463-4', '36574-2', '42439-0', '37622-8', '39050-0', '36958-7', '36959-5', '37783-8', '39048-4', '37842-2', '36586-6', '36587-4', '37798-6', '69269-9', '37877-8', '30725-6', '24948-2', '30777-7', '30752-0', '39049-2', '37880-2', '37890-1', '37897-6', '39402-3', '37634-3', '30734-8', '30735-5', '24561-3', '24637-1', '24560-5', '24636-3', '36588-2', '36589-0', '30727-2', '30729-8', '30755-3', '24563-9', '43466-2', '24652-0', '43778-0', '24564-7', '36960-3', '24807-0', '26358-2', '26359-0', '26360-8', '44177-4', '38849-6', '37733-3', '42420-0', '42378-0', '39410-6', '42379-8', '39411-4', '24723-9', '26355-8', '26356-6', '26357-4', '42395-4', '42396-2', '36962-9', '37849-7', '36963-7', '36964-5', '37800-0', '36965-2', '37471-0', '37472-8', '38804-1', '36966-0', '36967-8', '38775-3', '37928-9', '37857-0', '69132-9', '69141-0', '39514-5', '37625-1', '37650-9', '65799-9', '65800-5', '65801-3', '37297-9', '39149-0', '36973-6', '37843-0', '36974-4', '37801-8', '37844-8', '37035-3', '37473-6', '38805-8', '36975-1', '36977-7', '38776-1', '36976-9', '36978-5', '37628-5', '36979-3', '36980-1', '38777-9', '36981-9', '36982-7', '36983-5', '37732-5', '36620-3', '36591-6', '36592-4', '39051-8', '36593-2', '36594-0', '36595-7', '36596-5', '36597-3', '36598-1', '37703-6', '36599-9', '36600-5', '36601-3', '37712-7', '36602-1', '36603-9', '37730-9', '36604-7', '36605-4', '36606-2', '37751-5', '24843-5', '37629-3', '39053-4', '38857-9', '37784-6', '37858-8', '24920-1', '39052-6', '24943-3', '24969-8', '30756-1', '37891-9', '37893-5', '37930-5', '36984-3', '36985-0', '36986-8', '36987-6', '37727-5', '36988-4', '37872-9', '37878-6', '36989-2', '36990-0', '37903-2', '36991-8', '36992-6', '30786-8', '36993-4', '36994-2', '37729-1', '37626-9', '36999-1', '37000-7', '37750-7', '37909-9', '41774-1', '30757-9', '37515-4', '37516-2', '38066-7', '38819-9', '37001-5', '37002-3', '37754-9', '42442-4', '37003-1', '37910-7', '36997-5', '36971-0', '37833-1', '36998-3', '36972-8', '37834-9', '37004-9', '36995-9', '30737-1', '30738-9', '24639-7', '24638-9', '37008-0', '37009-8', '24641-3', '24640-5', '38069-1', '37005-6', '37773-9', '42441-6', '24801-3', '26283-2', '26284-0', '26285-7', '37006-4', '37007-2', '37475-1', '37671-5', '38067-5', '36607-0', '36609-6', '36610-4', '36611-2', '36612-0', '36613-8', '36614-6', '36615-3', '37704-4', '36616-1', '36617-9', '36618-7', '42689-0', '30778-5', '30758-7', '37892-7', '44178-2', '37545-1', '37728-3', '30759-5', '37631-9', '37845-5', '37012-2', '37013-0', '37802-6', '36621-1', '36622-9', '36623-7', '37714-3', '69270-7', '37931-3', '36624-5', '37015-5', '24648-8', '37014-8', '37755-6', '37477-7', '37476-9', '39324-9', '69263-2', '24828-6', '24871-6', '37998-2', '37999-0', '38000-6', '38006-3', '38068-3', '36996-7', '37010-6', '37011-4', '37018-9', '37020-5', '37019-7', '37752-3', '39323-1', '49511-9', '24699-1', '26178-4', '26179-2', '26180-0', '42812-8', '42813-6', '42814-4', '42811-0', '44206-1', '30714-0', '42426-7', '37659-0', '42428-3', '42429-1', '42427-5', '37660-8', '37846-3', '37298-7', '37299-5', '37808-3', '43671-7', '42471-3', '42474-7', '39516-0', '37024-7', '37025-4', '37791-1', '39517-8', '37861-2', '37026-2', '43780-6', '37027-0', '43779-8', '69256-6', '69239-2', '69069-3', '69064-4', '69149-3', '42432-5', '24944-1', '37028-8', '37029-6', '37030-4', '37770-5', '37870-3', '24668-6', '37031-2', '37032-0', '37033-8', '38007-1', '37034-6', '38779-5', '37300-1', '37037-9', '37038-7', '38855-3', '37771-3', '37039-5', '37040-3', '38772-0', '30790-0', '37041-1', '37042-9', '37761-4', '38842-1', '37677-2', '37043-7', '37756-4', '37044-5', '37645-9', '37045-2', '37046-0', '37047-8', '37048-6', '38780-3', '37049-4', '37613-7', '37863-8', '24921-9', '42473-9', '38117-8', '30751-2', '37050-2', '37051-0', '37809-1', '42680-9', '37052-8', '37053-6', '37772-1', '37656-6', '37055-1', '37054-4', '37790-3', '37847-1', '38858-7', '37805-9', '37848-9', '37056-9', '37057-7', '37810-9', '41793-1', '41790-7', '24656-1', '39047-6', '38065-9', '38818-1', '42008-3', '24893-0', '37058-5', '37059-3', '37207-8', '37731-7', '44205-3', '38850-4', '37734-1', '37633-5', '39144-1', '41795-6', '69302-8', '36968-6', '30639-9', '42470-5', '30809-8', '42469-7', '38001-4', '38002-2', '37060-1', '37636-8', '46341-4', '24535-7', '26133-9', '26134-7', '26135-4', '24536-5', '26136-2', '26137-0', '26138-8', '24541-5', '26097-6', '26098-4', '51395-2', '26099-2', '51394-5', '36625-2', '46342-2', '38070-9', '38071-7', '38072-5', '38820-7', '46380-2', '24597-7', '38079-0', '38080-8', '38821-5', '36626-0', '36627-8', '37774-7', '46339-8', '24612-4', '26100-8', '26101-6', '26102-4', '30745-4', '30631-6', '42269-1', '24664-5', '26106-5', '26107-3', '26108-1', '30883-3', '24676-9', '26109-9', '26110-7', '26111-5', '46381-0', '37637-6', '24695-9', '37303-5', '24704-9', '26118-0', '26120-6', '26122-2', '24706-4', '26124-8', '30783-5', '37517-0', '37518-8', '38147-5', '30782-7', '37519-6', '37520-4', '38146-7', '26125-5', '26126-3', '30780-1', '37521-2', '37522-0', '38144-2', '30781-9', '37523-8', '37524-6', '38145-9', '24709-8', '26127-1', '26128-9', '26129-7', '42399-6', '42400-2', '43641-0', '42434-1', '37532-9', '37533-7', '38152-5', '28582-5', '36629-4', '36630-2', '37716-8', '24752-8', '24762-7', '26130-5', '26131-3', '26132-1', '28567-6', '37319-1', '37321-7', '37320-9', '38797-7', '37062-7', '36632-8', '37738-2', '36628-6', '28565-0', '36635-1', '36636-9', '37758-0', '48465-9', '24686-8', '26112-3', '26113-1', '26114-9', '24829-4', '48745-4', '43533-9', '24830-2', '26139-6', '26140-4', '26141-2', '36637-7', '24834-4', '37639-2', '37332-4', '38798-5', '24846-8', '26142-0', '26143-8', '26144-6', '36886-0', '24854-2', '36887-8', '38774-6', '43529-7', '24855-9', '30791-8', '36638-5', '36639-3', '37777-0', '28561-9', '30885-8', '30767-8', '30768-6', '36631-0', '38771-2', '47984-0', '24745-2', '26146-1', '26148-7', '26150-3', '24891-4', '24899-7', '37937-0', '38073-3', '38074-1', '37963-6', '38868-6', '37962-8', '26151-1', '69071-9', '26152-9', '39326-4', '38866-0', '39489-0', '42381-4', '39493-2', '37960-2', '37938-8', '39352-0', '38869-4', '37964-4', '26153-7', '39351-2', '39491-6', '38867-8', '39353-8', '39492-4', '37961-0', '24900-3', '36633-6', '36634-4', '37786-1', '30884-1', '24665-2', '39058-3', '24903-7', '26154-5', '26155-2', '26156-0', '42159-4', '24909-4', '26157-8', '26158-6', '26159-4', '42160-2', '24911-0', '24916-9', '28564-3', '48697-7', '37338-1', '28613-8', '24946-6', '36640-1', '43538-8', '37481-9', '38008-9', '43781-4', '24972-2', '43536-2', '24975-5', '37340-7', '37341-5', '37342-3', '46340-6', '24983-9', '42692-4', '37975-0', '37323-3', '37324-1', '37965-1', '24993-8', '24994-6', '72876-6', '25000-1', '37325-8', '30889-0', '30890-8', '25006-8', '26160-2', '26161-0', '26162-8', '26163-6', '26164-4', '26165-1', '25011-8', '37530-3', '38151-7', '37531-1', '38150-9', '37534-5', '38148-3', '37535-2', '38149-1', '25013-4', '26166-9', '26167-7', '26168-5', '44238-4', '48464-2', '24689-2', '26115-6', '26116-4', '26117-2', '24619-9', '26169-3', '26170-1', '51392-9', '26171-9', '51388-7', '43468-8', '49512-7', '25074-6', '26172-7', '26173-5', '26174-3', '51387-9', '39370-2', '30635-7', '42162-8', '39400-7', '69131-1', '69140-2', '39513-7', '39360-3', '69059-4', '69139-4', '39377-7', '37583-2', '39372-8', '39373-6', '39390-0', '39511-1', '39376-9', '42164-4', '42163-6', '39414-8', '39398-3', '69056-0', '41811-1', '41832-7', '42010-9', '42165-1', '46389-3', '39391-8', '39412-2', '69148-5', '39389-2', '30694-4', '42271-7', '60527-9', '25008-4', '69236-8', '43672-5', '44147-7', '42405-1', '42401-0', '42411-9', '39392-6', '44199-8', '44198-0', '47373-6', '47375-1', '43521-4', '47983-2', '48489-9', '48488-1', '43522-2', '48467-5', '43523-0', '44202-0', '44201-2', '36641-9', '37064-3', '37664-0', '36665-8', '37661-6', '24540-7', '26385-5', '26386-3', '26387-1', '36642-7', '37768-9', '36661-7', '48433-7', '36662-5', '37718-4', '36643-5', '36644-3', '36645-0', '36646-8', '37679-8', '36647-6', '36648-4', '36649-2', '36650-0', '37681-4', '36652-6', '36653-4', '36654-2', '37690-5', '36655-9', '36656-7', '37694-7', '30784-3', '36657-5', '38846-2', '37697-0', '24721-3', '26388-9', '26389-7', '26390-5', '36663-3', '69058-6', '36664-1', '37721-8', '24765-0', '26391-3', '26392-1', '26393-9', '24806-2', '26394-7', '26395-4', '26396-2', '36651-8', '69257-4', '24861-7', '26397-0', '26398-8', '26399-6', '37617-8', '42685-8', '42686-6', '36659-1', '36660-9', '37707-7', '36658-3', '39060-9', '42687-4', '37066-8', '37780-4', '37651-7', '44179-0', '37655-8', '36666-6', '37787-9', '42435-8', '37840-6', '36667-4', '36668-2', '37793-7', '37853-9', '37867-9', '37879-4', '36669-0', '43784-8', '36670-8', '37905-7', '24984-7', '69273-1', '37883-6', '36671-6', '36672-4', '37815-8', '37895-0', '37902-4', '37348-0', '36673-2', '37821-6', '37922-2', '37925-5', '37482-7', '37483-5', '37826-5', '69305-1', '42430-9', '42009-1', '39378-5', '48468-3', '43467-0', '69060-2', '69142-8', '39379-3', '39380-1', '69061-0', '41819-4', '39381-9', '69143-6', '39382-7', '38118-6', '38844-7', '37686-3', '38871-0', '38108-7', '38874-4', '38114-5', '44181-6', '43539-6', '48469-1', '39880-0', '44184-0', '44182-4', '44183-2', '36674-0', '37658-2', '38843-9', '37678-0', '42166-9', '38841-3', '37675-6', '37068-4', '37069-2', '37698-8', '36945-4', '38851-2', '37762-2', '36946-2', '69274-9', '38840-5', '37672-3', '37067-6', '36293-9', '37635-0', '36294-7', '36295-4', '36296-2', '37665-7', '36298-8', '36299-6', '36300-2', '36301-0', '37682-2', '36297-0', '36302-8', '36303-6', '36304-4', '37695-4', '36305-1', '36306-9', '36307-7', '37699-6', '24722-1', '26379-8', '26380-6', '26381-4', '36308-5', '36309-3', '37722-6', '30788-4', '36310-1', '36311-9', '37742-4', '36312-7', '36838-1', '48470-9', '48471-7', '37604-6', '69261-6', '30766-0', '37256-5', '39062-5', '36313-5', '36314-3', '37781-2', '37648-3', '39061-7', '24908-6', '26382-2', '26383-0', '26384-8', '37854-7', '24918-5', '24941-7', '30775-1', '37257-3', '37259-9', '37260-7', '37261-5', '37906-5', '37881-0', '37888-5', '36315-0', '37812-5', '36316-8', '37820-8', '37926-3', '37454-6', '48738-9', '37455-3', '37827-3', '48737-1', '37933-9', '69154-3', '39393-4', '39399-1', '39364-5', '39404-9', '39383-5', '48472-5', '39365-2', '69155-0', '39394-2', '43499-3', '43483-7', '39901-4', '39902-2', '39882-6', '39883-4', '30776-9', '69151-9', '24778-3', '69138-6', '69254-1', '36947-0', '36948-8', '37700-2', '36949-6', '42443-2', '36317-6', '36319-2', '36320-0', '36321-8', '36322-6', '36323-4', '37683-0', '36318-4', '36324-2', '37691-3', '30789-2', '36325-9', '36326-7', '37743-2', '36327-5', '43534-7', '43535-4', '36839-9', '37609-5', '37612-9', '36328-3', '69265-7', '36329-1', '36330-9', '37794-5', '37855-4', '37868-7', '37876-0', '36331-7', '36332-5', '48473-3', '37907-3', '37882-8', '38155-8', '37070-0', '37071-8', '37828-1', '37934-7', '69144-4', '39384-3', '39385-0', '39413-0', '39099-7', '69063-6', '39387-6', '69145-1', '39386-8', '69062-8', '38852-0', '37763-0', '36675-7', '36676-5', '37744-0', '36890-2', '37351-4', '30750-4', '36677-3', '37795-2', '37856-2', '24922-7', '24939-1', '30797-5', '37353-0', '37355-5', '37356-3', '37357-1', '37350-6', '37072-6', '37829-9', '39407-2', '69081-8', '37073-4', '69080-0', '39063-3', '42273-3', '36678-1', '36679-9', '37796-0', '42691-6', '38156-6', '37074-2', '37830-7', '36680-7', '36681-5', '36682-3', '36683-1', '37831-5', '42412-7', '39064-1', '69070-1', '38856-1', '37782-0', '24796-5', '24792-4', '24653-8', '24654-6', '37080-9', '37081-7', '37082-5', '38781-1', '39339-7', '37083-3', '38782-9', '37126-0', '37084-1', '38783-7', '39512-9', '39401-5', '69153-5', '69262-4', '37618-6', '37623-6', '39065-8', '37619-4', '24794-0', '30779-3', '36684-9', '36685-6', '37667-3', '36686-4', '36701-1', '37719-2', '36687-2', '39066-6', '36688-0', '36689-8', '36690-6', '36691-4', '37684-8', '36693-0', '36694-8', '36695-5', '37692-1', '39069-0', '36696-3', '36697-1', '37701-0', '42409-3', '69130-3', '48474-1', '38847-0', '37710-1', '36702-9', '36703-7', '36704-5', '37725-9', '36706-0', '36707-8', '36708-6', '37736-6', '36709-4', '36590-8', '36710-2', '37745-7', '36692-2', '69258-2', '36711-0', '42438-2', '36712-8', '36713-6', '37776-2', '37620-2', '36705-2', '36699-7', '36700-3', '37708-5', '36698-9', '37652-5', '36714-4', '36715-1', '37788-7', '37841-4', '36716-9', '24919-3', '24928-4', '24942-5', '37361-3', '39067-4', '43785-5', '24970-6', '30753-8', '38123-6', '37974-3', '37889-3', '36717-7', '36718-5', '37816-6', '37896-8', '36719-3', '37822-4', '30793-4', '38860-3', '37832-3', '37839-8', '39070-8', '42404-4', '39071-6', '37095-7', '37096-5', '37097-3', '37666-5', '39072-4', '36720-1', '36721-9', '37668-1', '36731-8', '36722-7', '36723-5', '36724-3', '37685-5', '36725-0', '36726-8', '36727-6', '37696-2', '36728-4', '36729-2', '36730-0', '37702-8', '69057-8', '38848-8', '37711-9', '36732-6', '36733-4', '37748-1', '37624-4', '36734-2', '36735-9', '37908-1', '36736-7', '37813-3', '37927-1', '37099-9', '38083-2', '37101-3', '42410-1', '37102-1', '37118-7', '37115-3', '69137-8', '39371-0', '39334-8', '39375-1', '42417-6', '42418-4', '39369-4', '37103-9', '37079-1', '39074-0', '39073-2', '69147-7', '39388-4', '37105-4', '37106-2', '37107-0', '37108-8', '37749-9', '37109-6', '37110-4', '38786-0', '37111-2', '37116-1', '37117-9', '37740-8', '38009-7', '37112-0', '37113-8', '37114-6', '37747-3', '69065-1', '37086-6', '37087-4', '37723-4', '37090-8', '69146-9', '37089-0', '37088-2', '38784-5', '30763-7', '37077-5', '37091-6', '37092-4', '37093-2', '37724-2', '30770-2', '42167-7', '37094-0', '38785-2', '41776-6', '24793-2', '44185-7', '44186-5', '41817-8', '41777-4', '30726-4', '37078-3', '30754-6', '39330-6', '42380-6', '39368-6', '39068-2', '39331-4', '39332-2', '39374-4', '24805-4', '26364-0', '26365-7', '26366-5', '39333-0', '38084-0', '37119-5', '39076-5', '37621-0', '37649-1', '39075-7', '37098-1', '44187-3', '37100-5', '24797-3', '37120-3', '37104-7', '42011-7', '24642-1', '24808-8', '26361-6', '26362-4', '26363-2', '37121-1', '37680-6', '37122-9', '37797-8', '37485-0', '39077-3', '46349-7', '38082-4', '38822-3', '37123-7', '38787-8', '36961-1', '37799-4', '37124-5', '37789-5', '69266-5', '37125-2', '38788-6', '24562-1', '24650-4', '24649-6', '37085-8', '37076-7', '24798-1', '43463-9', '24795-7', '42019-0', '39329-8', '39328-0', '39395-9', '39321-5', '39336-3', '39335-5', '39337-1', '39344-7', '39338-9', '39397-5', '39343-9', '39348-8', '39325-6', '39346-2', '39347-0', '39396-7', '24632-2', '37075-9', '43561-0', '38003-0', '38815-7', '42406-9', '42407-7', '42445-7', '37484-3', '37746-5', '42403-6', '42408-5', '42444-0', '42446-5', '39403-1', '37127-8', '37128-6', '37807-5', '46386-9', '39884-2', '39861-0', '42709-6', '39860-2', '26352-5', '26353-3', '26354-1', '24724-7', '37362-1', '24591-0', '37996-6', '37995-8', '37997-4', '38814-0', '37486-8', '37852-1', '39859-4', '39875-0', '39840-4', '39842-0', '39874-3', '39819-8', '39741-4', '24605-8', '39152-4', '69158-4', '48475-8', '69150-1', '69259-0', '26346-7', '39154-0', '26347-5', '42169-3', '26348-3', '42168-5', '46350-5', '24604-1', '26349-1', '26350-9', '26351-7', '46351-3', '39895-8', '39887-5', '39889-1', '39885-9', '39910-5', '39912-1', '39909-7', '39908-9', '39886-7', '39890-9', '39888-3', '39867-7', '39863-6', '39866-9', '39864-4', '39865-1', '39869-3', '39868-5', '39893-3', '43644-4', '39858-6', '39636-6', '39871-9', '42261-8', '42262-6', '43653-5', '39847-9', '39899-0', '42308-7', '42263-4', '39856-0', '43500-8', '44148-5', '43642-8', '43664-2', '43643-6', '43666-7', '43663-4', '43665-9', '39870-1', '43654-3', '39685-3', '39940-2', '43787-1', '43648-5', '43649-3', '39827-1', '39828-9', '39327-2', '44208-7', '30720-7', '42311-1', '42312-9', '39768-7', '39767-9', '24997-9', '39769-5', '39892-5', '39891-7', '43646-9', '43645-1', '43647-7', '39653-1', '39657-2', '39933-7', '39830-5', '39677-0', '39490-8', '24700-7', '39686-1', '42170-1', '39672-1', '72256-1', '24571-2', '24572-0', '43788-9', '43789-7', '39673-9', '30650-6', '39665-5', '39664-8', '39848-7', '39849-5', '24876-5', '44149-3', '39954-3', '44140-2', '39831-3', '39951-9', '39934-5', '39829-7', '42171-9', '39749-7', '39679-6', '39750-5', '42305-3', '42397-0', '39923-8', '39917-0', '39919-6', '39925-3', '39931-1', '42306-1', '39929-5', '39921-2', '39924-6', '39922-0', '39920-4', '39915-4', '39928-7', '39927-9', '39914-7', '46348-9', '44210-3', '48480-8', '46390-1', '46347-1', '48481-6', '46344-8', '46345-5', '48479-0', '43492-8', '43497-7', '43491-0', '43496-9', '43489-4', '43494-4', '43490-2', '43495-1', '44188-1', '48478-2', '48477-4', '48476-6', '47370-2', '47371-0', '43498-5', '43482-9', '47381-9', '43543-8', '44189-9', '48746-2', '43486-0', '46377-8', '48482-4', '43488-6', '43493-6', '44190-7', '48483-2', '46346-3', '46343-0', '48485-7', '48486-5', '48484-0', '44191-5', '44239-2', '44193-1', '44192-3', '44211-1', '47367-8', '47374-4', '47376-9', '47379-3', '48747-0', '48487-3', '44212-9', '47382-7', '47368-6', '44194-9', '44195-6', '43524-8', '44197-2', '44196-4', '49570-5', '37160-9', '38793-6', '37158-3', '37806-7', '37161-7', '69267-3', '37538-6', '38789-4', '37157-5', '38791-0', '39350-4', '37162-5', '38794-4', '37167-4', '38795-1', '69156-8', '43790-5', '38004-8', '38816-5', '37539-4', '37540-2', '30771-0', '37627-7', '37164-1', '37864-6', '37165-8', '37166-6', '37871-1', '37134-4', '37135-1', '37670-7', '42382-2', '39366-0', '43464-7', '37603-8', '39100-3', '39101-1', '39341-3', '39406-4', '39405-6', '42436-6', '37869-5', '37605-3', '37862-0', '37136-9', '37803-4', '39340-5', '37133-6', '37132-8', '38010-5', '37929-7', '69157-6', '39515-2', '37474-4', '37669-9', '43480-3', '37541-0', '47380-1', '43470-4', '47377-7', '24610-8', '26287-3', '26289-9', '26291-5', '41826-9', '41785-7', '36737-5', '41830-1', '41789-9', '36738-3', '36893-6', '42007-5', '37646-7', '44209-5', '48466-7', '42710-4', '36739-1', '38838-9', '37642-6', '41797-2', '42335-0', '38125-1', '38120-2', '37137-7', '39687-9', '39754-7', '49571-3', '39843-8', '41836-8', '39627-5', '39822-2', '39645-7', '39695-2', '39936-0', '37542-8', '37543-6', '37554-3', '38854-6', '37769-7', '30769-4', '38086-5', '39935-2', '39949-3', '39904-8', '39907-1', '39937-8', '39950-1', '36608-8', '36740-9', '36741-7', '37687-1', '36744-1', '37737-4', '36619-5', '36745-8', '36746-6', '37757-2', '36747-4', '37630-1', '36742-5', '36743-3', '37709-3', '48748-8', '36748-2', '43791-3', '48749-6', '36749-0', '37817-4', '36894-4', '37544-4', '38839-7', '37643-4', '42398-8', '37139-3', '37154-2', '37155-9', '43469-6', '37063-5', '37546-9', '48491-5', '48490-7', '48699-3', '37152-6', '37140-1', '37804-2', '36750-8', '42272-5', '36751-6', '36752-4', '36753-2', '37713-5', '36754-0', '30721-5', '37547-7', '37548-5', '37835-6', '37143-5', '37144-3', '37145-0', '37142-7', '37860-4', '37146-8', '30741-3', '39078-1', '36755-7', '36756-5', '36757-3', '37715-0', '37884-4', '37549-3', '37550-1', '37836-4', '36758-1', '37148-4', '37147-6', '30742-1', '30743-9', '30744-7', '24643-9', '37149-2', '38790-2', '37859-6', '69271-5', '24647-0', '24644-7', '36759-9', '39079-9', '37141-9', '39519-4', '39521-0', '39520-2', '24646-2', '24645-4', '37150-0', '24635-5', '46378-6', '43660-0', '43661-8', '43658-4', '43656-8', '39719-0', '43777-2', '39722-4', '39720-8', '39728-1', '39726-5', '39727-3', '39699-4', '39701-8', '39731-5', '39735-6', '39708-3', '39709-1', '39705-9', '39707-5', '39703-4', '39702-6', '39733-1', '39941-0', '39833-9', '39716-6', '39697-8', '39730-7', '39732-3', '39715-8', '39704-2', '39714-1', '39713-3', '30765-2', '30764-5', '41823-6', '41782-4', '30746-2', '41827-7', '41786-5', '41773-3', '41818-6', '41778-2', '43570-1', '41829-3', '41788-1', '37168-2', '37169-0', '38796-9', '37170-8', '41825-1', '41784-0', '41820-2', '41779-0', '30792-6', '30772-8', '30747-0', '41831-9', '41791-5', '46391-9', '41824-4', '41783-2', '30723-1', '37171-6', '44203-8', '37172-4', '41828-5', '41787-3', '37151-8', '30731-4', '30730-6', '24634-8', '24824-5', '42402-8', '43657-6', '30733-0', '37131-0', '37138-5', '41792-3', '24651-2', '42414-3', '37016-3', '37017-1', '37775-4', '30740-5', '30739-7', '43479-5', '30838-7', '37364-7', '38799-3', '38107-9', '37304-3', '37302-7', '38115-2', '24930-0', '30715-7', '42424-2', '39367-8', '42472-1', '42425-9', '43569-3', '30716-5', '30717-3', '24929-2', '24606-6', '39153-2', '69159-2', '48492-3', '26175-0', '42174-3', '26176-8', '46355-4', '26177-6', '46354-7', '46356-2', '37022-1', '37021-3', '37023-9', '38778-7', '37551-9', '37552-7', '38807-4', '37553-5', '43550-3', '39952-7', '39676-2', '39894-1', '39896-6', '39814-9', '39634-1', '39903-0', '39817-2', '39815-6', '39824-8', '39633-3', '39853-7', '39832-1', '39878-4', '39900-6', '39855-2', '43501-6', '44150-1', '39854-5', '37153-4', '69136-0', '37163-3', '37156-7', '37759-8', '39345-4', '69255-8', '38088-1', '38087-3', '38824-9', '24579-5', '43518-0', '37365-4', '39518-6', '43519-8', '38089-9', '37159-1', '38792-8', '43796-2', '69304-4', '69303-6', '69072-7', '37555-0', '38808-2', '43532-1', '39944-4', '39948-5', '39947-7', '39946-9', '39943-6', '30697-7', '39942-8', '24888-0', '39835-4', '39836-2', '39945-1', '39837-0', '39834-7', '46361-2', '39932-9', '39873-5', '39683-8', '39698-6', '39845-3', '42711-2', '42175-0', '39818-0', '39826-3', '39669-7', '24713-0', '39660-6', '39661-4', '39663-0', '42309-5', '24750-2', '43459-7', '24577-9', '47372-8', '25070-4', '24574-6', '46352-1', '43485-2', '39150-8', '69251-7', '42415-0', '42416-8', '37201-1', '37202-9', '37203-7', '37676-4', '37205-2', '37206-0', '37720-0', '38845-4', '37693-9', '24708-0', '26094-3', '26095-0', '26096-8', '37584-0', '38810-8', '24809-6', '26085-1', '26086-9', '26087-7', '37204-5', '69264-0', '37208-6', '69275-6', '38124-4', '37899-2', '37209-4', '37823-2', '44233-5', '44232-7', '37579-0', '37580-8', '37581-6', '37663-2', '39651-5', '38090-7', '38091-5', '39059-1', '24666-0', '46357-0', '30633-2', '42683-3', '43574-3', '44227-7', '37565-9', '38092-3', '41770-9', '43650-1', '30630-8', '30824-7', '37585-7', '38853-8', '37765-5', '37615-2', '37936-2', '37640-0', '64140-7', '64141-5', '38094-9', '37973-5', '25005-0', '25014-2', '37976-8', '42014-1', '37980-0', '37981-8', '37575-8', '38101-2', '46376-0', '38100-4', '38102-0', '25030-8', '30832-0', '30831-2', '37387-8', '37939-6', '38861-1', '37941-2', '24658-7', '30837-9', '24546-4', '37366-2', '69054-5', '37380-3', '37381-1', '37587-3', '37588-1', '37589-9', '37590-7', '37591-5', '37592-3', '37593-1', '37594-9', '37382-9', '37383-7', '38800-9', '37379-5', '37384-5', '37385-2', '37386-0', '24551-4', '30828-8', '37388-6', '24581-1', '69077-6', '37389-4', '24617-3', '26079-4', '39097-1', '39094-8', '39098-9', '38863-7', '37945-3', '30821-3', '30820-5', '37390-2', '37948-7', '38864-5', '37952-9', '26080-2', '26081-0', '39095-5', '38865-2', '37953-7', '38862-9', '37944-6', '37391-0', '37392-8', '37393-6', '37943-8', '24622-3', '37403-3', '37394-4', '37173-2', '30891-6', '37174-0', '37595-6', '30848-6', '30849-4', '37395-1', '37949-5', '37175-7', '37176-5', '37397-7', '37398-5', '38801-7', '37399-3', '30822-1', '62448-6', '62449-4', '30823-9', '25076-1', '43782-2', '37177-3', '24862-5', '37178-1', '37739-0', '37179-9', '25079-5', '37487-6', '47986-5', '47987-3', '30829-6', '64995-4', '65000-2', '37401-7', '24833-6', '24860-9', '30833-8', '37935-4', '24874-0', '44240-0', '69249-1', '37181-5', '37778-8', '37404-1', '39057-5', '30830-4', '37182-3', '37779-6', '30834-6', '62446-0', '62447-8', '24925-0', '26082-8', '26083-6', '26084-4', '24992-0', '24991-2', '37886-9', '37405-8', '37406-6', '37966-9', '37180-7', '37402-5', '38119-4', '37900-8', '37489-2', '37977-6', '37396-9', '37488-4', '37967-7', '24576-1', '37979-2', '37407-4', '37490-0', '37968-5', '42156-0', '25017-5', '43559-4', '37586-5', '39054-2', '38095-6', '38096-4', '38825-6', '30810-6', '38098-0', '38099-8', '38827-2', '24845-0', '30850-2', '30851-0', '37599-8', '38812-4', '24827-8', '30839-5', '30840-3', '37597-2', '37598-0', '37596-4', '38811-6', '37600-4', '39510-3', '37601-2', '38813-2', '39148-2', '39146-6', '39145-8', '39147-4', '24661-1', '38116-0', '38097-2', '38826-4', '24902-9', '26067-9', '26068-7', '26069-5', '38153-3', '48698-5', '42460-6', '48696-9', '24912-8', '24552-2', '25016-7', '39151-6', '37183-1', '37184-9', '37185-6', '37942-0', '37186-4', '37187-2', '37188-0', '37947-9', '24764-3', '26070-3', '26071-1', '26072-9', '24800-5', '26073-7', '26074-5', '26075-2', '37647-5', '37189-8', '37190-6', '37785-3', '24910-2', '26076-0', '26077-8', '26078-6', '37901-6', '37409-0', '37410-8', '37818-2', '25034-0', '37570-9', '37571-7', '37641-8', '37191-4', '24825-2', '30813-0', '64996-2', '64997-0', '24927-6', '37192-2', '37193-0', '70933-7', '25022-5', '30811-4', '37572-5', '24947-4', '38103-8', '30808-0', '38104-6', '24974-8', '24985-4', '69066-9', '30843-7', '37602-0', '30844-5', '37940-4', '58746-9', '24569-6', '37411-6', '24573-8', '37195-5', '30819-7', '39055-9', '37412-4', '37413-2', '37950-3', '42157-8', '37416-5', '39093-0', '37421-5', '37419-9', '37197-1', '37420-7', '37954-5', '37607-9', '24788-2', '37414-0', '37196-3', '37767-1', '37574-1', '30825-4', '37422-3', '37958-6', '30852-8', '24685-0', '69250-9', '30847-8', '30846-0', '37423-1', '37959-4', '30827-0', '65803-9', '65802-1', '65804-7', '65805-4', '30826-2', '37969-3', '37970-1', '37971-9', '37972-7', '24550-6', '37415-7', '38859-5', '37824-0', '25023-3', '26064-6', '26065-3', '26066-1', '25025-8', '30845-2', '30645-6', '43554-5', '39096-3', '43783-0', '25080-3', '30816-3', '24575-3', '37200-3', '37199-7', '37198-9', '24678-5', '24712-2', '42459-8', '24924-3', '24673-6', '24681-9', '24667-8', '24894-8', '39363-7', '38105-3', '39349-6', '30761-1', '38873-6', '38113-7', '25020-9', '30841-1', '30842-9', '37566-7', '37567-5', '37568-3', '69272-3', '24780-9', '38872-8', '38112-9', '37569-1', '30647-2', '39696-0', '42161-0', '39652-3', '42383-0', '42690-8', '24945-8', '24971-4', '43481-1', '30785-0', '43461-3', '39688-7', '24679-3', '42684-1', '42681-7', '37576-6', '39850-3', '25007-6', '39841-2', '39857-8', '39624-2', '24770-0', '39846-1', '39738-0', '25032-4', '42708-8', '30736-3', '24682-7', '37556-8', '37557-6', '37558-4', '37673-1', '37559-2', '37705-1', '37560-0', '37561-8', '37562-6', '37753-1', '37563-4', '37564-2', '37814-1', '39056-7', '38093-1', '39670-5', '64051-6', '64052-4', '24826-0', '24663-7', '42158-6', '42776-5', '25031-6', '24730-4', '39643-2', '39646-5', '39650-7', '24776-7', '30877-5', '24804-7', '26088-5', '26089-3', '26090-1', '39693-7', '39694-5', '43557-8', '39897-4', '39877-6', '39629-1', '39737-2', '39739-8', '39742-2', '39619-2', '43669-1', '39747-1', '30696-9', '39751-3', '30695-1', '25018-3', '39626-7', '49118-3', '39939-4', '39671-3', '39752-1', '24773-4', '30713-2', '42413-5', '43651-9', '39820-6', '39666-3', '39667-1', '69231-9', '69232-7', '24819-5', '39744-8', '39674-7', '41771-7', '39625-9', '39745-5', '43667-5', '39753-9', '39765-3', '39642-4', '44234-3', '39766-1', '39812-3', '39630-9', '39757-0', '24831-0', '44141-0', '44142-8', '39746-3', '69233-5', '25001-9', '26091-9', '26092-7', '26093-5', '44146-9', '39689-5', '69230-1', '39764-6', '24683-5', '44145-1', '39756-2', '24714-8', '44143-6', '39690-3', '42700-5', '24751-0', '39635-8', '51389-5', '42012-5', '24669-4', '37577-4', '37578-2', '44144-4', '37582-4', '69055-2', '52073-4', '28631-0', '46242-4', '52070-0', '74282-5', '71683-7', '71685-2', '34086-9', '60555-0', '34084-4', '69761-5', '70946-9', '34091-9', '48767-8', '60556-8', '35519-8', '35517-2', '35511-5', '34066-1', '60557-6', '72135-7', '34083-6', '60684-8', '60558-4', '34090-1', '34092-7', '35528-9', '69760-7', '60559-2', '70940-2', '34070-3', '34085-1', '57826-0', '57025-9', '35524-8', '34087-7', '34089-3', '69758-1', '35521-4', '69763-1', '34068-7', '43678-2', '34074-5', '42227-9', '34073-7', '35518-0', '35523-0', '61147-5', '70943-6', '70941-0', '70944-4', '35525-5', '35510-7', '34072-9', '71743-9', '34082-8', '61146-7', '71744-7', '69719-3', '69670-8', '34069-5', '72090-4', '64123-3', '71446-9', '60685-5', '73815-3', '64124-1', '34067-9', '34076-0', '69730-0', '59845-8', '60560-0', '62387-6', '34079-4', '34075-2', '70945-1', '70939-4', '66105-8', '74045-6', '57027-5', '43679-0', '49489-8', '43680-8', '34078-6', '34080-2', '61149-1', '70942-8', '70934-5', '70948-5', '70935-2', '60561-8', '34088-5', '51941-3', '51947-0', '51948-8', '51945-4', '51944-7', '51943-9', '51942-1', '51946-2', '34081-0', '43681-6', '66106-6', '43682-4', '59772-4', '60683-0', '71681-1', '71684-5', '71686-0', '71682-9', '71687-8', '71688-6', '57026-7', '69669-0', '59769-0', '42232-9', '42228-7', '57059-8', '59774-0', '59775-7', '59770-8', '59776-5', '59771-6', '59768-2', '59773-2', '35526-3', '35522-2', '57827-8', '43683-2', '34093-5', '70938-6', '69759-9', '48779-3', '48780-1', '42231-1', '42230-3', '38056-8', '42229-5', '69718-5', '35520-6', '44425-7', '35515-6', '35514-9', '61150-9', '35527-1', '55122-6', '34077-8', '35516-4', '35513-1', '42796-3', '35512-3', '69762-3', '43684-0', '54433-8', '70936-0', '43685-7', '34071-1', '74477-1', '74479-7', '74476-3', '74480-5', '74478-9', '42566-0', '21862-8', '69764-9', '48766-0', '70949-3', '60572-5', '60573-3', '60574-1', '73983-9', '40811-2', '29112-0', '29111-2', '72169-6', '44943-9', '11206-0', '26988-6', '50081-9', '57553-0', '57552-2', '57551-4', '53347-1', '1656-8', '42855-7', '16110-9', '40818-7', '53348-9', '25561-2', '55808-0', '56611-7', '56608-3', '57493-9', '40816-1', '56602-6', '56613-3', '56609-1', '56612-5', '56603-4', '57492-1', '56556-4', '56604-2', '56610-9', '56605-9', '59987-8', '59986-0', '59985-2', '59984-5', '56555-6', '16294-1', '57491-3', '56606-7', '13480-9', '44729-2', '69799-5', '57562-1', '57561-3', '57560-5', '72510-1', '72509-3']}, 'type'=>'CodeableConcept', 'path'=>'DocumentReference.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-doc-typecodes'}}, - 'class' => {'local_name'=>'local_class', 'valid_codes'=>{'http://loinc.org'=>['11369-6', '11485-0', '11486-8', '11488-4', '11506-3', '11543-6', '15508-5', '18726-0', '18761-7', '18842-5', '26436-6', '26441-6', '26442-4', '27895-2', '27896-0', '27897-8', '27898-6', '28570-0', '28619-5', '28634-4', '29749-9', '29750-7', '29751-5', '29752-3', '34109-9', '34117-2', '34121-4', '34122-2', '34133-9', '34140-4', '34748-4', '34775-7', '47039-3', '47042-7', '47045-0', '47046-8', '47049-2', '57017-6', '57016-8', '56445-0', '53576-5', '56447-6', '18748-4', '11504-8', '57133-1']}, 'type'=>'CodeableConcept', 'path'=>'DocumentReference.class', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-doc-classcodes'}}, - 'author' => {'type'=>'Reference', 'path'=>'DocumentReference.author', 'min'=>0, 'max'=>Float::INFINITY}, - 'custodian' => {'type'=>'Reference', 'path'=>'DocumentReference.custodian', 'min'=>0, 'max'=>1}, - 'authenticator' => {'type'=>'Reference', 'path'=>'DocumentReference.authenticator', 'min'=>0, 'max'=>1}, - 'created' => {'type'=>'dateTime', 'path'=>'DocumentReference.created', 'min'=>0, 'max'=>1}, - 'indexed' => {'type'=>'instant', 'path'=>'DocumentReference.indexed', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/document-reference-status'=>['current', 'superseded', 'entered-in-error']}, 'type'=>'code', 'path'=>'DocumentReference.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/document-reference-status'}}, - 'docStatus' => {'valid_codes'=>{'http://hl7.org/fhir/composition-status'=>['preliminary', 'final', 'amended', 'entered-in-error']}, 'type'=>'CodeableConcept', 'path'=>'DocumentReference.docStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/composition-status'}}, - 'relatesTo' => {'type'=>'DocumentReference::RelatesTo', 'path'=>'DocumentReference.relatesTo', 'min'=>0, 'max'=>Float::INFINITY}, - 'description' => {'type'=>'string', 'path'=>'DocumentReference.description', 'min'=>0, 'max'=>1}, - 'securityLabel' => {'valid_codes'=>{'http://hl7.org/fhir/v3/Confidentiality'=>['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue'=>['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw'=>['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332']}, 'type'=>'CodeableConcept', 'path'=>'DocumentReference.securityLabel', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/security-labels'}}, - 'content' => {'type'=>'DocumentReference::Content', 'path'=>'DocumentReference.content', 'min'=>1, 'max'=>Float::INFINITY}, - 'context' => {'type'=>'DocumentReference::Context', 'path'=>'DocumentReference.context', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'DocumentReference.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DocumentReference.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DocumentReference.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DocumentReference.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DocumentReference.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DocumentReference.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DocumentReference.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DocumentReference.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'masterIdentifier' => { 'type' => 'Identifier', 'path' => 'DocumentReference.masterIdentifier', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'DocumentReference.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'DocumentReference.subject', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://loinc.org' => ['55107-7', '74155-3', '51851-4', '67851-6', '34744-3', '34873-0', '68552-9', '67852-4', '68471-2', '68483-7', '64058-1', '64070-6', '64053-2', '64054-0', '34862-3', '64062-3', '64078-9', '64066-4', '64060-7', '64074-8', '51849-8', '34763-3', '47039-3', '34094-3', '57830-2', '48765-2', '74152-0', '61359-6', '57055-6', '56446-8', '51848-0', '68814-3', '64064-9', '51847-2', '69981-9', '74154-6', '71230-7', '72134-0', '55108-5', '73568-8', '74144-7', '55109-3', '34095-0', '34096-8', '63485-7', '55110-1', '34098-4', '34097-6', '47040-1', '47041-9', '59284-0', '11488-4', '34099-2', '34756-7', '34758-3', '34760-9', '34879-7', '34761-7', '34764-1', '34776-5', '34779-9', '34781-5', '72555-6', '34783-1', '34785-6', '34795-5', '34798-9', '34797-1', '34800-3', '34777-3', '34803-7', '34855-7', '34805-2', '34807-8', '34810-2', '34812-8', '34814-4', '34816-9', '34820-1', '34822-7', '34824-3', '34826-8', '34828-4', '34788-0', '34791-4', '34103-2', '34831-8', '73575-3', '34833-4', '34837-5', '34839-1', '34841-7', '34845-8', '34847-4', '34849-0', '34851-6', '34853-2', '51846-4', '34104-0', '68619-6', '68633-7', '68639-4', '68486-0', '68648-5', '68651-9', '68661-8', '64072-2', '68551-1', '68670-9', '64056-5', '68681-6', '68685-7', '68694-9', '68705-3', '68566-9', '68570-1', '68575-0', '68716-0', '68469-6', '68727-7', '68892-9', '68897-8', '68746-7', '68757-4', '68765-7', '68869-7', '68874-7', '68787-1', '68879-6', '68802-8', '68864-8', '68812-7', '68821-8', '68586-7', '68590-9', '68597-4', '68837-4', '34102-4', '64080-5', '68846-5', '64068-0', '64076-3', '68852-3', '34100-8', '51854-8', '51845-6', '34749-2', '34101-6', '47042-7', '34864-9', '34869-8', '34865-6', '34866-4', '34872-2', '55111-9', '74148-8', '64297-5', '74208-0', '51899-3', '74150-4', '74151-2', '47048-4', '70004-7', '68611-3', '68625-3', '68635-2', '68641-0', '68652-7', '68673-3', '68687-3', '68556-0', '68696-4', '68557-8', '68577-6', '68708-7', '68718-6', '68748-3', '68767-3', '68778-0', '68794-7', '68855-6', '68804-4', '68604-8', '68640-2', '68706-1', '68788-9', '68822-6', '74213-0', '60280-5', '8653-8', '18842-5', '68612-1', '68626-1', '68642-8', '68653-5', '68663-4', '68674-1', '68688-1', '68697-2', '34745-0', '68558-6', '68572-7', '68578-4', '68709-5', '68719-4', '68733-5', '68738-4', '68749-1', '68768-1', '68773-1', '68779-8', '68795-4', '68856-4', '68805-1', '68815-0', '68591-7', '68831-7', '59259-2', '68841-6', '59258-4', '34105-7', '68823-4', '34106-5', '55112-7', '34895-3', '34897-9', '67854-0', '68477-9', '68605-5', '67855-7', '34902-7', '34107-3', '34856-5', '34859-9', '34860-7', '70005-4', '64142-3', '34857-3', '72267-8', '47420-5', '47043-5', '34787-2', '34790-6', '34793-0', '34843-3', '34114-9', '64290-0', '64291-8', '57024-2', '64289-2', '51897-7', '56444-3', '74146-2', '34117-2', '68614-7', '68622-0', '68628-7', '68637-8', '68644-4', '68655-0', '68665-9', '68676-6', '68683-2', '68690-7', '68699-8', '68560-2', '68573-5', '68580-0', '68711-1', '68721-0', '68731-9', '68735-0', '68740-0', '68751-7', '68760-8', '68770-7', '68775-6', '68781-4', '68791-3', '68797-0', '68858-0', '68807-7', '68817-6', '28626-0', '68592-5', '68833-3', '68599-0', '68843-2', '34774-0', '68849-9', '11492-6', '34115-6', '68825-9', '67856-5', '34116-4', '74264-3', '74149-6', '28636-9', '28581-7', '68553-7', '18740-1', '47044-3', '64065-6', '68470-4', '34119-8', '34120-6', '34118-0', '74209-8', '74188-4', '74194-2', '74191-8', '74190-0', '74193-4', '74192-6', '74197-5', '74187-6', '74196-7', '74195-9', '74189-2', '34121-4', '34896-1', '34899-5', '55113-5', '57056-4', '57057-2', '64299-1', '51852-2', '68684-0', '68866-3', '68593-3', '68609-7', '68620-4', '68624-6', '68634-5', '68649-3', '68662-6', '68671-7', '68555-2', '68682-4', '68686-5', '68695-6', '68707-9', '68567-7', '68571-9', '68576-8', '68585-9', '68717-8', '68728-5', '68893-7', '68898-6', '68747-5', '68758-2', '68766-5', '68870-5', '68875-4', '68789-7', '68880-4', '68803-6', '68865-5', '68813-5', '68826-7', '68598-2', '68838-2', '68847-3', '68853-1', '57058-0', '64285-0', '60590-7', '60593-1', '70006-2', '68587-5', '61357-0', '61356-2', '56445-0', '74145-4', '74147-0', '59268-3', '34109-9', '68615-4', '68621-2', '68629-5', '34750-0', '68636-0', '34752-6', '68645-1', '68650-1', '68656-8', '34754-2', '28618-7', '34759-1', '68666-7', '34861-5', '34878-9', '34898-7', '34762-5', '34765-8', '34767-4', '34768-2', '34769-0', '34780-7', '34782-3', '34794-8', '34784-9', '34786-4', '68677-4', '34796-3', '34799-7', '34905-0', '68700-4', '34746-8', '34801-1', '34778-1', '34802-9', '28578-3', '34806-0', '34808-6', '34811-0', '34813-6', '34815-1', '34817-7', '34858-1', '34906-8', '51855-5', '68722-8', '68889-5', '68894-5', '68741-8', '68752-5', '68761-6', '68867-1', '68871-3', '68782-2', '68854-9', '68876-2', '68881-2', '68859-8', '68882-0', '68818-4', '34821-9', '34823-5', '28579-1', '34827-6', '34829-2', '68834-1', '28628-6', '34792-2', '34830-0', '34832-6', '34834-2', '68839-0', '34838-3', '34840-9', '28653-4', '28571-8', '34846-6', '34848-2', '34773-2', '68848-1', '34852-4', '34111-5', '57053-1', '34112-3', '64069-8', '68827-5', '64077-1', '64073-0', '34113-1', '34108-1', '34753-4', '34110-7', '34766-6', '68601-4', '34850-8', '34854-0', '68672-5', '34748-4', '34139-6', '34844-1', '74166-0', '74156-1', '64300-7', '60591-5', '60592-3', '57834-4', '48768-6', '53576-5', '64296-7', '72170-4', '56447-6', '64295-9', '51900-9', '67860-7', '67861-5', '34875-5', '34880-5', '68610-5', '68606-3', '34867-2', '64298-3', '74207-2', '67862-3', '68616-2', '68623-8', '34751-8', '68638-6', '68657-6', '68550-3', '68678-2', '68691-5', '68701-2', '34747-6', '68562-8', '34809-4', '68581-8', '68713-7', '68723-6', '68732-7', '68736-8', '68742-6', '68753-3', '68762-4', '68771-5', '68776-4', '68783-0', '68792-1', '68798-8', '68860-6', '68808-5', '68819-2', '68594-1', '68835-8', '68844-0', '34876-3', '34881-3', '68850-7', '34123-0', '68828-3', '57832-8', '64288-4', '57829-4', '57833-6', '57831-0', '57828-6', '73709-8', '55114-3', '57017-6', '57016-8', '64293-4', '68630-3', '68658-4', '68667-5', '68692-3', '68702-0', '68563-6', '68714-5', '68724-4', '68890-3', '68895-2', '68743-4', '68754-1', '68868-9', '68872-1', '68784-8', '68877-0', '68799-6', '68861-4', '68809-3', '68820-0', '68836-6', '68851-5', '68729-3', '68829-1', '68607-1', '11506-3', '68617-0', '68631-1', '68646-9', '28580-9', '68659-2', '28617-9', '68668-3', '34900-1', '68554-5', '72556-4', '34904-3', '68679-0', '68693-1', '68703-8', '28623-7', '28575-9', '68564-4', '11507-1', '68574-3', '68582-6', '68725-1', '68891-1', '68896-0', '68744-2', '68755-8', '68763-2', '68873-9', '68785-5', '68878-8', '68800-2', '68862-2', '68810-1', '11508-9', '18733-6', '28569-2', '68595-8', '11509-7', '28627-8', '11510-5', '68840-8', '28656-7', '11512-1', '15507-7', '34130-5', '68472-0', '68485-2', '68484-5', '64059-9', '64071-4', '68473-8', '64055-7', '68475-3', '68830-9', '64063-1', '64079-7', '68478-7', '68479-5', '64057-3', '64067-2', '68480-3', '64061-5', '64075-5', '68481-1', '70238-1', '34126-3', '34131-3', '34124-8', '34128-9', '34127-1', '34901-9', '34132-1', '34129-7', '34125-5', '74468-0', '74465-6', '73569-6', '64294-2', '64284-3', '57133-1', '57170-3', '57178-6', '57134-9', '57135-6', '57136-4', '57137-2', '69438-0', '57138-0', '57139-8', '57171-1', '57172-9', '57141-4', '57142-2', '57143-0', '57144-8', '57146-3', '57145-5', '57173-7', '57179-4', '57147-1', '57148-9', '57149-7', '57150-5', '57151-3', '57174-5', '57175-2', '57176-0', '57152-1', '57153-9', '57154-7', '57155-4', '57156-2', '57157-0', '57158-8', '57177-8', '57159-6', '57160-4', '57162-0', '57163-8', '57164-6', '57165-3', '57166-1', '57167-9', '57168-7', '57169-5', '64292-6', '55115-0', '70007-0', '68476-1', '68474-6', '71482-4', '51898-5', '74153-8', '59282-4', '47045-0', '68608-9', '61143-4', '68602-2', '68603-0', '47046-8', '34133-9', '74211-4', '48764-5', '47047-6', '67865-6', '34135-4', '34136-2', '34134-7', '61358-8', '11504-8', '34868-0', '34818-5', '34870-6', '28624-5', '34874-8', '34877-1', '34137-0', '34138-8', '18761-7', '68618-8', '68632-9', '68647-7', '68660-0', '34755-9', '68669-1', '34770-8', '68680-8', '68704-6', '68565-1', '68569-3', '68887-9', '68583-4', '68715-2', '68726-9', '68737-6', '68745-9', '68756-6', '68764-0', '68772-3', '68777-2', '68786-3', '68793-9', '68801-0', '68863-0', '68811-9', '68883-8', '68596-6', '68482-9', '68884-6', '59281-6', '74198-3', '54094-8', '57054-9', '38932-0', '38933-8', '38934-6', '38936-1', '38937-9', '38938-7', '38939-5', '38940-3', '38941-1', '38942-9', '38943-7', '38944-5', '38956-9', '38946-0', '38949-4', '38950-2', '38966-8', '38951-0', '38952-8', '38953-6', '38954-4', '38969-2', '38955-1', '38957-7', '38958-5', '38959-3', '38960-1', '38961-9', '38962-7', '38963-5', '38964-3', '38965-0', '38967-6', '38968-4', '38947-8', '38935-3', '38945-2', '38948-6', '38972-6', '38980-9', '38970-0', '38971-8', '38973-4', '38979-1', '38974-2', '38975-9', '38976-7', '38977-5', '38978-3', '38981-7', '38982-5', '38983-3', '38984-1', '38985-8', '38986-6', '38987-4', '38988-2', '59283-2', '52027-0', '24754-4', '26376-4', '26377-2', '26378-0', '53243-2', '11485-0', '30649-8', '30641-5', '36760-7', '36762-3', '69067-7', '24543-1', '24580-3', '26368-1', '26369-9', '24614-0', '24615-7', '35881-2', '24698-3', '36763-1', '24766-8', '26370-7', '26371-5', '26372-3', '24832-8', '30648-0', '25081-1', '25012-6', '26373-1', '26374-9', '26375-6', '43793-9', '43794-7', '43795-4', '43792-1', '25064-7', '30836-1', '37426-4', '30640-7', '35882-0', '52032-0', '36764-9', '69135-2', '69253-3', '36765-6', '35883-8', '36766-4', '24568-8', '28615-3', '52065-0', '18743-5', '36761-5', '33720-4', '52041-1', '38268-9', '43562-8', '43563-6', '48807-2', '24631-4', '53242-4', '54095-5', '11486-8', '71428-7', '71421-2', '71388-3', '71406-3', '25062-1', '24611-6', '60570-9', '60571-7', '52042-9', '25038-1', '29751-5', '50007-4', '47523-6', '47530-1', '47521-0', '50971-1', '47528-5', '47527-7', '47522-8', '47520-2', '47524-4', '47529-3', '33718-8', '47525-1', '47526-9', '52040-3', '29749-9', '28622-9', '28574-2', '29761-4', '11490-0', '28655-9', '53245-7', '53247-3', '24684-3', '24887-2', '24553-0', '24554-8', '52071-8', '67796-3', '52043-7', '30600-1', '24923-5', '52030-4', '52031-2', '52044-5', '29272-2', '52064-3', '57129-9', '52045-2', '52033-8', '51969-4', '46365-3', '44228-5', '44156-8', '44101-4', '44155-0', '58747-7', '58743-6', '35884-6', '42280-8', '42705-4', '42281-6', '42285-7', '44167-5', '42282-4', '42133-9', '39361-1', '69120-4', '69122-0', '42286-5', '44168-3', '44169-1', '42284-0', '69123-8', '43502-4', '44166-7', '30578-9', '39451-0', '35885-3', '39620-0', '39623-4', '39622-6', '39621-8', '72533-3', '72532-5', '24623-1', '42688-2', '35886-1', '24598-5', '43756-6', '69278-0', '69292-1', '69296-2', '35888-7', '24771-8', '48434-5', '24811-2', '24822-9', '69287-1', '24837-7', '39452-8', '24856-7', '24863-3', '30703-3', '37491-8', '24662-9', '37887-7', '24973-0', '42134-7', '25043-1', '30878-3', '36926-4', '37210-2', '69306-9', '24594-4', '69192-3', '30653-0', '26343-4', '38012-1', '26344-2', '42450-7', '26345-9', '42458-0', '38126-9', '69121-2', '38133-5', '42447-3', '35887-9', '30698-5', '24671-0', '25042-3', '25041-5', '46281-2', '46282-0', '30602-7', '44107-1', '44108-9', '46387-7', '44160-0', '46284-6', '38026-1', '46283-8', '38033-7', '38135-0', '44221-0', '43757-4', '44159-2', '44217-8', '30608-4', '30603-5', '44158-4', '44220-2', '30595-3', '44103-0', '44219-4', '44104-8', '44105-5', '30605-0', '44157-6', '44218-6', '30606-8', '44106-3', '38017-0', '30610-0', '38136-8', '69124-6', '38019-6', '44216-0', '30580-5', '38018-8', '44215-2', '24755-1', '26298-0', '26299-8', '26300-4', '30601-9', '37913-1', '35890-3', '44117-0', '44162-6', '36767-2', '35891-1', '69076-8', '37211-0', '35893-7', '24602-5', '37914-9', '26337-6', '69169-1', '37912-3', '26338-4', '69203-8', '42449-9', '26339-2', '69213-7', '42457-2', '35895-2', '37915-6', '35894-5', '37492-6', '42333-5', '43567-7', '43565-1', '44109-7', '42463-0', '37212-8', '69387-9', '36927-2', '35892-9', '42136-2', '42279-0', '24772-6', '35899-4', '38766-2', '30607-6', '26340-0', '26341-8', '26342-6', '24812-0', '24816-1', '35900-0', '38765-4', '35896-0', '24823-7', '44161-8', '30634-0', '35901-8', '39522-8', '37213-6', '42137-0', '36768-0', '37917-2', '24838-5', '37918-0', '30604-3', '37919-8', '35902-6', '24864-1', '69074-3', '35903-4', '24883-1', '41802-0', '35898-6', '37920-6', '69075-0', '38132-7', '69396-0', '24986-2', '35904-2', '35905-9', '35906-7', '30609-2', '35907-5', '42265-9', '42135-4', '38154-1', '43797-0', '43564-4', '37214-4', '35908-3', '25009-2', '35897-8', '25044-9', '25059-7', '25069-6', '24670-2', '30651-4', '24813-8', '69279-8', '46285-3', '38024-6', '69073-5', '42448-1', '30652-2', '42288-1', '69224-4', '46367-9', '46368-7', '46286-1', '38028-7', '41803-8', '43462-1', '43447-2', '69290-5', '38029-5', '69225-1', '69099-0', '44171-7', '69127-9', '43568-5', '42289-9', '38027-9', '69097-4', '69197-2', '44170-9', '69125-3', '42267-5', '37916-4', '69098-2', '69198-0', '69288-9', '69226-9', '46369-5', '42290-7', '69199-8', '69289-7', '69126-1', '46370-3', '69200-4', '69227-7', '46288-7', '69228-5', '69100-6', '69201-2', '69291-3', '69128-7', '43571-9', '69401-8', '38030-3', '42266-7', '69101-4', '69202-0', '38031-1', '69129-5', '46287-9', '30700-9', '44225-1', '24718-9', '35910-9', '46289-5', '35909-1', '69093-3', '42260-0', '46366-1', '46384-4', '69083-4', '35911-7', '69092-5', '69094-1', '46290-3', '35889-5', '64998-8', '64999-6', '30818-9', '30892-4', '24624-9', '26331-9', '26332-7', '26333-5', '43558-6', '36769-8', '24781-7', '46371-1', '30646-4', '69400-0', '69391-1', '38127-7', '70915-4', '70916-2', '70917-0', '24680-1', '35913-3', '42287-3', '41809-5', '35914-1', '35915-8', '36770-6', '35916-6', '69078-4', '24692-6', '26325-1', '26326-9', '26327-7', '35917-4', '69133-7', '35918-2', '24896-3', '26328-5', '26329-3', '26330-1', '35919-0', '35920-8', '42283-2', '44172-5', '35921-6', '24868-2', '41800-4', '41798-0', '35922-4', '30699-3', '43537-0', '42478-8', '46291-1', '35923-2', '46292-9', '35924-0', '46293-7', '35925-7', '43478-7', '43474-6', '43477-9', '43473-8', '43475-3', '43476-1', '72248-8', '44214-5', '30815-5', '44213-7', '58740-2', '72541-6', '72542-4', '72540-8', '35926-5', '30638-1', '24769-2', '42334-3', '42706-2', '24901-1', '35927-3', '26319-4', '26320-2', '26321-0', '48435-2', '46392-7', '37427-2', '30579-7', '24931-8', '26322-8', '26323-6', '26324-4', '70918-8', '30812-2', '37493-4', '70919-6', '30817-1', '70920-4', '30814-8', '30702-5', '72530-9', '36771-4', '37494-2', '72537-4', '72645-5', '72644-8', '72536-6', '72643-0', '72642-2', '72543-2', '72552-3', '72553-1', '72535-8', '72534-1', '48735-5', '43759-0', '35928-1', '42296-4', '43758-2', '35929-9', '42297-2', '43760-8', '37608-7', '42701-3', '39760-4', '39759-6', '39761-2', '39953-5', '39763-8', '39762-0', '39758-8', '44110-5', '24600-9', '69068-5', '26313-7', '26314-5', '26318-6', '37921-4', '42021-6', '42020-8', '39026-0', '39028-6', '38032-9', '39027-8', '24595-1', '26315-2', '26316-0', '26317-8', '44118-8', '35930-7', '35931-5', '70921-2', '35932-3', '70922-0', '69240-0', '42139-6', '24609-0', '26334-3', '26335-0', '38023-8', '26336-8', '38025-3', '44121-2', '69245-9', '69246-7', '44204-6', '69247-5', '46372-9', '62494-0', '24621-5', '69241-8', '69242-6', '42422-6', '43444-9', '42423-4', '69243-4', '44223-6', '69244-2', '42421-8', '35933-1', '35936-4', '70923-8', '35934-9', '70924-6', '35935-6', '70925-3', '72539-0', '30643-1', '35912-5', '25028-2', '25029-0', '24613-2', '30644-9', '25077-9', '24625-6', '26310-3', '26311-1', '26312-9', '41801-2', '24716-3', '62491-6', '62492-4', '25072-0', '62450-2', '25026-6', '25027-4', '26307-9', '26308-7', '26309-5', '25024-1', '26304-6', '26305-3', '26306-1', '64993-9', '42456-4', '36772-2', '24779-1', '24782-5', '35937-2', '43487-8', '65797-3', '65798-1', '69134-5', '25078-7', '24756-9', '26301-2', '26302-0', '26303-8', '24555-5', '51391-1', '35938-0', '42140-4', '39362-9', '30637-3', '41799-8', '24995-3', '44224-4', '46373-7', '44102-2', '44222-8', '30629-0', '30581-3', '30664-7', '30582-1', '30665-4', '25053-0', '25054-8', '24537-3', '42141-2', '72549-9', '72548-1', '72547-3', '72546-5', '41810-3', '24559-7', '38142-6', '30628-2', '72538-2', '72544-0', '24885-6', '72550-7', '72551-5', '42017-4', '52790-3', '72545-7', '52791-1', '46294-5', '24996-1', '24626-4', '26295-6', '26296-4', '26297-2', '48740-5', '48736-3', '48739-7', '24570-4', '43763-2', '43761-6', '43762-4', '43764-0', '72554-9', '39138-3', '39139-1', '36936-3', '24603-3', '26292-3', '26293-1', '26294-9', '36928-0', '46296-0', '46295-2', '42433-3', '69160-0', '24585-2', '36929-8', '44122-0', '30656-3', '30800-7', '28632-8', '46264-8', '47519-4', '47245-6', '52035-3', '52036-1', '52046-0', '18841-7', '52028-8', '24655-3', '52047-8', '65806-2', '11500-6', '11495-9', '11494-2', '11496-7', '11497-5', '11498-3', '28572-6', '28621-1', '29753-1', '18734-4', '18735-1', '18736-9', '28654-2', '18763-3', '18737-7', '28635-1', '18738-5', '18739-3', '46214-3', '15508-5', '11502-2', '24717-1', '52048-6', '52049-4', '55186-1', '55185-3', '11503-0', '52037-9', '24672-8', '30632-4', '52050-2', '35990-1', '41806-1', '24556-3', '24558-9', '30762-9', '24566-2', '24531-6', '24532-4', '44115-4', '36781-3', '30864-3', '36791-2', '24534-0', '39494-0', '36930-6', '36931-4', '69277-2', '36792-0', '35940-6', '24538-1', '35939-8', '35941-4', '26208-9', '35942-2', '26209-7', '35943-0', '35944-8', '26210-5', '37674-9', '37222-7', '24542-3', '35945-5', '35947-1', '35946-3', '24547-2', '46388-5', '35948-9', '35949-7', '69276-4', '37216-9', '24544-9', '35950-5', '24660-3', '30863-5', '35951-3', '30861-9', '35952-1', '24548-0', '39040-1', '43508-1', '72529-1', '43510-7', '72528-3', '37219-3', '38021-2', '37220-1', '39039-3', '24590-2', '58748-5', '44138-6', '37217-7', '37218-5', '43772-3', '42385-5', '30794-2', '24601-7', '69165-9', '38057-6', '38058-4', '24596-9', '69397-8', '30795-9', '26214-7', '35954-7', '26215-4', '35955-4', '26216-2', '46299-4', '36010-7', '36011-5', '24616-5', '42146-1', '26217-0', '43765-7', '26218-8', '39427-0', '26219-6', '39437-9', '43552-9', '36793-8', '30859-3', '30865-0', '46374-5', '24627-2', '24629-8', '24630-6', '24657-9', '30862-7', '38016-2', '37235-9', '35960-4', '35961-2', '35959-6', '44120-4', '24757-7', '35962-0', '24674-4', '35963-8', '35965-3', '26220-4', '35964-6', '35966-1', '26221-2', '35967-9', '35968-7', '26222-0', '37688-9', '35969-5', '57823-7', '24690-0', '69193-1', '24693-4', '35970-3', '39042-7', '39031-0', '69293-9', '39428-8', '69297-0', '39439-5', '39449-4', '39418-9', '42145-3', '39429-6', '42144-6', '39440-3', '30876-7', '69283-0', '41835-0', '41816-0', '36794-6', '43771-5', '39495-7', '69398-6', '39503-8', '26224-6', '26223-8', '26226-1', '26225-3', '26231-1', '26230-3', '24853-4', '35953-9', '41808-7', '24696-7', '69389-5', '69399-4', '30871-8', '38134-3', '38128-5', '39498-1', '39504-6', '35984-4', '35985-1', '35986-9', '35987-7', '38037-8', '35988-5', '35989-3', '38048-5', '38768-8', '24705-6', '26238-6', '26239-4', '26240-2', '37221-9', '35991-9', '24707-2', '35992-7', '30872-6', '46362-0', '35993-5', '26241-0', '35994-3', '26242-8', '35995-0', '35996-8', '26243-6', '37706-9', '35997-6', '24710-6', '30873-4', '35998-4', '26244-4', '35999-2', '26245-1', '36000-8', '26246-9', '24711-4', '36001-6', '39415-5', '39416-3', '37236-7', '24719-7', '36002-4', '24720-5', '36003-2', '46382-8', '36004-0', '26247-7', '36005-7', '26248-5', '36006-5', '36007-3', '26249-3', '37717-6', '24725-4', '24728-8', '24731-2', '58741-0', '30858-5', '30856-9', '24733-8', '42304-6', '30880-9', '30655-5', '24746-0', '58742-8', '44164-2', '58744-4', '24748-6', '36009-9', '44137-8', '42148-7', '36014-9', '36013-1', '24760-1', '36012-3', '36016-4', '36017-2', '26250-1', '36015-6', '36018-0', '36020-6', '26251-9', '36019-8', '36021-4', '36022-2', '26252-7', '37735-8', '43566-9', '36024-8', '39425-4', '42147-9', '39497-3', '38129-3', '38137-6', '38141-8', '35958-8', '35956-2', '24767-6', '26253-5', '35957-0', '26254-3', '38767-0', '26255-0', '24735-3', '36033-9', '38036-0', '36032-1', '39032-8', '42477-0', '43767-3', '36034-7', '43774-9', '24789-0', '69402-6', '36035-4', '38038-6', '69113-9', '36036-2', '38049-3', '36037-0', '24802-1', '36038-8', '36799-5', '36800-1', '36801-9', '36040-4', '26256-8', '36039-6', '36041-2', '26257-6', '36042-0', '36043-8', '26258-4', '37760-6', '36045-3', '36044-6', '24814-6', '36046-1', '28614-6', '39454-4', '24818-7', '35971-1', '30692-8', '30709-0', '35972-9', '48693-6', '39434-6', '38130-1', '39421-3', '41834-3', '39499-9', '41815-2', '39505-3', '46363-8', '30881-7', '46364-6', '39420-5', '48692-8', '39432-0', '48691-0', '39443-7', '36079-2', '69385-3', '36784-7', '69392-9', '36785-4', '42461-4', '42462-2', '30874-2', '44174-1', '35974-5', '39422-1', '36795-3', '39431-2', '36796-1', '39442-9', '35973-7', '35975-2', '38013-9', '24687-6', '26227-9', '26228-7', '26229-5', '35976-0', '35978-6', '38040-2', '35977-8', '35979-4', '35980-2', '38051-9', '37766-3', '36074-3', '24821-1', '43513-1', '43556-0', '42696-5', '36075-0', '36076-8', '30866-8', '57822-9', '36047-9', '36048-7', '38043-6', '36776-3', '46298-6', '36050-3', '36049-5', '37234-2', '38044-4', '37233-4', '69394-5', '69211-1', '37606-1', '30860-1', '24835-1', '36051-1', '24839-3', '24842-7', '36788-8', '36085-9', '44175-8', '30857-7', '41807-9', '36777-1', '36802-7', '24848-4', '37611-1', '38836-3', '36778-9', '42303-8', '43530-5', '43455-5', '39502-0', '36779-7', '69390-3', '43506-5', '24857-5', '36052-9', '24859-1', '39509-5', '36053-7', '38045-1', '37223-5', '37224-3', '38138-4', '24865-8', '24867-4', '24869-0', '37632-7', '36789-6', '30867-6', '24870-8', '24872-4', '26259-2', '26260-0', '26261-8', '38140-0', '38139-2', '24877-3', '36932-2', '24880-7', '24881-5', '26262-6', '26263-4', '26264-2', '36077-6', '69284-8', '36055-2', '36056-0', '36057-8', '30675-3', '24884-9', '43445-6', '43454-8', '36803-5', '24892-2', '69294-7', '39435-3', '36078-4', '30868-4', '69295-4', '39426-2', '36804-3', '39419-7', '30619-1', '36031-3', '36058-6', '36059-4', '38053-5', '37653-3', '69116-2', '36060-2', '36933-0', '69298-8', '69117-0', '36061-0', '36073-5', '25002-7', '48742-1', '26271-7', '26272-5', '26273-3', '42437-4', '36062-8', '24905-2', '24907-8', '37850-5', '36805-0', '36806-8', '36807-6', '36063-6', '26266-7', '26265-9', '36064-4', '26268-3', '26267-5', '36065-1', '36066-9', '26270-9', '26269-1', '37811-7', '30588-8', '24914-4', '37866-1', '37874-5', '37495-9', '28566-8', '36067-7', '24926-8', '37497-5', '24932-6', '24935-9', '70926-1', '36068-5', '43457-1', '42698-1', '24963-1', '24968-0', '69393-7', '36069-3', '37232-6', '24978-9', '24980-5', '70927-9', '37911-5', '49565-5', '24988-8', '36070-1', '24990-4', '37225-0', '36071-9', '36072-7', '37885-1', '36782-1', '38131-9', '46359-6', '44235-0', '42468-9', '38059-2', '36773-0', '37226-8', '24999-5', '30719-9', '37228-4', '37227-6', '37230-0', '37229-2', '37231-8', '37819-0', '39446-0', '24702-3', '26235-2', '26236-0', '26237-8', '36054-5', '24582-9', '44163-4', '26211-3', '26212-1', '26213-9', '43507-3', '42300-4', '25010-0', '37898-4', '30888-2', '36780-5', '69285-5', '39508-7', '36023-0', '36025-5', '36026-3', '69180-8', '36027-1', '36028-9', '36029-7', '36030-5', '35981-0', '24688-4', '30710-8', '37923-0', '48448-5', '39447-8', '38014-7', '39423-9', '41833-5', '39500-4', '41814-5', '39506-1', '30882-5', '48690-2', '39496-5', '48689-4', '39501-2', '48688-6', '39507-9', '36080-0', '69395-2', '36786-2', '36787-0', '46385-1', '44236-8', '42475-4', '42476-2', '36084-2', '39448-6', '46379-4', '36797-9', '39433-8', '36798-7', '39444-5', '26232-9', '30875-9', '36774-8', '36775-5', '35982-8', '26233-7', '38041-0', '35983-6', '26234-5', '38052-7', '25019-1', '42301-2', '30705-8', '39036-9', '39525-1', '39030-2', '36783-9', '69222-8', '36081-8', '36083-4', '36082-6', '36790-4', '39445-2', '38054-3', '37428-0', '25033-2', '25036-5', '37932-1', '37430-6', '26277-4', '26278-2', '37429-8', '37431-4', '26279-0', '26280-8', '37432-2', '69209-5', '37433-0', '26281-6', '26282-4', '37644-2', '69219-4', '36008-1', '25045-6', '25040-7', '25056-3', '44136-0', '25061-3', '25071-2', '46375-2', '39523-6', '44229-3', '28576-7', '39453-6', '36957-9', '37294-6', '41804-6', '39043-5', '44165-9', '58745-1', '59255-0', '69082-6', '37295-3', '72830-3', '72832-9', '39879-2', '39881-8', '30760-3', '25055-5', '39408-0', '39862-8', '47378-5', '37435-5', '42693-2', '39140-9', '44126-1', '42386-3', '42387-1', '37434-8', '46300-0', '72139-9', '72138-1', '72137-3', '37436-3', '43555-2', '43449-8', '37437-1', '36114-7', '43450-6', '43451-4', '46394-3', '43452-2', '43453-0', '37438-9', '43527-1', '39637-4', '43655-0', '43652-7', '69235-0', '43670-9', '43673-3', '43662-6', '39684-6', '39811-5', '39141-7', '39656-4', '39654-9', '39655-6', '39675-4', '11525-3', '72251-2', '24889-8', '36934-8', '36935-5', '43446-4', '69237-6', '39678-8', '39748-9', '42292-3', '46395-0', '39913-9', '39918-8', '46396-8', '39916-2', '39930-3', '37439-7', '37440-5', '37441-3', '39409-8', '36086-7', '30704-1', '38047-7', '43572-7', '38011-3', '69280-6', '24599-3', '26286-5', '26288-1', '26290-7', '38015-4', '42149-5', '42151-1', '36089-1', '69281-4', '36090-9', '39526-9', '46301-8', '39424-7', '62451-0', '62452-8', '69286-3', '36937-1', '38020-4', '36087-5', '38034-5', '36808-4', '39044-3', '36091-7', '42707-0', '36092-5', '43776-4', '42150-3', '36088-3', '38035-2', '69300-2', '41812-9', '38042-8', '39430-4', '39441-1', '36093-3', '38039-4', '38050-1', '44116-2', '48461-8', '69212-9', '38046-9', '42152-9', '44173-3', '39436-1', '69299-6', '24913-6', '41813-7', '38143-4', '46302-6', '44237-6', '46303-4', '36094-1', '39045-0', '39524-4', '25039-9', '48460-0', '69282-2', '72831-1', '44127-9', '39046-8', '36102-2', '36095-8', '36096-6', '69096-6', '36098-2', '36099-0', '36100-6', '36101-4', '36097-4', '39681-2', '39813-1', '39821-4', '36103-0', '36105-5', '47366-0', '36938-9', '36104-8', '36106-3', '36107-1', '38769-6', '36108-9', '46304-2', '36109-7', '36110-5', '36111-3', '36112-1', '39905-5', '39906-3', '39527-7', '49569-7', '43659-2', '39725-7', '39718-2', '39724-0', '39723-2', '49568-9', '39729-9', '39700-0', '49567-1', '39142-5', '39712-5', '39734-9', '39736-4', '39710-9', '39711-7', '38060-0', '25052-2', '25050-6', '42132-1', '72142-3', '72141-5', '72140-7', '37442-1', '37443-9', '36939-7', '70929-5', '70928-7', '70930-3', '36940-5', '42455-6', '24677-7', '42390-5', '39838-8', '39898-2', '39872-7', '46305-9', '46358-8', '44139-4', '46306-7', '39680-4', '39816-4', '39825-5', '41837-6', '39658-0', '39662-2', '49566-3', '30711-6', '24732-0', '30706-6', '30701-7', '69388-7', '69086-7', '69108-9', '69085-9', '69207-9', '69217-8', '69208-7', '69218-6', '48442-8', '48450-1', '44114-7', '48452-7', '44113-9', '48441-0', '36267-3', '24557-1', '48743-9', '42274-1', '36846-4', '30805-6', '36855-5', '36950-4', '36951-2', '36268-1', '24539-9', '26187-5', '36269-9', '26188-3', '36270-7', '26189-1', '44131-1', '36271-5', '36273-1', '36272-3', '36274-9', '30806-4', '46360-4', '43509-9', '43511-5', '36944-7', '24587-8', '48694-4', '43769-9', '42392-1', '36276-4', '69189-9', '69166-7', '38870-2', '38062-6', '36277-2', '36278-0', '36279-8', '43528-9', '36358-0', '36280-6', '36281-4', '36856-3', '30598-7', '36283-0', '36848-0', '30804-9', '36420-8', '42277-4', '36284-8', '72252-0', '69161-8', '42299-8', '48455-0', '48454-3', '36285-5', '24675-1', '26193-3', '36286-3', '26194-1', '36287-1', '26195-8', '42268-3', '24694-2', '30803-1', '36338-2', '36339-0', '36340-8', '69194-9', '69204-6', '69214-5', '36341-6', '30682-9', '36342-4', '36343-2', '36344-0', '36345-7', '36346-5', '36347-3', '30684-5', '69174-1', '36348-1', '36349-9', '36350-7', '36351-5', '36352-3', '30686-0', '69177-4', '36353-1', '36354-9', '36355-6', '36356-4', '24726-2', '24729-6', '36847-2', '30593-8', '36857-1', '36357-2', '36359-8', '30688-6', '36360-6', '36361-4', '36362-2', '36363-0', '36364-8', '36365-5', '36282-2', '30659-7', '24740-3', '43768-1', '43775-6', '36377-0', '36378-8', '24784-1', '36379-6', '24803-9', '38837-1', '36862-1', '26199-0', '36380-4', '26200-6', '36381-2', '26201-4', '36382-0', '30612-6', '30670-4', '36288-9', '39291-0', '36416-6', '36849-8', '36850-6', '30807-2', '44128-7', '46308-3', '36858-9', '46307-5', '36859-7', '36289-7', '36371-3', '36372-1', '36373-9', '36290-5', '36291-3', '36292-1', '36333-3', '36408-3', '30870-0', '42697-3', '36409-1', '36410-9', '36411-7', '36412-5', '36383-8', '37272-2', '48443-6', '36384-6', '30586-2', '24840-1', '36853-0', '30594-6', '36423-2', '48451-9', '36842-3', '43458-9', '24849-2', '24851-8', '36843-1', '36844-9', '39029-4', '46310-9', '36845-6', '30614-2', '36385-3', '46311-7', '37265-6', '30616-7', '30674-6', '36854-8', '30623-3', '36863-9', '30672-0', '36835-7', '24904-5', '24879-9', '36414-1', '36387-9', '36388-7', '36389-5', '36275-6', '36415-8', '44134-5', '36375-4', '36376-2', '36390-3', '36391-1', '36392-9', '36393-7', '36394-5', '36406-7', '36395-2', '24906-0', '36864-7', '36865-4', '26202-2', '36396-0', '26203-0', '36397-8', '26204-8', '36398-6', '30663-9', '44111-3', '69220-2', '37277-1', '36399-4', '36400-0', '37505-5', '36401-8', '24937-5', '37506-3', '43456-3', '30855-1', '36402-6', '24967-2', '37507-1', '36403-4', '24981-3', '37508-9', '24989-6', '36404-2', '37266-4', '36405-9', '44231-9', '36837-3', '37267-2', '37268-0', '37269-8', '37270-6', '37271-4', '24703-1', '26196-6', '26197-4', '26198-2', '24583-7', '26190-9', '26191-7', '26192-5', '36407-5', '72241-3', '72238-9', '36366-3', '30690-2', '69181-6', '36367-1', '36368-9', '36369-7', '36370-5', '36334-1', '39034-4', '36417-4', '36851-4', '36852-2', '36421-6', '36422-4', '46312-5', '36860-5', '46309-1', '36861-3', '69186-5', '36374-7', '36840-7', '36841-5', '36335-8', '38831-4', '36336-6', '36337-4', '36413-3', '36418-2', '36419-0', '37457-9', '25035-7', '26205-5', '37458-7', '26206-3', '38802-5', '26207-1', '42298-0', '24588-6', '72244-7', '43448-0', '46318-2', '46317-4', '46315-8', '46316-6', '46314-1', '46313-3', '60515-4', '24586-0', '24936-7', '24977-1', '25046-4', '38022-0', '25047-2', '25057-1', '30599-5', '24567-0', '38055-0', '36809-2', '69162-6', '69238-4', '30853-6', '36941-3', '37237-5', '36115-4', '69102-2', '36116-2', '69109-7', '36117-0', '46319-0', '69103-0', '36118-8', '69110-5', '36119-6', '36120-4', '69105-5', '36121-2', '69112-1', '36122-0', '36124-6', '36125-3', '69106-3', '36126-1', '69114-7', '36127-9', '37238-3', '69210-3', '36123-8', '36128-7', '36129-5', '38828-0', '36130-3', '36131-1', '36132-9', '36810-0', '37444-7', '69107-1', '37445-4', '69115-4', '37446-2', '36811-8', '36812-6', '39322-3', '37496-7', '37509-7', '70931-1', '24734-6', '47985-7', '24934-2', '48447-7', '24965-6', '48436-0', '30596-1', '48439-4', '36134-5', '36813-4', '36828-2', '24533-2', '69908-2', '36943-9', '44124-6', '36135-2', '36136-0', '69163-4', '36137-8', '36138-6', '36139-4', '36140-2', '36142-8', '36141-0', '36143-6', '24545-6', '72255-3', '43503-2', '36144-4', '37499-1', '36145-1', '43504-0', '43505-7', '44125-3', '69095-8', '24589-4', '48444-4', '37239-1', '37215-1', '42391-3', '36149-3', '69190-7', '69167-5', '36150-1', '36151-9', '36152-7', '46323-2', '36198-0', '36153-5', '36154-3', '36146-9', '36829-0', '24628-0', '36156-8', '36266-5', '24659-5', '42275-8', '36942-1', '72254-6', '37254-0', '42694-0', '48457-6', '48456-8', '36157-6', '36158-4', '69170-9', '36159-2', '36160-0', '36161-8', '36162-6', '24691-8', '26184-2', '26185-9', '26186-7', '36148-5', '30801-5', '24697-5', '36172-5', '69172-5', '36174-1', '36176-6', '69195-6', '69205-3', '69215-2', '36178-2', '36179-0', '36180-8', '36181-6', '36182-4', '36183-2', '36184-0', '36185-7', '36186-5', '69175-8', '36187-3', '36188-1', '36189-9', '36190-7', '36191-5', '36192-3', '69178-2', '36193-1', '36194-9', '36195-6', '36196-4', '24727-0', '36814-2', '36826-6', '36830-8', '24593-6', '37498-3', '24747-8', '36197-2', '36200-4', '36199-8', '36201-2', '36202-0', '36203-8', '36204-6', '36205-3', '36206-1', '30583-9', '36155-0', '46322-4', '36113-9', '43766-5', '36219-4', '24790-8', '36220-2', '36221-0', '36222-8', '36223-6', '69088-3', '36224-4', '36225-1', '36226-9', '36227-7', '36228-5', '36229-3', '36230-1', '24815-3', '36231-9', '30624-1', '39293-6', '36824-1', '36825-8', '36831-6', '46324-0', '44135-2', '50755-8', '36163-4', '36213-7', '36214-5', '36215-2', '36164-2', '36165-9', '36166-7', '36167-5', '36258-2', '36259-0', '24820-3', '43512-3', '42695-7', '36260-8', '36261-6', '36262-4', '36263-2', '36232-7', '48446-9', '36233-5', '24836-9', '36235-0', '24841-9', '36827-4', '36234-3', '24844-3', '48449-3', '36820-9', '36832-4', '24850-0', '24852-6', '36821-7', '36822-5', '46320-8', '39038-5', '46321-6', '36823-3', '24858-3', '36236-8', '37240-9', '37241-7', '24866-6', '36237-6', '42294-9', '24873-2', '24878-1', '30590-4', '36238-4', '36242-6', '36243-4', '36244-2', '36147-7', '36833-2', '30887-4', '36217-8', '36218-6', '36245-9', '36246-7', '36247-5', '36248-3', '36249-1', '69221-0', '36250-9', '36251-7', '69184-0', '36252-5', '38830-6', '36253-3', '36254-1', '36255-8', '24915-1', '48440-2', '37253-2', '24987-0', '36256-6', '37500-6', '24933-4', '24938-3', '37501-4', '38061-8', '24964-9', '30678-7', '37502-2', '24979-7', '24982-1', '37503-0', '30622-5', '37242-5', '36257-4', '36815-9', '38835-5', '36816-7', '37243-3', '37244-1', '37245-8', '37246-6', '37247-4', '37248-2', '37249-0', '36173-3', '25003-5', '36175-8', '36177-4', '36239-2', '24584-5', '26181-8', '26182-6', '26183-4', '36240-0', '36241-8', '72243-9', '72240-5', '36207-9', '36208-7', '69182-4', '36209-5', '36210-3', '36211-1', '36212-9', '30626-6', '39037-7', '42295-6', '24549-8', '36168-3', '69187-3', '36216-0', '36817-5', '36818-3', '36819-1', '36169-1', '38829-8', '36170-9', '36171-7', '36264-0', '36265-7', '36834-0', '37447-0', '37448-8', '69091-7', '37449-6', '37450-4', '37451-2', '37452-0', '37453-8', '24753-6', '49507-7', '25058-9', '72531-7', '39450-2', '72246-2', '72250-4', '72247-0', '72245-4', '39648-1', '44154-3', '42389-7', '42388-9', '42270-9', '39682-0', '39638-2', '39755-4', '39839-6', '39844-6', '41838-4', '41772-5', '46297-8', '39823-0', '24578-7', '39632-5', '39644-0', '39770-3', '39649-9', '42310-3', '39852-9', '39692-9', '39876-8', '39628-3', '39740-6', '43526-3', '39938-6', '46330-7', '46327-3', '46326-5', '46328-1', '46325-7', '46329-9', '42143-8', '58750-1', '58749-3', '39668-9', '44152-7', '39743-0', '39640-8', '39641-6', '44153-5', '39631-7', '24817-9', '39851-1', '69229-3', '44151-9', '39691-1', '69234-3', '39647-3', '39639-0', '42377-2', '46393-5', '42394-7', '36424-0', '30668-8', '42291-5', '36952-0', '36878-7', '36496-8', '36953-8', '36954-6', '36425-7', '30680-3', '36879-5', '69087-5', '69164-2', '36426-5', '36427-3', '36428-1', '36429-9', '36430-7', '44132-9', '36431-5', '36432-3', '69119-6', '36433-1', '44130-3', '36434-9', '44123-8', '30657-1', '48453-5', '37278-9', '37279-7', '42393-9', '36436-4', '69191-5', '69168-3', '38064-2', '38817-3', '44119-6', '36437-2', '36438-0', '36439-8', '46333-1', '36483-6', '36440-6', '36441-4', '36880-3', '29252-4', '36442-2', '69084-2', '36547-8', '42276-6', '72253-8', '42302-0', '48459-2', '48458-4', '36443-0', '30796-7', '36444-8', '69171-7', '36445-5', '36446-3', '36447-1', '36448-9', '42278-2', '69104-8', '69111-3', '36435-6', '30802-3', '72249-6', '36460-4', '69173-3', '36462-0', '36464-6', '69196-4', '69206-1', '69216-0', '36466-1', '30681-1', '36467-9', '36468-7', '36469-5', '36470-3', '36471-1', '36472-9', '30683-7', '69176-6', '36473-7', '36474-5', '36475-2', '36476-0', '36477-8', '30685-2', '69179-0', '36478-6', '36479-4', '36480-2', '36481-0', '30799-1', '36876-1', '42293-1', '36881-1', '36482-8', '36484-4', '30687-8', '36485-1', '36486-9', '36487-7', '36488-5', '36489-3', '36490-1', '30584-7', '30658-9', '43770-7', '43773-1', '36503-1', '36504-9', '39359-5', '36505-6', '30691-0', '69089-1', '36506-4', '36507-2', '36508-0', '36509-8', '36510-6', '36511-4', '48445-1', '30611-8', '30669-6', '30625-8', '39292-8', '44129-5', '36450-5', '36882-9', '38773-8', '36449-7', '36451-3', '36497-6', '36498-4', '36499-2', '36452-1', '36453-9', '36454-7', '36455-4', '36537-9', '30869-2', '69185-7', '36538-7', '36539-5', '36540-3', '36541-1', '36512-2', '36513-0', '30585-4', '36514-8', '30660-5', '36877-9', '36549-4', '46331-5', '36872-0', '30587-0', '30661-3', '36873-8', '36874-6', '36956-1', '46332-3', '36875-3', '30613-4', '36515-5', '37280-5', '37281-3', '30615-9', '30673-8', '36883-7', '30671-2', '30589-6', '30591-2', '30666-2', '36543-7', '36517-1', '36518-9', '36519-7', '36544-5', '44133-7', '36501-5', '36502-3', '36520-5', '36521-3', '36522-1', '69118-8', '36523-9', '38770-4', '36535-3', '36524-7', '30693-6', '69090-9', '36525-4', '36526-2', '38834-8', '36527-0', '36528-8', '36529-6', '30662-1', '44112-1', '48687-8', '37293-8', '36530-4', '36531-2', '37510-5', '30592-0', '30667-0', '37511-3', '30854-4', '30620-9', '30679-5', '37994-1', '37288-8', '30597-9', '36532-0', '37512-1', '30621-7', '36533-8', '37282-1', '36534-6', '44230-1', '36866-2', '36867-0', '36868-8', '37283-9', '37284-7', '37285-4', '37286-2', '37287-0', '36461-2', '43514-9', '43515-6', '36463-8', '36465-3', '30654-8', '38833-0', '36516-3', '36955-3', '36536-1', '72242-1', '72239-7', '36491-9', '30689-4', '69183-2', '36492-7', '36493-5', '36494-3', '36495-0', '30627-4', '39033-6', '36548-6', '36456-2', '69188-1', '36500-7', '36869-6', '36870-4', '36457-0', '38832-2', '36458-8', '36459-6', '36542-9', '36545-2', '36546-0', '37459-5', '37460-3', '43516-4', '43517-2', '37461-1', '37462-9', '37463-7', '37464-5', '37465-2', '37466-0', '43525-5', '69223-6', '36871-2', '24787-4', '30712-4', '25051-4', '29750-7', '25060-5', '52072-6', '53246-5', '46210-1', '34819-3', '46215-0', '28568-4', '11536-0', '52066-8', '53244-0', '11543-6', '46208-5', '52051-0', '52052-8', '52053-6', '52054-4', '52067-6', '24620-7', '33721-2', '34122-2', '55188-7', '55750-4', '52034-6', '24882-3', '69252-5', '69248-3', '42018-2', '69301-0', '28629-4', '74030-8', '29752-3', '24875-7', '51965-2', '51850-6', '24998-7', '52055-1', '52063-5', '18836-7', '28570-0', '28577-5', '11505-5', '28625-2', '52068-4', '46209-3', '55751-2', '52075-9', '55184-6', '55182-0', '55183-8', '62385-0', '11514-7', '11521-2', '11515-4', '11516-2', '11517-0', '11518-8', '11519-6', '11520-4', '44226-9', '30636-5', '18823-5', '18824-3', '18825-0', '18826-8', '19002-5', '18594-2', '52184-9', '19003-3', '19004-1', '29206-0', '25073-8', '52056-9', '25015-9', '60569-1', '55187-9', '52057-7', '52058-5', '52039-5', '52059-3', '52060-1', '52029-6', '55228-1', '18752-6', '29755-6', '11526-1', '28633-6', '11527-9', '58477-1', '11529-5', '55230-7', '11523-8', '11541-0', '29757-2', '33717-0', '18745-0', '11524-6', '18750-0', '18754-2', '18746-8', '18753-4', '29756-4', '18744-3', '18759-1', '38269-7', '18756-7', '17787-3', '55229-9', '18751-8', '18742-7', '33716-2', '18748-4', '18749-2', '33719-6', '29754-9', '52038-7', '52061-9', '28583-3', '28573-4', '60568-3', '52069-2', '11534-5', '46213-5', '28630-2', '52062-7', '28651-8', '28616-1', '69409-1', '24783-3', '25065-4', '25068-8', '43471-2', '25066-2', '25067-0', '43472-0', '42702-1', '42703-9', '36550-2', '36551-0', '69307-7', '69314-3', '46335-6', '46336-4', '46337-2', '46338-0', '36564-3', '69311-9', '69319-2', '36554-4', '42699-9', '36555-1', '36556-9', '69308-5', '69315-0', '42153-7', '36559-3', '36560-1', '37689-7', '36561-9', '69309-3', '69316-8', '36563-5', '69310-1', '69318-4', '24761-9', '26400-2', '26401-0', '26402-8', '36565-0', '69312-7', '69320-0', '36566-8', '36567-6', '37741-6', '36557-7', '36558-5', '37764-8', '37614-5', '69152-7', '69260-8', '37616-0', '69317-6', '42313-7', '42314-5', '37654-1', '30748-8', '36568-4', '36569-2', '37792-9', '37851-3', '24917-7', '48695-1', '37875-2', '24940-9', '30773-6', '37904-0', '38121-0', '69313-5', '69321-8', '37894-3', '37924-8', '42419-2', '36570-0', '37825-7', '30642-3', '30787-6', '44176-6', '41775-8', '30749-6', '30722-3', '30724-9', '30774-4', '70932-9', '25063-9', '69268-1', '49510-1', '49509-3', '24715-5', '37513-9', '37514-7', '38806-6', '37467-8', '37468-6', '42431-7', '69079-2', '37469-4', '37470-2', '38803-3', '24799-9', '36583-3', '37662-4', '36571-8', '36572-6', '36573-4', '36575-9', '36576-7', '36577-5', '36578-3', '36579-1', '36580-9', '36581-7', '36582-5', '37726-7', '36584-1', '36585-8', '48462-6', '48463-4', '36574-2', '42439-0', '37622-8', '39050-0', '36958-7', '36959-5', '37783-8', '39048-4', '37842-2', '36586-6', '36587-4', '37798-6', '69269-9', '37877-8', '30725-6', '24948-2', '30777-7', '30752-0', '39049-2', '37880-2', '37890-1', '37897-6', '39402-3', '37634-3', '30734-8', '30735-5', '24561-3', '24637-1', '24560-5', '24636-3', '36588-2', '36589-0', '30727-2', '30729-8', '30755-3', '24563-9', '43466-2', '24652-0', '43778-0', '24564-7', '36960-3', '24807-0', '26358-2', '26359-0', '26360-8', '44177-4', '38849-6', '37733-3', '42420-0', '42378-0', '39410-6', '42379-8', '39411-4', '24723-9', '26355-8', '26356-6', '26357-4', '42395-4', '42396-2', '36962-9', '37849-7', '36963-7', '36964-5', '37800-0', '36965-2', '37471-0', '37472-8', '38804-1', '36966-0', '36967-8', '38775-3', '37928-9', '37857-0', '69132-9', '69141-0', '39514-5', '37625-1', '37650-9', '65799-9', '65800-5', '65801-3', '37297-9', '39149-0', '36973-6', '37843-0', '36974-4', '37801-8', '37844-8', '37035-3', '37473-6', '38805-8', '36975-1', '36977-7', '38776-1', '36976-9', '36978-5', '37628-5', '36979-3', '36980-1', '38777-9', '36981-9', '36982-7', '36983-5', '37732-5', '36620-3', '36591-6', '36592-4', '39051-8', '36593-2', '36594-0', '36595-7', '36596-5', '36597-3', '36598-1', '37703-6', '36599-9', '36600-5', '36601-3', '37712-7', '36602-1', '36603-9', '37730-9', '36604-7', '36605-4', '36606-2', '37751-5', '24843-5', '37629-3', '39053-4', '38857-9', '37784-6', '37858-8', '24920-1', '39052-6', '24943-3', '24969-8', '30756-1', '37891-9', '37893-5', '37930-5', '36984-3', '36985-0', '36986-8', '36987-6', '37727-5', '36988-4', '37872-9', '37878-6', '36989-2', '36990-0', '37903-2', '36991-8', '36992-6', '30786-8', '36993-4', '36994-2', '37729-1', '37626-9', '36999-1', '37000-7', '37750-7', '37909-9', '41774-1', '30757-9', '37515-4', '37516-2', '38066-7', '38819-9', '37001-5', '37002-3', '37754-9', '42442-4', '37003-1', '37910-7', '36997-5', '36971-0', '37833-1', '36998-3', '36972-8', '37834-9', '37004-9', '36995-9', '30737-1', '30738-9', '24639-7', '24638-9', '37008-0', '37009-8', '24641-3', '24640-5', '38069-1', '37005-6', '37773-9', '42441-6', '24801-3', '26283-2', '26284-0', '26285-7', '37006-4', '37007-2', '37475-1', '37671-5', '38067-5', '36607-0', '36609-6', '36610-4', '36611-2', '36612-0', '36613-8', '36614-6', '36615-3', '37704-4', '36616-1', '36617-9', '36618-7', '42689-0', '30778-5', '30758-7', '37892-7', '44178-2', '37545-1', '37728-3', '30759-5', '37631-9', '37845-5', '37012-2', '37013-0', '37802-6', '36621-1', '36622-9', '36623-7', '37714-3', '69270-7', '37931-3', '36624-5', '37015-5', '24648-8', '37014-8', '37755-6', '37477-7', '37476-9', '39324-9', '69263-2', '24828-6', '24871-6', '37998-2', '37999-0', '38000-6', '38006-3', '38068-3', '36996-7', '37010-6', '37011-4', '37018-9', '37020-5', '37019-7', '37752-3', '39323-1', '49511-9', '24699-1', '26178-4', '26179-2', '26180-0', '42812-8', '42813-6', '42814-4', '42811-0', '44206-1', '30714-0', '42426-7', '37659-0', '42428-3', '42429-1', '42427-5', '37660-8', '37846-3', '37298-7', '37299-5', '37808-3', '43671-7', '42471-3', '42474-7', '39516-0', '37024-7', '37025-4', '37791-1', '39517-8', '37861-2', '37026-2', '43780-6', '37027-0', '43779-8', '69256-6', '69239-2', '69069-3', '69064-4', '69149-3', '42432-5', '24944-1', '37028-8', '37029-6', '37030-4', '37770-5', '37870-3', '24668-6', '37031-2', '37032-0', '37033-8', '38007-1', '37034-6', '38779-5', '37300-1', '37037-9', '37038-7', '38855-3', '37771-3', '37039-5', '37040-3', '38772-0', '30790-0', '37041-1', '37042-9', '37761-4', '38842-1', '37677-2', '37043-7', '37756-4', '37044-5', '37645-9', '37045-2', '37046-0', '37047-8', '37048-6', '38780-3', '37049-4', '37613-7', '37863-8', '24921-9', '42473-9', '38117-8', '30751-2', '37050-2', '37051-0', '37809-1', '42680-9', '37052-8', '37053-6', '37772-1', '37656-6', '37055-1', '37054-4', '37790-3', '37847-1', '38858-7', '37805-9', '37848-9', '37056-9', '37057-7', '37810-9', '41793-1', '41790-7', '24656-1', '39047-6', '38065-9', '38818-1', '42008-3', '24893-0', '37058-5', '37059-3', '37207-8', '37731-7', '44205-3', '38850-4', '37734-1', '37633-5', '39144-1', '41795-6', '69302-8', '36968-6', '30639-9', '42470-5', '30809-8', '42469-7', '38001-4', '38002-2', '37060-1', '37636-8', '46341-4', '24535-7', '26133-9', '26134-7', '26135-4', '24536-5', '26136-2', '26137-0', '26138-8', '24541-5', '26097-6', '26098-4', '51395-2', '26099-2', '51394-5', '36625-2', '46342-2', '38070-9', '38071-7', '38072-5', '38820-7', '46380-2', '24597-7', '38079-0', '38080-8', '38821-5', '36626-0', '36627-8', '37774-7', '46339-8', '24612-4', '26100-8', '26101-6', '26102-4', '30745-4', '30631-6', '42269-1', '24664-5', '26106-5', '26107-3', '26108-1', '30883-3', '24676-9', '26109-9', '26110-7', '26111-5', '46381-0', '37637-6', '24695-9', '37303-5', '24704-9', '26118-0', '26120-6', '26122-2', '24706-4', '26124-8', '30783-5', '37517-0', '37518-8', '38147-5', '30782-7', '37519-6', '37520-4', '38146-7', '26125-5', '26126-3', '30780-1', '37521-2', '37522-0', '38144-2', '30781-9', '37523-8', '37524-6', '38145-9', '24709-8', '26127-1', '26128-9', '26129-7', '42399-6', '42400-2', '43641-0', '42434-1', '37532-9', '37533-7', '38152-5', '28582-5', '36629-4', '36630-2', '37716-8', '24752-8', '24762-7', '26130-5', '26131-3', '26132-1', '28567-6', '37319-1', '37321-7', '37320-9', '38797-7', '37062-7', '36632-8', '37738-2', '36628-6', '28565-0', '36635-1', '36636-9', '37758-0', '48465-9', '24686-8', '26112-3', '26113-1', '26114-9', '24829-4', '48745-4', '43533-9', '24830-2', '26139-6', '26140-4', '26141-2', '36637-7', '24834-4', '37639-2', '37332-4', '38798-5', '24846-8', '26142-0', '26143-8', '26144-6', '36886-0', '24854-2', '36887-8', '38774-6', '43529-7', '24855-9', '30791-8', '36638-5', '36639-3', '37777-0', '28561-9', '30885-8', '30767-8', '30768-6', '36631-0', '38771-2', '47984-0', '24745-2', '26146-1', '26148-7', '26150-3', '24891-4', '24899-7', '37937-0', '38073-3', '38074-1', '37963-6', '38868-6', '37962-8', '26151-1', '69071-9', '26152-9', '39326-4', '38866-0', '39489-0', '42381-4', '39493-2', '37960-2', '37938-8', '39352-0', '38869-4', '37964-4', '26153-7', '39351-2', '39491-6', '38867-8', '39353-8', '39492-4', '37961-0', '24900-3', '36633-6', '36634-4', '37786-1', '30884-1', '24665-2', '39058-3', '24903-7', '26154-5', '26155-2', '26156-0', '42159-4', '24909-4', '26157-8', '26158-6', '26159-4', '42160-2', '24911-0', '24916-9', '28564-3', '48697-7', '37338-1', '28613-8', '24946-6', '36640-1', '43538-8', '37481-9', '38008-9', '43781-4', '24972-2', '43536-2', '24975-5', '37340-7', '37341-5', '37342-3', '46340-6', '24983-9', '42692-4', '37975-0', '37323-3', '37324-1', '37965-1', '24993-8', '24994-6', '72876-6', '25000-1', '37325-8', '30889-0', '30890-8', '25006-8', '26160-2', '26161-0', '26162-8', '26163-6', '26164-4', '26165-1', '25011-8', '37530-3', '38151-7', '37531-1', '38150-9', '37534-5', '38148-3', '37535-2', '38149-1', '25013-4', '26166-9', '26167-7', '26168-5', '44238-4', '48464-2', '24689-2', '26115-6', '26116-4', '26117-2', '24619-9', '26169-3', '26170-1', '51392-9', '26171-9', '51388-7', '43468-8', '49512-7', '25074-6', '26172-7', '26173-5', '26174-3', '51387-9', '39370-2', '30635-7', '42162-8', '39400-7', '69131-1', '69140-2', '39513-7', '39360-3', '69059-4', '69139-4', '39377-7', '37583-2', '39372-8', '39373-6', '39390-0', '39511-1', '39376-9', '42164-4', '42163-6', '39414-8', '39398-3', '69056-0', '41811-1', '41832-7', '42010-9', '42165-1', '46389-3', '39391-8', '39412-2', '69148-5', '39389-2', '30694-4', '42271-7', '60527-9', '25008-4', '69236-8', '43672-5', '44147-7', '42405-1', '42401-0', '42411-9', '39392-6', '44199-8', '44198-0', '47373-6', '47375-1', '43521-4', '47983-2', '48489-9', '48488-1', '43522-2', '48467-5', '43523-0', '44202-0', '44201-2', '36641-9', '37064-3', '37664-0', '36665-8', '37661-6', '24540-7', '26385-5', '26386-3', '26387-1', '36642-7', '37768-9', '36661-7', '48433-7', '36662-5', '37718-4', '36643-5', '36644-3', '36645-0', '36646-8', '37679-8', '36647-6', '36648-4', '36649-2', '36650-0', '37681-4', '36652-6', '36653-4', '36654-2', '37690-5', '36655-9', '36656-7', '37694-7', '30784-3', '36657-5', '38846-2', '37697-0', '24721-3', '26388-9', '26389-7', '26390-5', '36663-3', '69058-6', '36664-1', '37721-8', '24765-0', '26391-3', '26392-1', '26393-9', '24806-2', '26394-7', '26395-4', '26396-2', '36651-8', '69257-4', '24861-7', '26397-0', '26398-8', '26399-6', '37617-8', '42685-8', '42686-6', '36659-1', '36660-9', '37707-7', '36658-3', '39060-9', '42687-4', '37066-8', '37780-4', '37651-7', '44179-0', '37655-8', '36666-6', '37787-9', '42435-8', '37840-6', '36667-4', '36668-2', '37793-7', '37853-9', '37867-9', '37879-4', '36669-0', '43784-8', '36670-8', '37905-7', '24984-7', '69273-1', '37883-6', '36671-6', '36672-4', '37815-8', '37895-0', '37902-4', '37348-0', '36673-2', '37821-6', '37922-2', '37925-5', '37482-7', '37483-5', '37826-5', '69305-1', '42430-9', '42009-1', '39378-5', '48468-3', '43467-0', '69060-2', '69142-8', '39379-3', '39380-1', '69061-0', '41819-4', '39381-9', '69143-6', '39382-7', '38118-6', '38844-7', '37686-3', '38871-0', '38108-7', '38874-4', '38114-5', '44181-6', '43539-6', '48469-1', '39880-0', '44184-0', '44182-4', '44183-2', '36674-0', '37658-2', '38843-9', '37678-0', '42166-9', '38841-3', '37675-6', '37068-4', '37069-2', '37698-8', '36945-4', '38851-2', '37762-2', '36946-2', '69274-9', '38840-5', '37672-3', '37067-6', '36293-9', '37635-0', '36294-7', '36295-4', '36296-2', '37665-7', '36298-8', '36299-6', '36300-2', '36301-0', '37682-2', '36297-0', '36302-8', '36303-6', '36304-4', '37695-4', '36305-1', '36306-9', '36307-7', '37699-6', '24722-1', '26379-8', '26380-6', '26381-4', '36308-5', '36309-3', '37722-6', '30788-4', '36310-1', '36311-9', '37742-4', '36312-7', '36838-1', '48470-9', '48471-7', '37604-6', '69261-6', '30766-0', '37256-5', '39062-5', '36313-5', '36314-3', '37781-2', '37648-3', '39061-7', '24908-6', '26382-2', '26383-0', '26384-8', '37854-7', '24918-5', '24941-7', '30775-1', '37257-3', '37259-9', '37260-7', '37261-5', '37906-5', '37881-0', '37888-5', '36315-0', '37812-5', '36316-8', '37820-8', '37926-3', '37454-6', '48738-9', '37455-3', '37827-3', '48737-1', '37933-9', '69154-3', '39393-4', '39399-1', '39364-5', '39404-9', '39383-5', '48472-5', '39365-2', '69155-0', '39394-2', '43499-3', '43483-7', '39901-4', '39902-2', '39882-6', '39883-4', '30776-9', '69151-9', '24778-3', '69138-6', '69254-1', '36947-0', '36948-8', '37700-2', '36949-6', '42443-2', '36317-6', '36319-2', '36320-0', '36321-8', '36322-6', '36323-4', '37683-0', '36318-4', '36324-2', '37691-3', '30789-2', '36325-9', '36326-7', '37743-2', '36327-5', '43534-7', '43535-4', '36839-9', '37609-5', '37612-9', '36328-3', '69265-7', '36329-1', '36330-9', '37794-5', '37855-4', '37868-7', '37876-0', '36331-7', '36332-5', '48473-3', '37907-3', '37882-8', '38155-8', '37070-0', '37071-8', '37828-1', '37934-7', '69144-4', '39384-3', '39385-0', '39413-0', '39099-7', '69063-6', '39387-6', '69145-1', '39386-8', '69062-8', '38852-0', '37763-0', '36675-7', '36676-5', '37744-0', '36890-2', '37351-4', '30750-4', '36677-3', '37795-2', '37856-2', '24922-7', '24939-1', '30797-5', '37353-0', '37355-5', '37356-3', '37357-1', '37350-6', '37072-6', '37829-9', '39407-2', '69081-8', '37073-4', '69080-0', '39063-3', '42273-3', '36678-1', '36679-9', '37796-0', '42691-6', '38156-6', '37074-2', '37830-7', '36680-7', '36681-5', '36682-3', '36683-1', '37831-5', '42412-7', '39064-1', '69070-1', '38856-1', '37782-0', '24796-5', '24792-4', '24653-8', '24654-6', '37080-9', '37081-7', '37082-5', '38781-1', '39339-7', '37083-3', '38782-9', '37126-0', '37084-1', '38783-7', '39512-9', '39401-5', '69153-5', '69262-4', '37618-6', '37623-6', '39065-8', '37619-4', '24794-0', '30779-3', '36684-9', '36685-6', '37667-3', '36686-4', '36701-1', '37719-2', '36687-2', '39066-6', '36688-0', '36689-8', '36690-6', '36691-4', '37684-8', '36693-0', '36694-8', '36695-5', '37692-1', '39069-0', '36696-3', '36697-1', '37701-0', '42409-3', '69130-3', '48474-1', '38847-0', '37710-1', '36702-9', '36703-7', '36704-5', '37725-9', '36706-0', '36707-8', '36708-6', '37736-6', '36709-4', '36590-8', '36710-2', '37745-7', '36692-2', '69258-2', '36711-0', '42438-2', '36712-8', '36713-6', '37776-2', '37620-2', '36705-2', '36699-7', '36700-3', '37708-5', '36698-9', '37652-5', '36714-4', '36715-1', '37788-7', '37841-4', '36716-9', '24919-3', '24928-4', '24942-5', '37361-3', '39067-4', '43785-5', '24970-6', '30753-8', '38123-6', '37974-3', '37889-3', '36717-7', '36718-5', '37816-6', '37896-8', '36719-3', '37822-4', '30793-4', '38860-3', '37832-3', '37839-8', '39070-8', '42404-4', '39071-6', '37095-7', '37096-5', '37097-3', '37666-5', '39072-4', '36720-1', '36721-9', '37668-1', '36731-8', '36722-7', '36723-5', '36724-3', '37685-5', '36725-0', '36726-8', '36727-6', '37696-2', '36728-4', '36729-2', '36730-0', '37702-8', '69057-8', '38848-8', '37711-9', '36732-6', '36733-4', '37748-1', '37624-4', '36734-2', '36735-9', '37908-1', '36736-7', '37813-3', '37927-1', '37099-9', '38083-2', '37101-3', '42410-1', '37102-1', '37118-7', '37115-3', '69137-8', '39371-0', '39334-8', '39375-1', '42417-6', '42418-4', '39369-4', '37103-9', '37079-1', '39074-0', '39073-2', '69147-7', '39388-4', '37105-4', '37106-2', '37107-0', '37108-8', '37749-9', '37109-6', '37110-4', '38786-0', '37111-2', '37116-1', '37117-9', '37740-8', '38009-7', '37112-0', '37113-8', '37114-6', '37747-3', '69065-1', '37086-6', '37087-4', '37723-4', '37090-8', '69146-9', '37089-0', '37088-2', '38784-5', '30763-7', '37077-5', '37091-6', '37092-4', '37093-2', '37724-2', '30770-2', '42167-7', '37094-0', '38785-2', '41776-6', '24793-2', '44185-7', '44186-5', '41817-8', '41777-4', '30726-4', '37078-3', '30754-6', '39330-6', '42380-6', '39368-6', '39068-2', '39331-4', '39332-2', '39374-4', '24805-4', '26364-0', '26365-7', '26366-5', '39333-0', '38084-0', '37119-5', '39076-5', '37621-0', '37649-1', '39075-7', '37098-1', '44187-3', '37100-5', '24797-3', '37120-3', '37104-7', '42011-7', '24642-1', '24808-8', '26361-6', '26362-4', '26363-2', '37121-1', '37680-6', '37122-9', '37797-8', '37485-0', '39077-3', '46349-7', '38082-4', '38822-3', '37123-7', '38787-8', '36961-1', '37799-4', '37124-5', '37789-5', '69266-5', '37125-2', '38788-6', '24562-1', '24650-4', '24649-6', '37085-8', '37076-7', '24798-1', '43463-9', '24795-7', '42019-0', '39329-8', '39328-0', '39395-9', '39321-5', '39336-3', '39335-5', '39337-1', '39344-7', '39338-9', '39397-5', '39343-9', '39348-8', '39325-6', '39346-2', '39347-0', '39396-7', '24632-2', '37075-9', '43561-0', '38003-0', '38815-7', '42406-9', '42407-7', '42445-7', '37484-3', '37746-5', '42403-6', '42408-5', '42444-0', '42446-5', '39403-1', '37127-8', '37128-6', '37807-5', '46386-9', '39884-2', '39861-0', '42709-6', '39860-2', '26352-5', '26353-3', '26354-1', '24724-7', '37362-1', '24591-0', '37996-6', '37995-8', '37997-4', '38814-0', '37486-8', '37852-1', '39859-4', '39875-0', '39840-4', '39842-0', '39874-3', '39819-8', '39741-4', '24605-8', '39152-4', '69158-4', '48475-8', '69150-1', '69259-0', '26346-7', '39154-0', '26347-5', '42169-3', '26348-3', '42168-5', '46350-5', '24604-1', '26349-1', '26350-9', '26351-7', '46351-3', '39895-8', '39887-5', '39889-1', '39885-9', '39910-5', '39912-1', '39909-7', '39908-9', '39886-7', '39890-9', '39888-3', '39867-7', '39863-6', '39866-9', '39864-4', '39865-1', '39869-3', '39868-5', '39893-3', '43644-4', '39858-6', '39636-6', '39871-9', '42261-8', '42262-6', '43653-5', '39847-9', '39899-0', '42308-7', '42263-4', '39856-0', '43500-8', '44148-5', '43642-8', '43664-2', '43643-6', '43666-7', '43663-4', '43665-9', '39870-1', '43654-3', '39685-3', '39940-2', '43787-1', '43648-5', '43649-3', '39827-1', '39828-9', '39327-2', '44208-7', '30720-7', '42311-1', '42312-9', '39768-7', '39767-9', '24997-9', '39769-5', '39892-5', '39891-7', '43646-9', '43645-1', '43647-7', '39653-1', '39657-2', '39933-7', '39830-5', '39677-0', '39490-8', '24700-7', '39686-1', '42170-1', '39672-1', '72256-1', '24571-2', '24572-0', '43788-9', '43789-7', '39673-9', '30650-6', '39665-5', '39664-8', '39848-7', '39849-5', '24876-5', '44149-3', '39954-3', '44140-2', '39831-3', '39951-9', '39934-5', '39829-7', '42171-9', '39749-7', '39679-6', '39750-5', '42305-3', '42397-0', '39923-8', '39917-0', '39919-6', '39925-3', '39931-1', '42306-1', '39929-5', '39921-2', '39924-6', '39922-0', '39920-4', '39915-4', '39928-7', '39927-9', '39914-7', '46348-9', '44210-3', '48480-8', '46390-1', '46347-1', '48481-6', '46344-8', '46345-5', '48479-0', '43492-8', '43497-7', '43491-0', '43496-9', '43489-4', '43494-4', '43490-2', '43495-1', '44188-1', '48478-2', '48477-4', '48476-6', '47370-2', '47371-0', '43498-5', '43482-9', '47381-9', '43543-8', '44189-9', '48746-2', '43486-0', '46377-8', '48482-4', '43488-6', '43493-6', '44190-7', '48483-2', '46346-3', '46343-0', '48485-7', '48486-5', '48484-0', '44191-5', '44239-2', '44193-1', '44192-3', '44211-1', '47367-8', '47374-4', '47376-9', '47379-3', '48747-0', '48487-3', '44212-9', '47382-7', '47368-6', '44194-9', '44195-6', '43524-8', '44197-2', '44196-4', '49570-5', '37160-9', '38793-6', '37158-3', '37806-7', '37161-7', '69267-3', '37538-6', '38789-4', '37157-5', '38791-0', '39350-4', '37162-5', '38794-4', '37167-4', '38795-1', '69156-8', '43790-5', '38004-8', '38816-5', '37539-4', '37540-2', '30771-0', '37627-7', '37164-1', '37864-6', '37165-8', '37166-6', '37871-1', '37134-4', '37135-1', '37670-7', '42382-2', '39366-0', '43464-7', '37603-8', '39100-3', '39101-1', '39341-3', '39406-4', '39405-6', '42436-6', '37869-5', '37605-3', '37862-0', '37136-9', '37803-4', '39340-5', '37133-6', '37132-8', '38010-5', '37929-7', '69157-6', '39515-2', '37474-4', '37669-9', '43480-3', '37541-0', '47380-1', '43470-4', '47377-7', '24610-8', '26287-3', '26289-9', '26291-5', '41826-9', '41785-7', '36737-5', '41830-1', '41789-9', '36738-3', '36893-6', '42007-5', '37646-7', '44209-5', '48466-7', '42710-4', '36739-1', '38838-9', '37642-6', '41797-2', '42335-0', '38125-1', '38120-2', '37137-7', '39687-9', '39754-7', '49571-3', '39843-8', '41836-8', '39627-5', '39822-2', '39645-7', '39695-2', '39936-0', '37542-8', '37543-6', '37554-3', '38854-6', '37769-7', '30769-4', '38086-5', '39935-2', '39949-3', '39904-8', '39907-1', '39937-8', '39950-1', '36608-8', '36740-9', '36741-7', '37687-1', '36744-1', '37737-4', '36619-5', '36745-8', '36746-6', '37757-2', '36747-4', '37630-1', '36742-5', '36743-3', '37709-3', '48748-8', '36748-2', '43791-3', '48749-6', '36749-0', '37817-4', '36894-4', '37544-4', '38839-7', '37643-4', '42398-8', '37139-3', '37154-2', '37155-9', '43469-6', '37063-5', '37546-9', '48491-5', '48490-7', '48699-3', '37152-6', '37140-1', '37804-2', '36750-8', '42272-5', '36751-6', '36752-4', '36753-2', '37713-5', '36754-0', '30721-5', '37547-7', '37548-5', '37835-6', '37143-5', '37144-3', '37145-0', '37142-7', '37860-4', '37146-8', '30741-3', '39078-1', '36755-7', '36756-5', '36757-3', '37715-0', '37884-4', '37549-3', '37550-1', '37836-4', '36758-1', '37148-4', '37147-6', '30742-1', '30743-9', '30744-7', '24643-9', '37149-2', '38790-2', '37859-6', '69271-5', '24647-0', '24644-7', '36759-9', '39079-9', '37141-9', '39519-4', '39521-0', '39520-2', '24646-2', '24645-4', '37150-0', '24635-5', '46378-6', '43660-0', '43661-8', '43658-4', '43656-8', '39719-0', '43777-2', '39722-4', '39720-8', '39728-1', '39726-5', '39727-3', '39699-4', '39701-8', '39731-5', '39735-6', '39708-3', '39709-1', '39705-9', '39707-5', '39703-4', '39702-6', '39733-1', '39941-0', '39833-9', '39716-6', '39697-8', '39730-7', '39732-3', '39715-8', '39704-2', '39714-1', '39713-3', '30765-2', '30764-5', '41823-6', '41782-4', '30746-2', '41827-7', '41786-5', '41773-3', '41818-6', '41778-2', '43570-1', '41829-3', '41788-1', '37168-2', '37169-0', '38796-9', '37170-8', '41825-1', '41784-0', '41820-2', '41779-0', '30792-6', '30772-8', '30747-0', '41831-9', '41791-5', '46391-9', '41824-4', '41783-2', '30723-1', '37171-6', '44203-8', '37172-4', '41828-5', '41787-3', '37151-8', '30731-4', '30730-6', '24634-8', '24824-5', '42402-8', '43657-6', '30733-0', '37131-0', '37138-5', '41792-3', '24651-2', '42414-3', '37016-3', '37017-1', '37775-4', '30740-5', '30739-7', '43479-5', '30838-7', '37364-7', '38799-3', '38107-9', '37304-3', '37302-7', '38115-2', '24930-0', '30715-7', '42424-2', '39367-8', '42472-1', '42425-9', '43569-3', '30716-5', '30717-3', '24929-2', '24606-6', '39153-2', '69159-2', '48492-3', '26175-0', '42174-3', '26176-8', '46355-4', '26177-6', '46354-7', '46356-2', '37022-1', '37021-3', '37023-9', '38778-7', '37551-9', '37552-7', '38807-4', '37553-5', '43550-3', '39952-7', '39676-2', '39894-1', '39896-6', '39814-9', '39634-1', '39903-0', '39817-2', '39815-6', '39824-8', '39633-3', '39853-7', '39832-1', '39878-4', '39900-6', '39855-2', '43501-6', '44150-1', '39854-5', '37153-4', '69136-0', '37163-3', '37156-7', '37759-8', '39345-4', '69255-8', '38088-1', '38087-3', '38824-9', '24579-5', '43518-0', '37365-4', '39518-6', '43519-8', '38089-9', '37159-1', '38792-8', '43796-2', '69304-4', '69303-6', '69072-7', '37555-0', '38808-2', '43532-1', '39944-4', '39948-5', '39947-7', '39946-9', '39943-6', '30697-7', '39942-8', '24888-0', '39835-4', '39836-2', '39945-1', '39837-0', '39834-7', '46361-2', '39932-9', '39873-5', '39683-8', '39698-6', '39845-3', '42711-2', '42175-0', '39818-0', '39826-3', '39669-7', '24713-0', '39660-6', '39661-4', '39663-0', '42309-5', '24750-2', '43459-7', '24577-9', '47372-8', '25070-4', '24574-6', '46352-1', '43485-2', '39150-8', '69251-7', '42415-0', '42416-8', '37201-1', '37202-9', '37203-7', '37676-4', '37205-2', '37206-0', '37720-0', '38845-4', '37693-9', '24708-0', '26094-3', '26095-0', '26096-8', '37584-0', '38810-8', '24809-6', '26085-1', '26086-9', '26087-7', '37204-5', '69264-0', '37208-6', '69275-6', '38124-4', '37899-2', '37209-4', '37823-2', '44233-5', '44232-7', '37579-0', '37580-8', '37581-6', '37663-2', '39651-5', '38090-7', '38091-5', '39059-1', '24666-0', '46357-0', '30633-2', '42683-3', '43574-3', '44227-7', '37565-9', '38092-3', '41770-9', '43650-1', '30630-8', '30824-7', '37585-7', '38853-8', '37765-5', '37615-2', '37936-2', '37640-0', '64140-7', '64141-5', '38094-9', '37973-5', '25005-0', '25014-2', '37976-8', '42014-1', '37980-0', '37981-8', '37575-8', '38101-2', '46376-0', '38100-4', '38102-0', '25030-8', '30832-0', '30831-2', '37387-8', '37939-6', '38861-1', '37941-2', '24658-7', '30837-9', '24546-4', '37366-2', '69054-5', '37380-3', '37381-1', '37587-3', '37588-1', '37589-9', '37590-7', '37591-5', '37592-3', '37593-1', '37594-9', '37382-9', '37383-7', '38800-9', '37379-5', '37384-5', '37385-2', '37386-0', '24551-4', '30828-8', '37388-6', '24581-1', '69077-6', '37389-4', '24617-3', '26079-4', '39097-1', '39094-8', '39098-9', '38863-7', '37945-3', '30821-3', '30820-5', '37390-2', '37948-7', '38864-5', '37952-9', '26080-2', '26081-0', '39095-5', '38865-2', '37953-7', '38862-9', '37944-6', '37391-0', '37392-8', '37393-6', '37943-8', '24622-3', '37403-3', '37394-4', '37173-2', '30891-6', '37174-0', '37595-6', '30848-6', '30849-4', '37395-1', '37949-5', '37175-7', '37176-5', '37397-7', '37398-5', '38801-7', '37399-3', '30822-1', '62448-6', '62449-4', '30823-9', '25076-1', '43782-2', '37177-3', '24862-5', '37178-1', '37739-0', '37179-9', '25079-5', '37487-6', '47986-5', '47987-3', '30829-6', '64995-4', '65000-2', '37401-7', '24833-6', '24860-9', '30833-8', '37935-4', '24874-0', '44240-0', '69249-1', '37181-5', '37778-8', '37404-1', '39057-5', '30830-4', '37182-3', '37779-6', '30834-6', '62446-0', '62447-8', '24925-0', '26082-8', '26083-6', '26084-4', '24992-0', '24991-2', '37886-9', '37405-8', '37406-6', '37966-9', '37180-7', '37402-5', '38119-4', '37900-8', '37489-2', '37977-6', '37396-9', '37488-4', '37967-7', '24576-1', '37979-2', '37407-4', '37490-0', '37968-5', '42156-0', '25017-5', '43559-4', '37586-5', '39054-2', '38095-6', '38096-4', '38825-6', '30810-6', '38098-0', '38099-8', '38827-2', '24845-0', '30850-2', '30851-0', '37599-8', '38812-4', '24827-8', '30839-5', '30840-3', '37597-2', '37598-0', '37596-4', '38811-6', '37600-4', '39510-3', '37601-2', '38813-2', '39148-2', '39146-6', '39145-8', '39147-4', '24661-1', '38116-0', '38097-2', '38826-4', '24902-9', '26067-9', '26068-7', '26069-5', '38153-3', '48698-5', '42460-6', '48696-9', '24912-8', '24552-2', '25016-7', '39151-6', '37183-1', '37184-9', '37185-6', '37942-0', '37186-4', '37187-2', '37188-0', '37947-9', '24764-3', '26070-3', '26071-1', '26072-9', '24800-5', '26073-7', '26074-5', '26075-2', '37647-5', '37189-8', '37190-6', '37785-3', '24910-2', '26076-0', '26077-8', '26078-6', '37901-6', '37409-0', '37410-8', '37818-2', '25034-0', '37570-9', '37571-7', '37641-8', '37191-4', '24825-2', '30813-0', '64996-2', '64997-0', '24927-6', '37192-2', '37193-0', '70933-7', '25022-5', '30811-4', '37572-5', '24947-4', '38103-8', '30808-0', '38104-6', '24974-8', '24985-4', '69066-9', '30843-7', '37602-0', '30844-5', '37940-4', '58746-9', '24569-6', '37411-6', '24573-8', '37195-5', '30819-7', '39055-9', '37412-4', '37413-2', '37950-3', '42157-8', '37416-5', '39093-0', '37421-5', '37419-9', '37197-1', '37420-7', '37954-5', '37607-9', '24788-2', '37414-0', '37196-3', '37767-1', '37574-1', '30825-4', '37422-3', '37958-6', '30852-8', '24685-0', '69250-9', '30847-8', '30846-0', '37423-1', '37959-4', '30827-0', '65803-9', '65802-1', '65804-7', '65805-4', '30826-2', '37969-3', '37970-1', '37971-9', '37972-7', '24550-6', '37415-7', '38859-5', '37824-0', '25023-3', '26064-6', '26065-3', '26066-1', '25025-8', '30845-2', '30645-6', '43554-5', '39096-3', '43783-0', '25080-3', '30816-3', '24575-3', '37200-3', '37199-7', '37198-9', '24678-5', '24712-2', '42459-8', '24924-3', '24673-6', '24681-9', '24667-8', '24894-8', '39363-7', '38105-3', '39349-6', '30761-1', '38873-6', '38113-7', '25020-9', '30841-1', '30842-9', '37566-7', '37567-5', '37568-3', '69272-3', '24780-9', '38872-8', '38112-9', '37569-1', '30647-2', '39696-0', '42161-0', '39652-3', '42383-0', '42690-8', '24945-8', '24971-4', '43481-1', '30785-0', '43461-3', '39688-7', '24679-3', '42684-1', '42681-7', '37576-6', '39850-3', '25007-6', '39841-2', '39857-8', '39624-2', '24770-0', '39846-1', '39738-0', '25032-4', '42708-8', '30736-3', '24682-7', '37556-8', '37557-6', '37558-4', '37673-1', '37559-2', '37705-1', '37560-0', '37561-8', '37562-6', '37753-1', '37563-4', '37564-2', '37814-1', '39056-7', '38093-1', '39670-5', '64051-6', '64052-4', '24826-0', '24663-7', '42158-6', '42776-5', '25031-6', '24730-4', '39643-2', '39646-5', '39650-7', '24776-7', '30877-5', '24804-7', '26088-5', '26089-3', '26090-1', '39693-7', '39694-5', '43557-8', '39897-4', '39877-6', '39629-1', '39737-2', '39739-8', '39742-2', '39619-2', '43669-1', '39747-1', '30696-9', '39751-3', '30695-1', '25018-3', '39626-7', '49118-3', '39939-4', '39671-3', '39752-1', '24773-4', '30713-2', '42413-5', '43651-9', '39820-6', '39666-3', '39667-1', '69231-9', '69232-7', '24819-5', '39744-8', '39674-7', '41771-7', '39625-9', '39745-5', '43667-5', '39753-9', '39765-3', '39642-4', '44234-3', '39766-1', '39812-3', '39630-9', '39757-0', '24831-0', '44141-0', '44142-8', '39746-3', '69233-5', '25001-9', '26091-9', '26092-7', '26093-5', '44146-9', '39689-5', '69230-1', '39764-6', '24683-5', '44145-1', '39756-2', '24714-8', '44143-6', '39690-3', '42700-5', '24751-0', '39635-8', '51389-5', '42012-5', '24669-4', '37577-4', '37578-2', '44144-4', '37582-4', '69055-2', '52073-4', '28631-0', '46242-4', '52070-0', '74282-5', '71683-7', '71685-2', '34086-9', '60555-0', '34084-4', '69761-5', '70946-9', '34091-9', '48767-8', '60556-8', '35519-8', '35517-2', '35511-5', '34066-1', '60557-6', '72135-7', '34083-6', '60684-8', '60558-4', '34090-1', '34092-7', '35528-9', '69760-7', '60559-2', '70940-2', '34070-3', '34085-1', '57826-0', '57025-9', '35524-8', '34087-7', '34089-3', '69758-1', '35521-4', '69763-1', '34068-7', '43678-2', '34074-5', '42227-9', '34073-7', '35518-0', '35523-0', '61147-5', '70943-6', '70941-0', '70944-4', '35525-5', '35510-7', '34072-9', '71743-9', '34082-8', '61146-7', '71744-7', '69719-3', '69670-8', '34069-5', '72090-4', '64123-3', '71446-9', '60685-5', '73815-3', '64124-1', '34067-9', '34076-0', '69730-0', '59845-8', '60560-0', '62387-6', '34079-4', '34075-2', '70945-1', '70939-4', '66105-8', '74045-6', '57027-5', '43679-0', '49489-8', '43680-8', '34078-6', '34080-2', '61149-1', '70942-8', '70934-5', '70948-5', '70935-2', '60561-8', '34088-5', '51941-3', '51947-0', '51948-8', '51945-4', '51944-7', '51943-9', '51942-1', '51946-2', '34081-0', '43681-6', '66106-6', '43682-4', '59772-4', '60683-0', '71681-1', '71684-5', '71686-0', '71682-9', '71687-8', '71688-6', '57026-7', '69669-0', '59769-0', '42232-9', '42228-7', '57059-8', '59774-0', '59775-7', '59770-8', '59776-5', '59771-6', '59768-2', '59773-2', '35526-3', '35522-2', '57827-8', '43683-2', '34093-5', '70938-6', '69759-9', '48779-3', '48780-1', '42231-1', '42230-3', '38056-8', '42229-5', '69718-5', '35520-6', '44425-7', '35515-6', '35514-9', '61150-9', '35527-1', '55122-6', '34077-8', '35516-4', '35513-1', '42796-3', '35512-3', '69762-3', '43684-0', '54433-8', '70936-0', '43685-7', '34071-1', '74477-1', '74479-7', '74476-3', '74480-5', '74478-9', '42566-0', '21862-8', '69764-9', '48766-0', '70949-3', '60572-5', '60573-3', '60574-1', '73983-9', '40811-2', '29112-0', '29111-2', '72169-6', '44943-9', '11206-0', '26988-6', '50081-9', '57553-0', '57552-2', '57551-4', '53347-1', '1656-8', '42855-7', '16110-9', '40818-7', '53348-9', '25561-2', '55808-0', '56611-7', '56608-3', '57493-9', '40816-1', '56602-6', '56613-3', '56609-1', '56612-5', '56603-4', '57492-1', '56556-4', '56604-2', '56610-9', '56605-9', '59987-8', '59986-0', '59985-2', '59984-5', '56555-6', '16294-1', '57491-3', '56606-7', '13480-9', '44729-2', '69799-5', '57562-1', '57561-3', '57560-5', '72510-1', '72509-3'] }, 'type' => 'CodeableConcept', 'path' => 'DocumentReference.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-doc-typecodes' } }, + 'class' => { 'local_name' => 'local_class', 'valid_codes' => { 'http://loinc.org' => ['11369-6', '11485-0', '11486-8', '11488-4', '11506-3', '11543-6', '15508-5', '18726-0', '18761-7', '18842-5', '26436-6', '26441-6', '26442-4', '27895-2', '27896-0', '27897-8', '27898-6', '28570-0', '28619-5', '28634-4', '29749-9', '29750-7', '29751-5', '29752-3', '34109-9', '34117-2', '34121-4', '34122-2', '34133-9', '34140-4', '34748-4', '34775-7', '47039-3', '47042-7', '47045-0', '47046-8', '47049-2', '57017-6', '57016-8', '56445-0', '53576-5', '56447-6', '18748-4', '11504-8', '57133-1'] }, 'type' => 'CodeableConcept', 'path' => 'DocumentReference.class', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-doc-classcodes' } }, + 'author' => { 'type' => 'Reference', 'path' => 'DocumentReference.author', 'min' => 0, 'max' => Float::INFINITY }, + 'custodian' => { 'type' => 'Reference', 'path' => 'DocumentReference.custodian', 'min' => 0, 'max' => 1 }, + 'authenticator' => { 'type' => 'Reference', 'path' => 'DocumentReference.authenticator', 'min' => 0, 'max' => 1 }, + 'created' => { 'type' => 'dateTime', 'path' => 'DocumentReference.created', 'min' => 0, 'max' => 1 }, + 'indexed' => { 'type' => 'instant', 'path' => 'DocumentReference.indexed', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/document-reference-status' => ['current', 'superseded', 'entered-in-error'] }, 'type' => 'code', 'path' => 'DocumentReference.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/document-reference-status' } }, + 'docStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/composition-status' => ['preliminary', 'final', 'amended', 'entered-in-error'] }, 'type' => 'CodeableConcept', 'path' => 'DocumentReference.docStatus', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/composition-status' } }, + 'relatesTo' => { 'type' => 'DocumentReference::RelatesTo', 'path' => 'DocumentReference.relatesTo', 'min' => 0, 'max' => Float::INFINITY }, + 'description' => { 'type' => 'string', 'path' => 'DocumentReference.description', 'min' => 0, 'max' => 1 }, + 'securityLabel' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/Confidentiality' => ['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue' => ['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw' => ['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332'] }, 'type' => 'CodeableConcept', 'path' => 'DocumentReference.securityLabel', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/security-labels' } }, + 'content' => { 'type' => 'DocumentReference::Content', 'path' => 'DocumentReference.content', 'min' => 1, 'max' => Float::INFINITY }, + 'context' => { 'type' => 'DocumentReference::Context', 'path' => 'DocumentReference.context', 'min' => 0, 'max' => 1 } } class RelatesTo < FHIR::DSTU2::Model @@ -40,11 +40,11 @@ class RelatesTo < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'RelatesTo.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'RelatesTo.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'RelatesTo.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/document-relationship-type'=>['replaces', 'transforms', 'signs', 'appends']}, 'type'=>'code', 'path'=>'RelatesTo.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/document-relationship-type'}}, - 'target' => {'type'=>'Reference', 'path'=>'RelatesTo.target', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'RelatesTo.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'RelatesTo.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RelatesTo.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/document-relationship-type' => ['replaces', 'transforms', 'signs', 'appends'] }, 'type' => 'code', 'path' => 'RelatesTo.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/document-relationship-type' } }, + 'target' => { 'type' => 'Reference', 'path' => 'RelatesTo.target', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -60,11 +60,11 @@ class Content < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Content.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Content.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Content.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'attachment' => {'type'=>'Attachment', 'path'=>'Content.attachment', 'min'=>1, 'max'=>1}, - 'format' => {'valid_codes'=>{'urn:oid:1.3.6.1.4.1.19376.1.2.3'=>['urn:ihe:pcc:handp:2008', 'urn:ihe:pcc:xphr:2007', 'urn:ihe:pcc:aps:2007', 'urn:ihe:pcc:xds-ms:2007', 'urn:ihe:pcc:edr:2007', 'urn:ihe:pcc:edes:2007', 'urn:ihe:pcc:apr:handp:2008', 'urn:ihe:pcc:apr:lab:2008', 'urn:ihe:pcc:apr:edu:2008', 'urn:ihe:pcc:irc:2008', 'urn:ihe:pcc:crc:2008', 'urn:ihe:pcc:cm:2008', 'urn:ihe:pcc:ic:2009', 'urn:ihe:pcc:tn:2007', 'urn:ihe:pcc:nn:2007', 'urn:ihe:pcc:ctn:2007', 'urn:ihe:pcc:edpn:2007', 'urn:ihe:pcc:hp:2008', 'urn:ihe:pcc:ldhp:2009', 'urn:ihe:pcc:lds:2009', 'urn:ihe:pcc:mds:2009', 'urn:ihe:pcc:nds:2010', 'urn:ihe:pcc:ppvs:2010', 'urn:ihe:pcc:trs:2011', 'urn:ihe:pcc:ets:2011', 'urn:ihe:pcc:its:2011', 'urn:ihe:iti:bppc:2007', 'urn:ihe:iti:bppc-sd:2007', 'urn:ihe:iti:xdw:2011:workflowDoc', 'urn:ihe:iti:dsg:detached:2014', 'urn:ihe:iti:dsg:enveloping:2014', 'urn:ihe:iti:xds-sd:pdf:2008', 'urn:ihe:iti:xds-sd:text:2008', 'urn:ihe:lab:xd-lab:2008', 'urn:ihe:rad:TEXT', 'urn:ihe:rad:PDF', 'urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013', 'urn:ihe:card:imaging:2011', 'urn:ihe:card:CRC:2012', 'urn:ihe:card:EPRC-IE:2014', 'urn:ihe:dent:TEXT', 'urn:ihe:dent:PDF', 'urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013', 'urn:ihe:pat:apsr:all:2010', 'urn:ihe:pat:apsr:cancer:all:2010', 'urn:ihe:pat:apsr:cancer:breast:2010', 'urn:ihe:pat:apsr:cancer:colon:2010', 'urn:ihe:pat:apsr:cancer:prostate:2010', 'urn:ihe:pat:apsr:cancer:thyroid:2010', 'urn:ihe:pat:apsr:cancer:lung:2010', 'urn:ihe:pat:apsr:cancer:skin:2010', 'urn:ihe:pat:apsr:cancer:kidney:2010', 'urn:ihe:pat:apsr:cancer:cervix:2010', 'urn:ihe:pat:apsr:cancer:endometrium:2010', 'urn:ihe:pat:apsr:cancer:ovary:2010', 'urn:ihe:pat:apsr:cancer:esophagus: 2010', 'urn:ihe:pat:apsr:cancer:stomach: 2010', 'urn:ihe:pat:apsr:cancer:liver:2010', 'urn:ihe:pat:apsr:cancer:pancreas: 2010', 'urn:ihe:pat:apsr:cancer:testis:2010', 'urn:ihe:pat:apsr:cancer:urinary_bladder:2010', 'urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010', 'urn:ihe:pat:apsr:cancer:pharynx:2010', 'urn:ihe:pat:apsr:cancer:salivary_gland:2010', 'urn:ihe:pat:apsr:cancer:larynx:2010', 'urn:ihe:pharm:pre:2010', 'urn:ihe:pharm:padv:2010', 'urn:ihe:pharm:dis:2010', 'urn:ihe:pharm:pml:2013', 'urn:hl7-org:sdwg:ccda-structuredBody:1.1', 'urn:hl7-org:sdwg:ccda-nonXMLBody:1.1']}, 'type'=>'Coding', 'path'=>'Content.format', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/formatcodes'}} + 'id' => { 'type' => 'id', 'path' => 'Content.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Content.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Content.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'attachment' => { 'type' => 'Attachment', 'path' => 'Content.attachment', 'min' => 1, 'max' => 1 }, + 'format' => { 'valid_codes' => { 'urn:oid:1.3.6.1.4.1.19376.1.2.3' => ['urn:ihe:pcc:handp:2008', 'urn:ihe:pcc:xphr:2007', 'urn:ihe:pcc:aps:2007', 'urn:ihe:pcc:xds-ms:2007', 'urn:ihe:pcc:edr:2007', 'urn:ihe:pcc:edes:2007', 'urn:ihe:pcc:apr:handp:2008', 'urn:ihe:pcc:apr:lab:2008', 'urn:ihe:pcc:apr:edu:2008', 'urn:ihe:pcc:irc:2008', 'urn:ihe:pcc:crc:2008', 'urn:ihe:pcc:cm:2008', 'urn:ihe:pcc:ic:2009', 'urn:ihe:pcc:tn:2007', 'urn:ihe:pcc:nn:2007', 'urn:ihe:pcc:ctn:2007', 'urn:ihe:pcc:edpn:2007', 'urn:ihe:pcc:hp:2008', 'urn:ihe:pcc:ldhp:2009', 'urn:ihe:pcc:lds:2009', 'urn:ihe:pcc:mds:2009', 'urn:ihe:pcc:nds:2010', 'urn:ihe:pcc:ppvs:2010', 'urn:ihe:pcc:trs:2011', 'urn:ihe:pcc:ets:2011', 'urn:ihe:pcc:its:2011', 'urn:ihe:iti:bppc:2007', 'urn:ihe:iti:bppc-sd:2007', 'urn:ihe:iti:xdw:2011:workflowDoc', 'urn:ihe:iti:dsg:detached:2014', 'urn:ihe:iti:dsg:enveloping:2014', 'urn:ihe:iti:xds-sd:pdf:2008', 'urn:ihe:iti:xds-sd:text:2008', 'urn:ihe:lab:xd-lab:2008', 'urn:ihe:rad:TEXT', 'urn:ihe:rad:PDF', 'urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013', 'urn:ihe:card:imaging:2011', 'urn:ihe:card:CRC:2012', 'urn:ihe:card:EPRC-IE:2014', 'urn:ihe:dent:TEXT', 'urn:ihe:dent:PDF', 'urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013', 'urn:ihe:pat:apsr:all:2010', 'urn:ihe:pat:apsr:cancer:all:2010', 'urn:ihe:pat:apsr:cancer:breast:2010', 'urn:ihe:pat:apsr:cancer:colon:2010', 'urn:ihe:pat:apsr:cancer:prostate:2010', 'urn:ihe:pat:apsr:cancer:thyroid:2010', 'urn:ihe:pat:apsr:cancer:lung:2010', 'urn:ihe:pat:apsr:cancer:skin:2010', 'urn:ihe:pat:apsr:cancer:kidney:2010', 'urn:ihe:pat:apsr:cancer:cervix:2010', 'urn:ihe:pat:apsr:cancer:endometrium:2010', 'urn:ihe:pat:apsr:cancer:ovary:2010', 'urn:ihe:pat:apsr:cancer:esophagus: 2010', 'urn:ihe:pat:apsr:cancer:stomach: 2010', 'urn:ihe:pat:apsr:cancer:liver:2010', 'urn:ihe:pat:apsr:cancer:pancreas: 2010', 'urn:ihe:pat:apsr:cancer:testis:2010', 'urn:ihe:pat:apsr:cancer:urinary_bladder:2010', 'urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010', 'urn:ihe:pat:apsr:cancer:pharynx:2010', 'urn:ihe:pat:apsr:cancer:salivary_gland:2010', 'urn:ihe:pat:apsr:cancer:larynx:2010', 'urn:ihe:pharm:pre:2010', 'urn:ihe:pharm:padv:2010', 'urn:ihe:pharm:dis:2010', 'urn:ihe:pharm:pml:2013', 'urn:hl7-org:sdwg:ccda-structuredBody:1.1', 'urn:hl7-org:sdwg:ccda-nonXMLBody:1.1'] }, 'type' => 'Coding', 'path' => 'Content.format', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/formatcodes' } } } attr_accessor :id # 0-1 id @@ -80,16 +80,16 @@ class Context < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Context.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Context.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Context.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'encounter' => {'type'=>'Reference', 'path'=>'Context.encounter', 'min'=>0, 'max'=>1}, - 'event' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'CodeableConcept', 'path'=>'Context.event', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActCode'}}, - 'period' => {'type'=>'Period', 'path'=>'Context.period', 'min'=>0, 'max'=>1}, - 'facilityType' => {'valid_codes'=>{'http://snomed.info/sct'=>['82242000', '225732001', '79993009', '32074000', '4322002', '224687002', '62480006', '80522000', '36125001', '48311003', '284546000', '42665001', '45618002', '418518002', '73770003', '69362002', '52668009', '360957003', '10206005', '37550003', '73644007', '31628002', '58482006', '90484001', '1814000', '22549003', '56293002', '360966004', '2849009', '14866005', '38238005', '56189001', '89972002', '78088001', '78001009', '23392004', '36293008', '3729002', '5584006', '37546005', '57159002', '331006', '50569004', '79491001', '33022008', '19602009', '39350007', '83891005', '394759007', '405607001', '309900005', '275576008', '10531005', '91154008', '41844007', '45899008', '51563005', '1773006', '72311000', '6827000', '309898008', '39913001', '77931003', '25681007', '20078004', '46224007', '81234003', '35971002', '11424001', '409519008', '901005', '2081004', '59374000', '413456002', '413817003', '310205006', '419955002', '272501009', '394777002']}, 'type'=>'CodeableConcept', 'path'=>'Context.facilityType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-facilitycodes'}}, - 'practiceSetting' => {'valid_codes'=>{'http://snomed.info/sct'=>['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004']}, 'type'=>'CodeableConcept', 'path'=>'Context.practiceSetting', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-practice-codes'}}, - 'sourcePatientInfo' => {'type'=>'Reference', 'path'=>'Context.sourcePatientInfo', 'min'=>0, 'max'=>1}, - 'related' => {'type'=>'DocumentReference::Context::Related', 'path'=>'Context.related', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Context.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Context.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Context.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Context.encounter', 'min' => 0, 'max' => 1 }, + 'event' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'CodeableConcept', 'path' => 'Context.event', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActCode' } }, + 'period' => { 'type' => 'Period', 'path' => 'Context.period', 'min' => 0, 'max' => 1 }, + 'facilityType' => { 'valid_codes' => { 'http://snomed.info/sct' => ['82242000', '225732001', '79993009', '32074000', '4322002', '224687002', '62480006', '80522000', '36125001', '48311003', '284546000', '42665001', '45618002', '418518002', '73770003', '69362002', '52668009', '360957003', '10206005', '37550003', '73644007', '31628002', '58482006', '90484001', '1814000', '22549003', '56293002', '360966004', '2849009', '14866005', '38238005', '56189001', '89972002', '78088001', '78001009', '23392004', '36293008', '3729002', '5584006', '37546005', '57159002', '331006', '50569004', '79491001', '33022008', '19602009', '39350007', '83891005', '394759007', '405607001', '309900005', '275576008', '10531005', '91154008', '41844007', '45899008', '51563005', '1773006', '72311000', '6827000', '309898008', '39913001', '77931003', '25681007', '20078004', '46224007', '81234003', '35971002', '11424001', '409519008', '901005', '2081004', '59374000', '413456002', '413817003', '310205006', '419955002', '272501009', '394777002'] }, 'type' => 'CodeableConcept', 'path' => 'Context.facilityType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-facilitycodes' } }, + 'practiceSetting' => { 'valid_codes' => { 'http://snomed.info/sct' => ['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004'] }, 'type' => 'CodeableConcept', 'path' => 'Context.practiceSetting', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-practice-codes' } }, + 'sourcePatientInfo' => { 'type' => 'Reference', 'path' => 'Context.sourcePatientInfo', 'min' => 0, 'max' => 1 }, + 'related' => { 'type' => 'DocumentReference::Context::Related', 'path' => 'Context.related', 'min' => 0, 'max' => Float::INFINITY } } class Related < FHIR::DSTU2::Model @@ -98,11 +98,11 @@ class Related < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Related.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Related.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Related.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Related.identifier', 'min'=>0, 'max'=>1}, - 'ref' => {'type'=>'Reference', 'path'=>'Related.ref', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Related.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Related.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Related.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Related.identifier', 'min' => 0, 'max' => 1 }, + 'ref' => { 'type' => 'Reference', 'path' => 'Related.ref', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb b/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb index f032d1f7..404a9146 100644 --- a/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb +++ b/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb @@ -7,14 +7,14 @@ class DomainResource < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'DomainResource.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'DomainResource.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'DomainResource.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'DomainResource.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'DomainResource.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'DomainResource.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'DomainResource.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DomainResource.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'DomainResource.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'DomainResource.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'DomainResource.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'DomainResource.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'DomainResource.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'DomainResource.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'DomainResource.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DomainResource.modifierExtension', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb b/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb index 5be26eab..141d3f20 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb @@ -7,21 +7,21 @@ class EligibilityRequest < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'EligibilityRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'EligibilityRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'EligibilityRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'EligibilityRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'EligibilityRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'EligibilityRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'EligibilityRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'EligibilityRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'EligibilityRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EligibilityRequest.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EligibilityRequest.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'EligibilityRequest.created', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'Reference', 'path'=>'EligibilityRequest.target', 'min'=>0, 'max'=>1}, - 'provider' => {'type'=>'Reference', 'path'=>'EligibilityRequest.provider', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'EligibilityRequest.organization', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'EligibilityRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'EligibilityRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'EligibilityRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'EligibilityRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'EligibilityRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'EligibilityRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'EligibilityRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'EligibilityRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'EligibilityRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EligibilityRequest.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EligibilityRequest.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'EligibilityRequest.created', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'Reference', 'path' => 'EligibilityRequest.target', 'min' => 0, 'max' => 1 }, + 'provider' => { 'type' => 'Reference', 'path' => 'EligibilityRequest.provider', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'EligibilityRequest.organization', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb b/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb index 635d4726..bf7b5980 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb @@ -7,24 +7,24 @@ class EligibilityResponse < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'EligibilityResponse.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'EligibilityResponse.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'EligibilityResponse.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'EligibilityResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'EligibilityResponse.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'EligibilityResponse.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'EligibilityResponse.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'EligibilityResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'EligibilityResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'request' => {'type'=>'Reference', 'path'=>'EligibilityResponse.request', 'min'=>0, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['complete', 'error']}, 'type'=>'code', 'path'=>'EligibilityResponse.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome'}}, - 'disposition' => {'type'=>'string', 'path'=>'EligibilityResponse.disposition', 'min'=>0, 'max'=>1}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EligibilityResponse.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EligibilityResponse.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'EligibilityResponse.created', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'EligibilityResponse.organization', 'min'=>0, 'max'=>1}, - 'requestProvider' => {'type'=>'Reference', 'path'=>'EligibilityResponse.requestProvider', 'min'=>0, 'max'=>1}, - 'requestOrganization' => {'type'=>'Reference', 'path'=>'EligibilityResponse.requestOrganization', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'EligibilityResponse.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'EligibilityResponse.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'EligibilityResponse.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'EligibilityResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'EligibilityResponse.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'EligibilityResponse.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'EligibilityResponse.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'EligibilityResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'EligibilityResponse.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'request' => { 'type' => 'Reference', 'path' => 'EligibilityResponse.request', 'min' => 0, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/remittance-outcome' => ['complete', 'error'] }, 'type' => 'code', 'path' => 'EligibilityResponse.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/remittance-outcome' } }, + 'disposition' => { 'type' => 'string', 'path' => 'EligibilityResponse.disposition', 'min' => 0, 'max' => 1 }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EligibilityResponse.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EligibilityResponse.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'EligibilityResponse.created', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'EligibilityResponse.organization', 'min' => 0, 'max' => 1 }, + 'requestProvider' => { 'type' => 'Reference', 'path' => 'EligibilityResponse.requestProvider', 'min' => 0, 'max' => 1 }, + 'requestOrganization' => { 'type' => 'Reference', 'path' => 'EligibilityResponse.requestOrganization', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Encounter.rb b/lib/fhir_dstu2_models/fhir/resources/Encounter.rb index e0a454c4..19ce3480 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Encounter.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Encounter.rb @@ -7,33 +7,33 @@ class Encounter < FHIR::DSTU2::Model SEARCH_PARAMS = ['appointment', 'condition', 'date', 'episodeofcare', 'identifier', 'incomingreferral', 'indication', 'length', 'location', 'location-period', 'part-of', 'participant', 'participant-type', 'patient', 'practitioner', 'procedure', 'reason', 'special-arrangement', 'status', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Encounter.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Encounter.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Encounter.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Encounter.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Encounter.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Encounter.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Encounter.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Encounter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Encounter.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/encounter-state'=>['planned', 'arrived', 'in-progress', 'onleave', 'finished', 'cancelled']}, 'type'=>'code', 'path'=>'Encounter.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-state'}}, - 'statusHistory' => {'type'=>'Encounter::StatusHistory', 'path'=>'Encounter.statusHistory', 'min'=>0, 'max'=>Float::INFINITY}, - 'class' => {'local_name'=>'local_class', 'valid_codes'=>{'http://hl7.org/fhir/encounter-class'=>['inpatient', 'outpatient', 'ambulatory', 'emergency', 'home', 'field', 'daytime', 'virtual', 'other']}, 'type'=>'code', 'path'=>'Encounter.class', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-class'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/encounter-type'=>['ADMS', 'BD/BM-clin', 'CCS60', 'OKI']}, 'type'=>'CodeableConcept', 'path'=>'Encounter.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-type'}}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/encounter-priority'=>['imm', 'emg', 'urg', 's-urg', 'no-urg']}, 'type'=>'CodeableConcept', 'path'=>'Encounter.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-priority'}}, - 'patient' => {'type'=>'Reference', 'path'=>'Encounter.patient', 'min'=>0, 'max'=>1}, - 'episodeOfCare' => {'type'=>'Reference', 'path'=>'Encounter.episodeOfCare', 'min'=>0, 'max'=>Float::INFINITY}, - 'incomingReferral' => {'type'=>'Reference', 'path'=>'Encounter.incomingReferral', 'min'=>0, 'max'=>Float::INFINITY}, - 'participant' => {'type'=>'Encounter::Participant', 'path'=>'Encounter.participant', 'min'=>0, 'max'=>Float::INFINITY}, - 'appointment' => {'type'=>'Reference', 'path'=>'Encounter.appointment', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Encounter.period', 'min'=>0, 'max'=>1}, - 'length' => {'type'=>'Quantity', 'path'=>'Encounter.length', 'min'=>0, 'max'=>1}, - 'reason' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Encounter.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-reason'}}, - 'indication' => {'type'=>'Reference', 'path'=>'Encounter.indication', 'min'=>0, 'max'=>Float::INFINITY}, - 'hospitalization' => {'type'=>'Encounter::Hospitalization', 'path'=>'Encounter.hospitalization', 'min'=>0, 'max'=>1}, - 'location' => {'type'=>'Encounter::Location', 'path'=>'Encounter.location', 'min'=>0, 'max'=>Float::INFINITY}, - 'serviceProvider' => {'type'=>'Reference', 'path'=>'Encounter.serviceProvider', 'min'=>0, 'max'=>1}, - 'partOf' => {'type'=>'Reference', 'path'=>'Encounter.partOf', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Encounter.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Encounter.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Encounter.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Encounter.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Encounter.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Encounter.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Encounter.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Encounter.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Encounter.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/encounter-state' => ['planned', 'arrived', 'in-progress', 'onleave', 'finished', 'cancelled'] }, 'type' => 'code', 'path' => 'Encounter.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-state' } }, + 'statusHistory' => { 'type' => 'Encounter::StatusHistory', 'path' => 'Encounter.statusHistory', 'min' => 0, 'max' => Float::INFINITY }, + 'class' => { 'local_name' => 'local_class', 'valid_codes' => { 'http://hl7.org/fhir/encounter-class' => ['inpatient', 'outpatient', 'ambulatory', 'emergency', 'home', 'field', 'daytime', 'virtual', 'other'] }, 'type' => 'code', 'path' => 'Encounter.class', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-class' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/encounter-type' => ['ADMS', 'BD/BM-clin', 'CCS60', 'OKI'] }, 'type' => 'CodeableConcept', 'path' => 'Encounter.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-type' } }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/encounter-priority' => ['imm', 'emg', 'urg', 's-urg', 'no-urg'] }, 'type' => 'CodeableConcept', 'path' => 'Encounter.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-priority' } }, + 'patient' => { 'type' => 'Reference', 'path' => 'Encounter.patient', 'min' => 0, 'max' => 1 }, + 'episodeOfCare' => { 'type' => 'Reference', 'path' => 'Encounter.episodeOfCare', 'min' => 0, 'max' => Float::INFINITY }, + 'incomingReferral' => { 'type' => 'Reference', 'path' => 'Encounter.incomingReferral', 'min' => 0, 'max' => Float::INFINITY }, + 'participant' => { 'type' => 'Encounter::Participant', 'path' => 'Encounter.participant', 'min' => 0, 'max' => Float::INFINITY }, + 'appointment' => { 'type' => 'Reference', 'path' => 'Encounter.appointment', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'Encounter.period', 'min' => 0, 'max' => 1 }, + 'length' => { 'type' => 'Quantity', 'path' => 'Encounter.length', 'min' => 0, 'max' => 1 }, + 'reason' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Encounter.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-reason' } }, + 'indication' => { 'type' => 'Reference', 'path' => 'Encounter.indication', 'min' => 0, 'max' => Float::INFINITY }, + 'hospitalization' => { 'type' => 'Encounter::Hospitalization', 'path' => 'Encounter.hospitalization', 'min' => 0, 'max' => 1 }, + 'location' => { 'type' => 'Encounter::Location', 'path' => 'Encounter.location', 'min' => 0, 'max' => Float::INFINITY }, + 'serviceProvider' => { 'type' => 'Reference', 'path' => 'Encounter.serviceProvider', 'min' => 0, 'max' => 1 }, + 'partOf' => { 'type' => 'Reference', 'path' => 'Encounter.partOf', 'min' => 0, 'max' => 1 } } class StatusHistory < FHIR::DSTU2::Model @@ -42,11 +42,11 @@ class StatusHistory < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'StatusHistory.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'StatusHistory.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'StatusHistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/encounter-state'=>['planned', 'arrived', 'in-progress', 'onleave', 'finished', 'cancelled']}, 'type'=>'code', 'path'=>'StatusHistory.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-state'}}, - 'period' => {'type'=>'Period', 'path'=>'StatusHistory.period', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'StatusHistory.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'StatusHistory.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'StatusHistory.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/encounter-state' => ['planned', 'arrived', 'in-progress', 'onleave', 'finished', 'cancelled'] }, 'type' => 'code', 'path' => 'StatusHistory.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-state' } }, + 'period' => { 'type' => 'Period', 'path' => 'StatusHistory.period', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -62,12 +62,12 @@ class Participant < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Participant.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Participant.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Participant.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/participant-type'=>['translator', 'emergency'], 'http://hl7.org/fhir/v3/ParticipationType'=>['PART', 'ADM', 'ATND', 'CALLBCK', 'CON', 'DIS', 'ESC', 'REF', '_ParticipationInformationGenerator', 'AUT', 'INF', 'TRANS', 'ENT', 'WIT', 'CST', 'DIR', 'ALY', 'BBY', 'CAT', 'CSM', 'TPA', 'DEV', 'NRD', 'RDV', 'DON', 'EXPAGNT', 'EXPART', 'EXPTRGT', 'EXSRC', 'PRD', 'SBJ', 'SPC', 'IND', 'BEN', 'CAGNT', 'COV', 'GUAR', 'HLD', 'RCT', 'RCV', 'IRCP', 'NOT', 'PRCP', 'REFB', 'REFT', 'TRC', 'LOC', 'DST', 'ELOC', 'ORG', 'RML', 'VIA', 'PRF', 'DIST', 'PPRF', 'SPRF', 'RESP', 'VRF', 'AUTHEN', 'LA']}, 'type'=>'CodeableConcept', 'path'=>'Participant.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-participant-type'}}, - 'period' => {'type'=>'Period', 'path'=>'Participant.period', 'min'=>0, 'max'=>1}, - 'individual' => {'type'=>'Reference', 'path'=>'Participant.individual', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Participant.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Participant.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Participant.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/participant-type' => ['translator', 'emergency'], 'http://hl7.org/fhir/v3/ParticipationType' => ['PART', 'ADM', 'ATND', 'CALLBCK', 'CON', 'DIS', 'ESC', 'REF', '_ParticipationInformationGenerator', 'AUT', 'INF', 'TRANS', 'ENT', 'WIT', 'CST', 'DIR', 'ALY', 'BBY', 'CAT', 'CSM', 'TPA', 'DEV', 'NRD', 'RDV', 'DON', 'EXPAGNT', 'EXPART', 'EXPTRGT', 'EXSRC', 'PRD', 'SBJ', 'SPC', 'IND', 'BEN', 'CAGNT', 'COV', 'GUAR', 'HLD', 'RCT', 'RCV', 'IRCP', 'NOT', 'PRCP', 'REFB', 'REFT', 'TRC', 'LOC', 'DST', 'ELOC', 'ORG', 'RML', 'VIA', 'PRF', 'DIST', 'PPRF', 'SPRF', 'RESP', 'VRF', 'AUTHEN', 'LA'] }, 'type' => 'CodeableConcept', 'path' => 'Participant.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-participant-type' } }, + 'period' => { 'type' => 'Period', 'path' => 'Participant.period', 'min' => 0, 'max' => 1 }, + 'individual' => { 'type' => 'Reference', 'path' => 'Participant.individual', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -84,20 +84,20 @@ class Hospitalization < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Hospitalization.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Hospitalization.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Hospitalization.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'preAdmissionIdentifier' => {'type'=>'Identifier', 'path'=>'Hospitalization.preAdmissionIdentifier', 'min'=>0, 'max'=>1}, - 'origin' => {'type'=>'Reference', 'path'=>'Hospitalization.origin', 'min'=>0, 'max'=>1}, - 'admitSource' => {'valid_codes'=>{'http://hl7.org/fhir/admit-source'=>['hosp-trans', 'emd', 'outp', 'born', 'gp', 'mp', 'nursing', 'psych', 'rehab', 'other']}, 'type'=>'CodeableConcept', 'path'=>'Hospitalization.admitSource', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-admit-source'}}, - 'admittingDiagnosis' => {'type'=>'Reference', 'path'=>'Hospitalization.admittingDiagnosis', 'min'=>0, 'max'=>Float::INFINITY}, - 'reAdmission' => {'type'=>'CodeableConcept', 'path'=>'Hospitalization.reAdmission', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'dietPreference' => {'valid_codes'=>{'http://hl7.org/fhir/diet'=>['vegetarian', 'dairy-free', 'nut-free', 'gluten-free', 'vegan', 'halal', 'kosher']}, 'type'=>'CodeableConcept', 'path'=>'Hospitalization.dietPreference', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-diet'}}, - 'specialCourtesy' => {'valid_codes'=>{'http://hl7.org/fhir/v3/EncounterSpecialCourtesy'=>['EXT', 'NRM', 'PRF', 'STF', 'VIP'], 'http://hl7.org/fhir/v3/NullFlavor'=>['NI', 'INV', 'DER', 'OTH', 'NINF', 'PINF', 'UNC', 'MSK', 'NA', 'UNK', 'ASKU', 'NAV', 'NASK', 'QS', 'TRC', 'NP']}, 'type'=>'CodeableConcept', 'path'=>'Hospitalization.specialCourtesy', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-special-courtesy'}}, - 'specialArrangement' => {'valid_codes'=>{'http://hl7.org/fhir/encounter-special-arrangements'=>['wheel', 'stret', 'int', 'att', 'dog']}, 'type'=>'CodeableConcept', 'path'=>'Hospitalization.specialArrangement', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-special-arrangements'}}, - 'destination' => {'type'=>'Reference', 'path'=>'Hospitalization.destination', 'min'=>0, 'max'=>1}, - 'dischargeDisposition' => {'valid_codes'=>{'http://hl7.org/fhir/discharge-disposition'=>['home', 'other-hcf', 'hosp', 'long', 'aadvice', 'exp', 'psy', 'rehab', 'oth']}, 'type'=>'CodeableConcept', 'path'=>'Hospitalization.dischargeDisposition', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-discharge-disposition'}}, - 'dischargeDiagnosis' => {'type'=>'Reference', 'path'=>'Hospitalization.dischargeDiagnosis', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Hospitalization.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Hospitalization.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Hospitalization.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'preAdmissionIdentifier' => { 'type' => 'Identifier', 'path' => 'Hospitalization.preAdmissionIdentifier', 'min' => 0, 'max' => 1 }, + 'origin' => { 'type' => 'Reference', 'path' => 'Hospitalization.origin', 'min' => 0, 'max' => 1 }, + 'admitSource' => { 'valid_codes' => { 'http://hl7.org/fhir/admit-source' => ['hosp-trans', 'emd', 'outp', 'born', 'gp', 'mp', 'nursing', 'psych', 'rehab', 'other'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.admitSource', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-admit-source' } }, + 'admittingDiagnosis' => { 'type' => 'Reference', 'path' => 'Hospitalization.admittingDiagnosis', 'min' => 0, 'max' => Float::INFINITY }, + 'reAdmission' => { 'type' => 'CodeableConcept', 'path' => 'Hospitalization.reAdmission', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'dietPreference' => { 'valid_codes' => { 'http://hl7.org/fhir/diet' => ['vegetarian', 'dairy-free', 'nut-free', 'gluten-free', 'vegan', 'halal', 'kosher'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.dietPreference', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-diet' } }, + 'specialCourtesy' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/EncounterSpecialCourtesy' => ['EXT', 'NRM', 'PRF', 'STF', 'VIP'], 'http://hl7.org/fhir/v3/NullFlavor' => ['NI', 'INV', 'DER', 'OTH', 'NINF', 'PINF', 'UNC', 'MSK', 'NA', 'UNK', 'ASKU', 'NAV', 'NASK', 'QS', 'TRC', 'NP'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.specialCourtesy', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-special-courtesy' } }, + 'specialArrangement' => { 'valid_codes' => { 'http://hl7.org/fhir/encounter-special-arrangements' => ['wheel', 'stret', 'int', 'att', 'dog'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.specialArrangement', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-special-arrangements' } }, + 'destination' => { 'type' => 'Reference', 'path' => 'Hospitalization.destination', 'min' => 0, 'max' => 1 }, + 'dischargeDisposition' => { 'valid_codes' => { 'http://hl7.org/fhir/discharge-disposition' => ['home', 'other-hcf', 'hosp', 'long', 'aadvice', 'exp', 'psy', 'rehab', 'oth'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.dischargeDisposition', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-discharge-disposition' } }, + 'dischargeDiagnosis' => { 'type' => 'Reference', 'path' => 'Hospitalization.dischargeDiagnosis', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -122,12 +122,12 @@ class Location < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Location.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Location.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Location.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'location' => {'type'=>'Reference', 'path'=>'Location.location', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/encounter-location-status'=>['planned', 'active', 'reserved', 'completed']}, 'type'=>'code', 'path'=>'Location.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-location-status'}}, - 'period' => {'type'=>'Period', 'path'=>'Location.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Location.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Location.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Location.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'location' => { 'type' => 'Reference', 'path' => 'Location.location', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/encounter-location-status' => ['planned', 'active', 'reserved', 'completed'] }, 'type' => 'code', 'path' => 'Location.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-location-status' } }, + 'period' => { 'type' => 'Period', 'path' => 'Location.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb b/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb index 7f5a06f3..8331f0d3 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb @@ -7,24 +7,24 @@ class EnrollmentRequest < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier', 'patient', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'EnrollmentRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'EnrollmentRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'EnrollmentRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'EnrollmentRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'EnrollmentRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'EnrollmentRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'EnrollmentRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'EnrollmentRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'EnrollmentRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentRequest.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentRequest.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'EnrollmentRequest.created', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'Reference', 'path'=>'EnrollmentRequest.target', 'min'=>0, 'max'=>1}, - 'provider' => {'type'=>'Reference', 'path'=>'EnrollmentRequest.provider', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'EnrollmentRequest.organization', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'EnrollmentRequest.subject', 'min'=>1, 'max'=>1}, - 'coverage' => {'type'=>'Reference', 'path'=>'EnrollmentRequest.coverage', 'min'=>1, 'max'=>1}, - 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/relationship'=>['1', '2', '3', '4', '5']}, 'type'=>'Coding', 'path'=>'EnrollmentRequest.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/relationship'}} + 'id' => { 'type' => 'id', 'path' => 'EnrollmentRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'EnrollmentRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'EnrollmentRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'EnrollmentRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'EnrollmentRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'EnrollmentRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'EnrollmentRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'EnrollmentRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'EnrollmentRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EnrollmentRequest.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EnrollmentRequest.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'EnrollmentRequest.created', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'Reference', 'path' => 'EnrollmentRequest.target', 'min' => 0, 'max' => 1 }, + 'provider' => { 'type' => 'Reference', 'path' => 'EnrollmentRequest.provider', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'EnrollmentRequest.organization', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'EnrollmentRequest.subject', 'min' => 1, 'max' => 1 }, + 'coverage' => { 'type' => 'Reference', 'path' => 'EnrollmentRequest.coverage', 'min' => 1, 'max' => 1 }, + 'relationship' => { 'valid_codes' => { 'http://hl7.org/fhir/relationship' => ['1', '2', '3', '4', '5'] }, 'type' => 'Coding', 'path' => 'EnrollmentRequest.relationship', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/relationship' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb b/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb index ee0c8eb0..0a51a049 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb @@ -7,24 +7,24 @@ class EnrollmentResponse < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'EnrollmentResponse.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'EnrollmentResponse.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'EnrollmentResponse.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'EnrollmentResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'EnrollmentResponse.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'EnrollmentResponse.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'EnrollmentResponse.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'EnrollmentResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'EnrollmentResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'request' => {'type'=>'Reference', 'path'=>'EnrollmentResponse.request', 'min'=>0, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['complete', 'error']}, 'type'=>'code', 'path'=>'EnrollmentResponse.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome'}}, - 'disposition' => {'type'=>'string', 'path'=>'EnrollmentResponse.disposition', 'min'=>0, 'max'=>1}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentResponse.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentResponse.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'EnrollmentResponse.created', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'EnrollmentResponse.organization', 'min'=>0, 'max'=>1}, - 'requestProvider' => {'type'=>'Reference', 'path'=>'EnrollmentResponse.requestProvider', 'min'=>0, 'max'=>1}, - 'requestOrganization' => {'type'=>'Reference', 'path'=>'EnrollmentResponse.requestOrganization', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'EnrollmentResponse.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'EnrollmentResponse.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'EnrollmentResponse.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'EnrollmentResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'EnrollmentResponse.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'EnrollmentResponse.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'EnrollmentResponse.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'EnrollmentResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'EnrollmentResponse.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'request' => { 'type' => 'Reference', 'path' => 'EnrollmentResponse.request', 'min' => 0, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/remittance-outcome' => ['complete', 'error'] }, 'type' => 'code', 'path' => 'EnrollmentResponse.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/remittance-outcome' } }, + 'disposition' => { 'type' => 'string', 'path' => 'EnrollmentResponse.disposition', 'min' => 0, 'max' => 1 }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EnrollmentResponse.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'EnrollmentResponse.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'EnrollmentResponse.created', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'EnrollmentResponse.organization', 'min' => 0, 'max' => 1 }, + 'requestProvider' => { 'type' => 'Reference', 'path' => 'EnrollmentResponse.requestProvider', 'min' => 0, 'max' => 1 }, + 'requestOrganization' => { 'type' => 'Reference', 'path' => 'EnrollmentResponse.requestOrganization', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb b/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb index ed3b0217..97542a85 100644 --- a/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb +++ b/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb @@ -7,25 +7,25 @@ class EpisodeOfCare < FHIR::DSTU2::Model SEARCH_PARAMS = ['care-manager', 'condition', 'date', 'identifier', 'incomingreferral', 'organization', 'patient', 'status', 'team-member', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'EpisodeOfCare.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'EpisodeOfCare.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'EpisodeOfCare.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'EpisodeOfCare.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'EpisodeOfCare.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'EpisodeOfCare.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'EpisodeOfCare.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'EpisodeOfCare.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'EpisodeOfCare.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/episode-of-care-status'=>['planned', 'waitlist', 'active', 'onhold', 'finished', 'cancelled']}, 'type'=>'code', 'path'=>'EpisodeOfCare.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/episode-of-care-status'}}, - 'statusHistory' => {'type'=>'EpisodeOfCare::StatusHistory', 'path'=>'EpisodeOfCare.statusHistory', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'type'=>'CodeableConcept', 'path'=>'EpisodeOfCare.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'condition' => {'type'=>'Reference', 'path'=>'EpisodeOfCare.condition', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'EpisodeOfCare.patient', 'min'=>1, 'max'=>1}, - 'managingOrganization' => {'type'=>'Reference', 'path'=>'EpisodeOfCare.managingOrganization', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'EpisodeOfCare.period', 'min'=>0, 'max'=>1}, - 'referralRequest' => {'type'=>'Reference', 'path'=>'EpisodeOfCare.referralRequest', 'min'=>0, 'max'=>Float::INFINITY}, - 'careManager' => {'type'=>'Reference', 'path'=>'EpisodeOfCare.careManager', 'min'=>0, 'max'=>1}, - 'careTeam' => {'type'=>'EpisodeOfCare::CareTeam', 'path'=>'EpisodeOfCare.careTeam', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'EpisodeOfCare.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'EpisodeOfCare.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'EpisodeOfCare.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'EpisodeOfCare.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'EpisodeOfCare.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'EpisodeOfCare.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'EpisodeOfCare.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'EpisodeOfCare.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'EpisodeOfCare.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/episode-of-care-status' => ['planned', 'waitlist', 'active', 'onhold', 'finished', 'cancelled'] }, 'type' => 'code', 'path' => 'EpisodeOfCare.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/episode-of-care-status' } }, + 'statusHistory' => { 'type' => 'EpisodeOfCare::StatusHistory', 'path' => 'EpisodeOfCare.statusHistory', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'type' => 'CodeableConcept', 'path' => 'EpisodeOfCare.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'condition' => { 'type' => 'Reference', 'path' => 'EpisodeOfCare.condition', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'EpisodeOfCare.patient', 'min' => 1, 'max' => 1 }, + 'managingOrganization' => { 'type' => 'Reference', 'path' => 'EpisodeOfCare.managingOrganization', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'EpisodeOfCare.period', 'min' => 0, 'max' => 1 }, + 'referralRequest' => { 'type' => 'Reference', 'path' => 'EpisodeOfCare.referralRequest', 'min' => 0, 'max' => Float::INFINITY }, + 'careManager' => { 'type' => 'Reference', 'path' => 'EpisodeOfCare.careManager', 'min' => 0, 'max' => 1 }, + 'careTeam' => { 'type' => 'EpisodeOfCare::CareTeam', 'path' => 'EpisodeOfCare.careTeam', 'min' => 0, 'max' => Float::INFINITY } } class StatusHistory < FHIR::DSTU2::Model @@ -34,11 +34,11 @@ class StatusHistory < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'StatusHistory.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'StatusHistory.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'StatusHistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/episode-of-care-status'=>['planned', 'waitlist', 'active', 'onhold', 'finished', 'cancelled']}, 'type'=>'code', 'path'=>'StatusHistory.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/episode-of-care-status'}}, - 'period' => {'type'=>'Period', 'path'=>'StatusHistory.period', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'StatusHistory.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'StatusHistory.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'StatusHistory.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/episode-of-care-status' => ['planned', 'waitlist', 'active', 'onhold', 'finished', 'cancelled'] }, 'type' => 'code', 'path' => 'StatusHistory.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/episode-of-care-status' } }, + 'period' => { 'type' => 'Period', 'path' => 'StatusHistory.period', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -54,12 +54,12 @@ class CareTeam < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'CareTeam.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'CareTeam.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'CareTeam.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'role' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'CareTeam.role', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/participant-role'}}, - 'period' => {'type'=>'Period', 'path'=>'CareTeam.period', 'min'=>0, 'max'=>1}, - 'member' => {'type'=>'Reference', 'path'=>'CareTeam.member', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'CareTeam.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'CareTeam.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'CareTeam.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'role' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'CareTeam.role', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/participant-role' } }, + 'period' => { 'type' => 'Period', 'path' => 'CareTeam.period', 'min' => 0, 'max' => 1 }, + 'member' => { 'type' => 'Reference', 'path' => 'CareTeam.member', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb b/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb index 693551ea..958db194 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb @@ -7,24 +7,24 @@ class ExplanationOfBenefit < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ExplanationOfBenefit.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ExplanationOfBenefit.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ExplanationOfBenefit.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ExplanationOfBenefit.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ExplanationOfBenefit.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ExplanationOfBenefit.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ExplanationOfBenefit.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ExplanationOfBenefit.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ExplanationOfBenefit.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'request' => {'type'=>'Reference', 'path'=>'ExplanationOfBenefit.request', 'min'=>0, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['complete', 'error']}, 'type'=>'code', 'path'=>'ExplanationOfBenefit.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome'}}, - 'disposition' => {'type'=>'string', 'path'=>'ExplanationOfBenefit.disposition', 'min'=>0, 'max'=>1}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ExplanationOfBenefit.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ExplanationOfBenefit.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'ExplanationOfBenefit.created', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'ExplanationOfBenefit.organization', 'min'=>0, 'max'=>1}, - 'requestProvider' => {'type'=>'Reference', 'path'=>'ExplanationOfBenefit.requestProvider', 'min'=>0, 'max'=>1}, - 'requestOrganization' => {'type'=>'Reference', 'path'=>'ExplanationOfBenefit.requestOrganization', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ExplanationOfBenefit.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ExplanationOfBenefit.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ExplanationOfBenefit.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ExplanationOfBenefit.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ExplanationOfBenefit.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ExplanationOfBenefit.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ExplanationOfBenefit.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ExplanationOfBenefit.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ExplanationOfBenefit.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'request' => { 'type' => 'Reference', 'path' => 'ExplanationOfBenefit.request', 'min' => 0, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/remittance-outcome' => ['complete', 'error'] }, 'type' => 'code', 'path' => 'ExplanationOfBenefit.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/remittance-outcome' } }, + 'disposition' => { 'type' => 'string', 'path' => 'ExplanationOfBenefit.disposition', 'min' => 0, 'max' => 1 }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ExplanationOfBenefit.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ExplanationOfBenefit.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'ExplanationOfBenefit.created', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'ExplanationOfBenefit.organization', 'min' => 0, 'max' => 1 }, + 'requestProvider' => { 'type' => 'Reference', 'path' => 'ExplanationOfBenefit.requestProvider', 'min' => 0, 'max' => 1 }, + 'requestOrganization' => { 'type' => 'Reference', 'path' => 'ExplanationOfBenefit.requestOrganization', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb b/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb index 8e0e7322..3db68b0b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb +++ b/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb @@ -12,34 +12,34 @@ class FamilyMemberHistory < FHIR::DSTU2::Model } SEARCH_PARAMS = ['code', 'date', 'gender', 'identifier', 'patient', 'relationship'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'FamilyMemberHistory.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'FamilyMemberHistory.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'FamilyMemberHistory.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'FamilyMemberHistory.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'FamilyMemberHistory.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'FamilyMemberHistory.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'FamilyMemberHistory.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'FamilyMemberHistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'FamilyMemberHistory.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'FamilyMemberHistory.patient', 'min'=>1, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'FamilyMemberHistory.date', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/history-status'=>['partial', 'completed', 'entered-in-error', 'health-unknown']}, 'type'=>'code', 'path'=>'FamilyMemberHistory.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/history-status'}}, - 'name' => {'type'=>'string', 'path'=>'FamilyMemberHistory.name', 'min'=>0, 'max'=>1}, - 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RoleCode'=>['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', 'FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_ServiceDeliveryLocationRoleType', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR']}, 'type'=>'CodeableConcept', 'path'=>'FamilyMemberHistory.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-FamilyMember'}}, - 'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'FamilyMemberHistory.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}}, - 'bornPeriod' => {'type'=>'Period', 'path'=>'FamilyMemberHistory.born[x]', 'min'=>0, 'max'=>1}, - 'bornDate' => {'type'=>'date', 'path'=>'FamilyMemberHistory.born[x]', 'min'=>0, 'max'=>1}, - 'bornString' => {'type'=>'string', 'path'=>'FamilyMemberHistory.born[x]', 'min'=>0, 'max'=>1}, - 'ageQuantity' => {'type'=>'Quantity', 'path'=>'FamilyMemberHistory.age[x]', 'min'=>0, 'max'=>1}, - 'ageRange' => {'type'=>'Range', 'path'=>'FamilyMemberHistory.age[x]', 'min'=>0, 'max'=>1}, - 'ageString' => {'type'=>'string', 'path'=>'FamilyMemberHistory.age[x]', 'min'=>0, 'max'=>1}, - 'deceasedBoolean' => {'type'=>'boolean', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, - 'deceasedQuantity' => {'type'=>'Quantity', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, - 'deceasedRange' => {'type'=>'Range', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, - 'deceasedDate' => {'type'=>'date', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, - 'deceasedString' => {'type'=>'string', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, - 'note' => {'type'=>'Annotation', 'path'=>'FamilyMemberHistory.note', 'min'=>0, 'max'=>1}, - 'condition' => {'type'=>'FamilyMemberHistory::Condition', 'path'=>'FamilyMemberHistory.condition', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'FamilyMemberHistory.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'FamilyMemberHistory.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'FamilyMemberHistory.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'FamilyMemberHistory.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'FamilyMemberHistory.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'FamilyMemberHistory.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'FamilyMemberHistory.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'FamilyMemberHistory.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'FamilyMemberHistory.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'FamilyMemberHistory.patient', 'min' => 1, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'FamilyMemberHistory.date', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/history-status' => ['partial', 'completed', 'entered-in-error', 'health-unknown'] }, 'type' => 'code', 'path' => 'FamilyMemberHistory.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/history-status' } }, + 'name' => { 'type' => 'string', 'path' => 'FamilyMemberHistory.name', 'min' => 0, 'max' => 1 }, + 'relationship' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/RoleCode' => ['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', 'FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_ServiceDeliveryLocationRoleType', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR'] }, 'type' => 'CodeableConcept', 'path' => 'FamilyMemberHistory.relationship', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-FamilyMember' } }, + 'gender' => { 'valid_codes' => { 'http://hl7.org/fhir/administrative-gender' => ['male', 'female', 'other', 'unknown'] }, 'type' => 'code', 'path' => 'FamilyMemberHistory.gender', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/administrative-gender' } }, + 'bornPeriod' => { 'type' => 'Period', 'path' => 'FamilyMemberHistory.born[x]', 'min' => 0, 'max' => 1 }, + 'bornDate' => { 'type' => 'date', 'path' => 'FamilyMemberHistory.born[x]', 'min' => 0, 'max' => 1 }, + 'bornString' => { 'type' => 'string', 'path' => 'FamilyMemberHistory.born[x]', 'min' => 0, 'max' => 1 }, + 'ageQuantity' => { 'type' => 'Quantity', 'path' => 'FamilyMemberHistory.age[x]', 'min' => 0, 'max' => 1 }, + 'ageRange' => { 'type' => 'Range', 'path' => 'FamilyMemberHistory.age[x]', 'min' => 0, 'max' => 1 }, + 'ageString' => { 'type' => 'string', 'path' => 'FamilyMemberHistory.age[x]', 'min' => 0, 'max' => 1 }, + 'deceasedBoolean' => { 'type' => 'boolean', 'path' => 'FamilyMemberHistory.deceased[x]', 'min' => 0, 'max' => 1 }, + 'deceasedQuantity' => { 'type' => 'Quantity', 'path' => 'FamilyMemberHistory.deceased[x]', 'min' => 0, 'max' => 1 }, + 'deceasedRange' => { 'type' => 'Range', 'path' => 'FamilyMemberHistory.deceased[x]', 'min' => 0, 'max' => 1 }, + 'deceasedDate' => { 'type' => 'date', 'path' => 'FamilyMemberHistory.deceased[x]', 'min' => 0, 'max' => 1 }, + 'deceasedString' => { 'type' => 'string', 'path' => 'FamilyMemberHistory.deceased[x]', 'min' => 0, 'max' => 1 }, + 'note' => { 'type' => 'Annotation', 'path' => 'FamilyMemberHistory.note', 'min' => 0, 'max' => 1 }, + 'condition' => { 'type' => 'FamilyMemberHistory::Condition', 'path' => 'FamilyMemberHistory.condition', 'min' => 0, 'max' => Float::INFINITY } } class Condition < FHIR::DSTU2::Model @@ -51,16 +51,16 @@ class Condition < FHIR::DSTU2::Model 'onset' => ['Quantity', 'Range', 'Period', 'string'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Condition.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Condition.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Condition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Condition.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'outcome' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Condition.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-outcome'}}, - 'onsetQuantity' => {'type'=>'Quantity', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'onsetRange' => {'type'=>'Range', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'onsetPeriod' => {'type'=>'Period', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'onsetString' => {'type'=>'string', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, - 'note' => {'type'=>'Annotation', 'path'=>'Condition.note', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Condition.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Condition.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Condition.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Condition.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'outcome' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Condition.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-outcome' } }, + 'onsetQuantity' => { 'type' => 'Quantity', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'onsetRange' => { 'type' => 'Range', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'onsetPeriod' => { 'type' => 'Period', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'onsetString' => { 'type' => 'string', 'path' => 'Condition.onset[x]', 'min' => 0, 'max' => 1 }, + 'note' => { 'type' => 'Annotation', 'path' => 'Condition.note', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Flag.rb b/lib/fhir_dstu2_models/fhir/resources/Flag.rb index fbe82502..0503e5c7 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Flag.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Flag.rb @@ -7,22 +7,22 @@ class Flag < FHIR::DSTU2::Model SEARCH_PARAMS = ['author', 'date', 'encounter', 'patient', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Flag.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Flag.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Flag.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Flag.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Flag.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Flag.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Flag.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Flag.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Flag.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/flag-category'=>['diet', 'drug', 'lab', 'admin', 'contact']}, 'type'=>'CodeableConcept', 'path'=>'Flag.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/flag-category'}}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/flag-status'=>['active', 'inactive', 'entered-in-error']}, 'type'=>'code', 'path'=>'Flag.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/flag-status'}}, - 'period' => {'type'=>'Period', 'path'=>'Flag.period', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'Flag.subject', 'min'=>1, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'Flag.encounter', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'Flag.author', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Flag.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/flag-code'}} + 'id' => { 'type' => 'id', 'path' => 'Flag.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Flag.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Flag.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Flag.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Flag.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Flag.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Flag.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Flag.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Flag.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/flag-category' => ['diet', 'drug', 'lab', 'admin', 'contact'] }, 'type' => 'CodeableConcept', 'path' => 'Flag.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/flag-category' } }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/flag-status' => ['active', 'inactive', 'entered-in-error'] }, 'type' => 'code', 'path' => 'Flag.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/flag-status' } }, + 'period' => { 'type' => 'Period', 'path' => 'Flag.period', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'Flag.subject', 'min' => 1, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Flag.encounter', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'Flag.author', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Flag.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/flag-code' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Goal.rb b/lib/fhir_dstu2_models/fhir/resources/Goal.rb index 61cc4685..803fb01b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Goal.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Goal.rb @@ -11,30 +11,30 @@ class Goal < FHIR::DSTU2::Model } SEARCH_PARAMS = ['category', 'identifier', 'patient', 'status', 'subject', 'targetdate'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Goal.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Goal.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Goal.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Goal.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Goal.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Goal.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Goal.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Goal.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Goal.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'Goal.subject', 'min'=>0, 'max'=>1}, - 'startDate' => {'type'=>'date', 'path'=>'Goal.start[x]', 'min'=>0, 'max'=>1}, - 'startCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>['32485007', '308283009', '442137000', '386216000']}, 'type'=>'CodeableConcept', 'path'=>'Goal.start[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/goal-start-event'}}, - 'targetDate' => {'type'=>'date', 'path'=>'Goal.target[x]', 'min'=>0, 'max'=>1}, - 'targetQuantity' => {'type'=>'Quantity', 'path'=>'Goal.target[x]', 'min'=>0, 'max'=>1}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/goal-category'=>['dietary', 'safety', 'behavioral', 'nursing', 'physiotherapy']}, 'type'=>'CodeableConcept', 'path'=>'Goal.category', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/goal-category'}}, - 'description' => {'type'=>'string', 'path'=>'Goal.description', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/goal-status'=>['proposed', 'planned', 'accepted', 'rejected', 'in-progress', 'achieved', 'sustaining', 'on-hold', 'cancelled']}, 'type'=>'code', 'path'=>'Goal.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/goal-status'}}, - 'statusDate' => {'type'=>'date', 'path'=>'Goal.statusDate', 'min'=>0, 'max'=>1}, - 'statusReason' => {'valid_codes'=>{'http://hl7.org/fhir/goal-status-reason'=>['surgery', 'life-event', 'replaced', 'patient-request']}, 'type'=>'CodeableConcept', 'path'=>'Goal.statusReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/goal-status-reason'}}, - 'author' => {'type'=>'Reference', 'path'=>'Goal.author', 'min'=>0, 'max'=>1}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/goal-priority'=>['high', 'medium', 'low']}, 'type'=>'CodeableConcept', 'path'=>'Goal.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/goal-priority'}}, - 'addresses' => {'type'=>'Reference', 'path'=>'Goal.addresses', 'min'=>0, 'max'=>Float::INFINITY}, - 'note' => {'type'=>'Annotation', 'path'=>'Goal.note', 'min'=>0, 'max'=>Float::INFINITY}, - 'outcome' => {'type'=>'Goal::Outcome', 'path'=>'Goal.outcome', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Goal.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Goal.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Goal.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Goal.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Goal.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Goal.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Goal.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Goal.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Goal.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'Goal.subject', 'min' => 0, 'max' => 1 }, + 'startDate' => { 'type' => 'date', 'path' => 'Goal.start[x]', 'min' => 0, 'max' => 1 }, + 'startCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => ['32485007', '308283009', '442137000', '386216000'] }, 'type' => 'CodeableConcept', 'path' => 'Goal.start[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/goal-start-event' } }, + 'targetDate' => { 'type' => 'date', 'path' => 'Goal.target[x]', 'min' => 0, 'max' => 1 }, + 'targetQuantity' => { 'type' => 'Quantity', 'path' => 'Goal.target[x]', 'min' => 0, 'max' => 1 }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/goal-category' => ['dietary', 'safety', 'behavioral', 'nursing', 'physiotherapy'] }, 'type' => 'CodeableConcept', 'path' => 'Goal.category', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/goal-category' } }, + 'description' => { 'type' => 'string', 'path' => 'Goal.description', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/goal-status' => ['proposed', 'planned', 'accepted', 'rejected', 'in-progress', 'achieved', 'sustaining', 'on-hold', 'cancelled'] }, 'type' => 'code', 'path' => 'Goal.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/goal-status' } }, + 'statusDate' => { 'type' => 'date', 'path' => 'Goal.statusDate', 'min' => 0, 'max' => 1 }, + 'statusReason' => { 'valid_codes' => { 'http://hl7.org/fhir/goal-status-reason' => ['surgery', 'life-event', 'replaced', 'patient-request'] }, 'type' => 'CodeableConcept', 'path' => 'Goal.statusReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/goal-status-reason' } }, + 'author' => { 'type' => 'Reference', 'path' => 'Goal.author', 'min' => 0, 'max' => 1 }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/goal-priority' => ['high', 'medium', 'low'] }, 'type' => 'CodeableConcept', 'path' => 'Goal.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/goal-priority' } }, + 'addresses' => { 'type' => 'Reference', 'path' => 'Goal.addresses', 'min' => 0, 'max' => Float::INFINITY }, + 'note' => { 'type' => 'Annotation', 'path' => 'Goal.note', 'min' => 0, 'max' => Float::INFINITY }, + 'outcome' => { 'type' => 'Goal::Outcome', 'path' => 'Goal.outcome', 'min' => 0, 'max' => Float::INFINITY } } class Outcome < FHIR::DSTU2::Model @@ -46,11 +46,11 @@ class Outcome < FHIR::DSTU2::Model 'result' => ['CodeableConcept', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Outcome.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Outcome.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Outcome.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'resultCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Outcome.result[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'resultReference' => {'type'=>'Reference', 'path'=>'Outcome.result[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Outcome.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Outcome.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Outcome.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'resultCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Outcome.result[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'resultReference' => { 'type' => 'Reference', 'path' => 'Outcome.result[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Group.rb b/lib/fhir_dstu2_models/fhir/resources/Group.rb index 19ba8bc0..ce12463d 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Group.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Group.rb @@ -7,22 +7,22 @@ class Group < FHIR::DSTU2::Model SEARCH_PARAMS = ['actual', 'characteristic', 'code', 'exclude', 'identifier', 'member', 'type', 'value'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Group.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Group.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Group.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Group.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Group.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Group.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Group.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Group.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Group.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/group-type'=>['person', 'animal', 'practitioner', 'device', 'medication', 'substance']}, 'type'=>'code', 'path'=>'Group.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/group-type'}}, - 'actual' => {'type'=>'boolean', 'path'=>'Group.actual', 'min'=>1, 'max'=>1}, - 'code' => {'type'=>'CodeableConcept', 'path'=>'Group.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'name' => {'type'=>'string', 'path'=>'Group.name', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'unsignedInt', 'path'=>'Group.quantity', 'min'=>0, 'max'=>1}, - 'characteristic' => {'type'=>'Group::Characteristic', 'path'=>'Group.characteristic', 'min'=>0, 'max'=>Float::INFINITY}, - 'member' => {'type'=>'Group::Member', 'path'=>'Group.member', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Group.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Group.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Group.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Group.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Group.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Group.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Group.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Group.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Group.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/group-type' => ['person', 'animal', 'practitioner', 'device', 'medication', 'substance'] }, 'type' => 'code', 'path' => 'Group.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/group-type' } }, + 'actual' => { 'type' => 'boolean', 'path' => 'Group.actual', 'min' => 1, 'max' => 1 }, + 'code' => { 'type' => 'CodeableConcept', 'path' => 'Group.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'name' => { 'type' => 'string', 'path' => 'Group.name', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'unsignedInt', 'path' => 'Group.quantity', 'min' => 0, 'max' => 1 }, + 'characteristic' => { 'type' => 'Group::Characteristic', 'path' => 'Group.characteristic', 'min' => 0, 'max' => Float::INFINITY }, + 'member' => { 'type' => 'Group::Member', 'path' => 'Group.member', 'min' => 0, 'max' => Float::INFINITY } } class Characteristic < FHIR::DSTU2::Model @@ -34,16 +34,16 @@ class Characteristic < FHIR::DSTU2::Model 'value' => ['CodeableConcept', 'boolean', 'Quantity', 'Range'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Characteristic.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Characteristic.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Characteristic.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'type'=>'CodeableConcept', 'path'=>'Characteristic.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Characteristic.value[x]', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'valueBoolean' => {'type'=>'boolean', 'path'=>'Characteristic.value[x]', 'min'=>1, 'max'=>1}, - 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Characteristic.value[x]', 'min'=>1, 'max'=>1}, - 'valueRange' => {'type'=>'Range', 'path'=>'Characteristic.value[x]', 'min'=>1, 'max'=>1}, - 'exclude' => {'type'=>'boolean', 'path'=>'Characteristic.exclude', 'min'=>1, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Characteristic.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Characteristic.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Characteristic.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Characteristic.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'type' => 'CodeableConcept', 'path' => 'Characteristic.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'valueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Characteristic.value[x]', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'valueBoolean' => { 'type' => 'boolean', 'path' => 'Characteristic.value[x]', 'min' => 1, 'max' => 1 }, + 'valueQuantity' => { 'type' => 'Quantity', 'path' => 'Characteristic.value[x]', 'min' => 1, 'max' => 1 }, + 'valueRange' => { 'type' => 'Range', 'path' => 'Characteristic.value[x]', 'min' => 1, 'max' => 1 }, + 'exclude' => { 'type' => 'boolean', 'path' => 'Characteristic.exclude', 'min' => 1, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'Characteristic.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -64,12 +64,12 @@ class Member < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Member.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Member.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Member.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'entity' => {'type'=>'Reference', 'path'=>'Member.entity', 'min'=>1, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Member.period', 'min'=>0, 'max'=>1}, - 'inactive' => {'type'=>'boolean', 'path'=>'Member.inactive', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Member.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Member.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Member.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'entity' => { 'type' => 'Reference', 'path' => 'Member.entity', 'min' => 1, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'Member.period', 'min' => 0, 'max' => 1 }, + 'inactive' => { 'type' => 'boolean', 'path' => 'Member.inactive', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb b/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb index 54bd540b..4a02fe1b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb +++ b/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb @@ -7,36 +7,36 @@ class HealthcareService < FHIR::DSTU2::Model SEARCH_PARAMS = ['characteristic', 'identifier', 'location', 'name', 'organization', 'programname', 'servicecategory', 'servicetype'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'HealthcareService.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'HealthcareService.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'HealthcareService.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'HealthcareService.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'HealthcareService.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'HealthcareService.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'HealthcareService.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'HealthcareService.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'HealthcareService.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'providedBy' => {'type'=>'Reference', 'path'=>'HealthcareService.providedBy', 'min'=>0, 'max'=>1}, - 'serviceCategory' => {'type'=>'CodeableConcept', 'path'=>'HealthcareService.serviceCategory', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'serviceType' => {'type'=>'HealthcareService::ServiceType', 'path'=>'HealthcareService.serviceType', 'min'=>0, 'max'=>Float::INFINITY}, - 'location' => {'type'=>'Reference', 'path'=>'HealthcareService.location', 'min'=>1, 'max'=>1}, - 'serviceName' => {'type'=>'string', 'path'=>'HealthcareService.serviceName', 'min'=>0, 'max'=>1}, - 'comment' => {'type'=>'string', 'path'=>'HealthcareService.comment', 'min'=>0, 'max'=>1}, - 'extraDetails' => {'type'=>'string', 'path'=>'HealthcareService.extraDetails', 'min'=>0, 'max'=>1}, - 'photo' => {'type'=>'Attachment', 'path'=>'HealthcareService.photo', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'HealthcareService.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'coverageArea' => {'type'=>'Reference', 'path'=>'HealthcareService.coverageArea', 'min'=>0, 'max'=>Float::INFINITY}, - 'serviceProvisionCode' => {'valid_codes'=>{'http://hl7.org/fhir/service-provision-conditions'=>['free', 'disc', 'cost']}, 'type'=>'CodeableConcept', 'path'=>'HealthcareService.serviceProvisionCode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-provision-conditions'}}, - 'eligibility' => {'type'=>'CodeableConcept', 'path'=>'HealthcareService.eligibility', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'eligibilityNote' => {'type'=>'string', 'path'=>'HealthcareService.eligibilityNote', 'min'=>0, 'max'=>1}, - 'programName' => {'type'=>'string', 'path'=>'HealthcareService.programName', 'min'=>0, 'max'=>Float::INFINITY}, - 'characteristic' => {'type'=>'CodeableConcept', 'path'=>'HealthcareService.characteristic', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'referralMethod' => {'valid_codes'=>{'http://hl7.org/fhir/service-referral-method'=>['fax', 'phone', 'elec', 'semail', 'mail']}, 'type'=>'CodeableConcept', 'path'=>'HealthcareService.referralMethod', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-referral-method'}}, - 'publicKey' => {'type'=>'string', 'path'=>'HealthcareService.publicKey', 'min'=>0, 'max'=>1}, - 'appointmentRequired' => {'type'=>'boolean', 'path'=>'HealthcareService.appointmentRequired', 'min'=>0, 'max'=>1}, - 'availableTime' => {'type'=>'HealthcareService::AvailableTime', 'path'=>'HealthcareService.availableTime', 'min'=>0, 'max'=>Float::INFINITY}, - 'notAvailable' => {'type'=>'HealthcareService::NotAvailable', 'path'=>'HealthcareService.notAvailable', 'min'=>0, 'max'=>Float::INFINITY}, - 'availabilityExceptions' => {'type'=>'string', 'path'=>'HealthcareService.availabilityExceptions', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'HealthcareService.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'HealthcareService.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'HealthcareService.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'HealthcareService.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'HealthcareService.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'HealthcareService.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'HealthcareService.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'HealthcareService.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'HealthcareService.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'providedBy' => { 'type' => 'Reference', 'path' => 'HealthcareService.providedBy', 'min' => 0, 'max' => 1 }, + 'serviceCategory' => { 'type' => 'CodeableConcept', 'path' => 'HealthcareService.serviceCategory', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'serviceType' => { 'type' => 'HealthcareService::ServiceType', 'path' => 'HealthcareService.serviceType', 'min' => 0, 'max' => Float::INFINITY }, + 'location' => { 'type' => 'Reference', 'path' => 'HealthcareService.location', 'min' => 1, 'max' => 1 }, + 'serviceName' => { 'type' => 'string', 'path' => 'HealthcareService.serviceName', 'min' => 0, 'max' => 1 }, + 'comment' => { 'type' => 'string', 'path' => 'HealthcareService.comment', 'min' => 0, 'max' => 1 }, + 'extraDetails' => { 'type' => 'string', 'path' => 'HealthcareService.extraDetails', 'min' => 0, 'max' => 1 }, + 'photo' => { 'type' => 'Attachment', 'path' => 'HealthcareService.photo', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'HealthcareService.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'coverageArea' => { 'type' => 'Reference', 'path' => 'HealthcareService.coverageArea', 'min' => 0, 'max' => Float::INFINITY }, + 'serviceProvisionCode' => { 'valid_codes' => { 'http://hl7.org/fhir/service-provision-conditions' => ['free', 'disc', 'cost'] }, 'type' => 'CodeableConcept', 'path' => 'HealthcareService.serviceProvisionCode', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-provision-conditions' } }, + 'eligibility' => { 'type' => 'CodeableConcept', 'path' => 'HealthcareService.eligibility', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'eligibilityNote' => { 'type' => 'string', 'path' => 'HealthcareService.eligibilityNote', 'min' => 0, 'max' => 1 }, + 'programName' => { 'type' => 'string', 'path' => 'HealthcareService.programName', 'min' => 0, 'max' => Float::INFINITY }, + 'characteristic' => { 'type' => 'CodeableConcept', 'path' => 'HealthcareService.characteristic', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'referralMethod' => { 'valid_codes' => { 'http://hl7.org/fhir/service-referral-method' => ['fax', 'phone', 'elec', 'semail', 'mail'] }, 'type' => 'CodeableConcept', 'path' => 'HealthcareService.referralMethod', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-referral-method' } }, + 'publicKey' => { 'type' => 'string', 'path' => 'HealthcareService.publicKey', 'min' => 0, 'max' => 1 }, + 'appointmentRequired' => { 'type' => 'boolean', 'path' => 'HealthcareService.appointmentRequired', 'min' => 0, 'max' => 1 }, + 'availableTime' => { 'type' => 'HealthcareService::AvailableTime', 'path' => 'HealthcareService.availableTime', 'min' => 0, 'max' => Float::INFINITY }, + 'notAvailable' => { 'type' => 'HealthcareService::NotAvailable', 'path' => 'HealthcareService.notAvailable', 'min' => 0, 'max' => Float::INFINITY }, + 'availabilityExceptions' => { 'type' => 'string', 'path' => 'HealthcareService.availabilityExceptions', 'min' => 0, 'max' => 1 } } class ServiceType < FHIR::DSTU2::Model @@ -45,11 +45,11 @@ class ServiceType < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'ServiceType.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ServiceType.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ServiceType.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004']}, 'type'=>'CodeableConcept', 'path'=>'ServiceType.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-practice-codes'}}, - 'specialty' => {'type'=>'CodeableConcept', 'path'=>'ServiceType.specialty', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}} + 'id' => { 'type' => 'id', 'path' => 'ServiceType.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'ServiceType.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ServiceType.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => ['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004'] }, 'type' => 'CodeableConcept', 'path' => 'ServiceType.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-practice-codes' } }, + 'specialty' => { 'type' => 'CodeableConcept', 'path' => 'ServiceType.specialty', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } } } attr_accessor :id # 0-1 id @@ -65,13 +65,13 @@ class AvailableTime < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'AvailableTime.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'AvailableTime.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'AvailableTime.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'daysOfWeek' => {'valid_codes'=>{'http://hl7.org/fhir/days-of-week'=>['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']}, 'type'=>'code', 'path'=>'AvailableTime.daysOfWeek', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/days-of-week'}}, - 'allDay' => {'type'=>'boolean', 'path'=>'AvailableTime.allDay', 'min'=>0, 'max'=>1}, - 'availableStartTime' => {'type'=>'time', 'path'=>'AvailableTime.availableStartTime', 'min'=>0, 'max'=>1}, - 'availableEndTime' => {'type'=>'time', 'path'=>'AvailableTime.availableEndTime', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'AvailableTime.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'AvailableTime.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'AvailableTime.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'daysOfWeek' => { 'valid_codes' => { 'http://hl7.org/fhir/days-of-week' => ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'] }, 'type' => 'code', 'path' => 'AvailableTime.daysOfWeek', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/days-of-week' } }, + 'allDay' => { 'type' => 'boolean', 'path' => 'AvailableTime.allDay', 'min' => 0, 'max' => 1 }, + 'availableStartTime' => { 'type' => 'time', 'path' => 'AvailableTime.availableStartTime', 'min' => 0, 'max' => 1 }, + 'availableEndTime' => { 'type' => 'time', 'path' => 'AvailableTime.availableEndTime', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -89,11 +89,11 @@ class NotAvailable < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'NotAvailable.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'NotAvailable.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'NotAvailable.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'description' => {'type'=>'string', 'path'=>'NotAvailable.description', 'min'=>1, 'max'=>1}, - 'during' => {'type'=>'Period', 'path'=>'NotAvailable.during', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'NotAvailable.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'NotAvailable.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'NotAvailable.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'description' => { 'type' => 'string', 'path' => 'NotAvailable.description', 'min' => 1, 'max' => 1 }, + 'during' => { 'type' => 'Period', 'path' => 'NotAvailable.during', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb b/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb index a1b1fee3..ed6fcd3e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb @@ -7,21 +7,21 @@ class ImagingObjectSelection < FHIR::DSTU2::Model SEARCH_PARAMS = ['author', 'authoring-time', 'identifier', 'patient', 'selected-study', 'title'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ImagingObjectSelection.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ImagingObjectSelection.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ImagingObjectSelection.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ImagingObjectSelection.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ImagingObjectSelection.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ImagingObjectSelection.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ImagingObjectSelection.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ImagingObjectSelection.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'uid' => {'type'=>'oid', 'path'=>'ImagingObjectSelection.uid', 'min'=>1, 'max'=>1}, - 'patient' => {'type'=>'Reference', 'path'=>'ImagingObjectSelection.patient', 'min'=>1, 'max'=>1}, - 'title' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811']}, 'type'=>'CodeableConcept', 'path'=>'ImagingObjectSelection.title', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/kos-title'}}, - 'description' => {'type'=>'string', 'path'=>'ImagingObjectSelection.description', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'ImagingObjectSelection.author', 'min'=>0, 'max'=>1}, - 'authoringTime' => {'type'=>'dateTime', 'path'=>'ImagingObjectSelection.authoringTime', 'min'=>0, 'max'=>1}, - 'study' => {'type'=>'ImagingObjectSelection::Study', 'path'=>'ImagingObjectSelection.study', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'ImagingObjectSelection.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ImagingObjectSelection.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ImagingObjectSelection.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ImagingObjectSelection.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ImagingObjectSelection.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ImagingObjectSelection.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ImagingObjectSelection.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ImagingObjectSelection.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'uid' => { 'type' => 'oid', 'path' => 'ImagingObjectSelection.uid', 'min' => 1, 'max' => 1 }, + 'patient' => { 'type' => 'Reference', 'path' => 'ImagingObjectSelection.patient', 'min' => 1, 'max' => 1 }, + 'title' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'] }, 'type' => 'CodeableConcept', 'path' => 'ImagingObjectSelection.title', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/kos-title' } }, + 'description' => { 'type' => 'string', 'path' => 'ImagingObjectSelection.description', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'ImagingObjectSelection.author', 'min' => 0, 'max' => 1 }, + 'authoringTime' => { 'type' => 'dateTime', 'path' => 'ImagingObjectSelection.authoringTime', 'min' => 0, 'max' => 1 }, + 'study' => { 'type' => 'ImagingObjectSelection::Study', 'path' => 'ImagingObjectSelection.study', 'min' => 1, 'max' => Float::INFINITY } } class Study < FHIR::DSTU2::Model @@ -30,13 +30,13 @@ class Study < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Study.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Study.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Study.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'uid' => {'type'=>'oid', 'path'=>'Study.uid', 'min'=>1, 'max'=>1}, - 'url' => {'type'=>'uri', 'path'=>'Study.url', 'min'=>0, 'max'=>1}, - 'imagingStudy' => {'type'=>'Reference', 'path'=>'Study.imagingStudy', 'min'=>0, 'max'=>1}, - 'series' => {'type'=>'ImagingObjectSelection::Study::Series', 'path'=>'Study.series', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Study.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Study.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Study.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'uid' => { 'type' => 'oid', 'path' => 'Study.uid', 'min' => 1, 'max' => 1 }, + 'url' => { 'type' => 'uri', 'path' => 'Study.url', 'min' => 0, 'max' => 1 }, + 'imagingStudy' => { 'type' => 'Reference', 'path' => 'Study.imagingStudy', 'min' => 0, 'max' => 1 }, + 'series' => { 'type' => 'ImagingObjectSelection::Study::Series', 'path' => 'Study.series', 'min' => 1, 'max' => Float::INFINITY } } class Series < FHIR::DSTU2::Model @@ -45,12 +45,12 @@ class Series < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Series.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Series.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Series.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'uid' => {'type'=>'oid', 'path'=>'Series.uid', 'min'=>0, 'max'=>1}, - 'url' => {'type'=>'uri', 'path'=>'Series.url', 'min'=>0, 'max'=>1}, - 'instance' => {'type'=>'ImagingObjectSelection::Study::Series::Instance', 'path'=>'Series.instance', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Series.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Series.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Series.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'uid' => { 'type' => 'oid', 'path' => 'Series.uid', 'min' => 0, 'max' => 1 }, + 'url' => { 'type' => 'uri', 'path' => 'Series.url', 'min' => 0, 'max' => 1 }, + 'instance' => { 'type' => 'ImagingObjectSelection::Study::Series::Instance', 'path' => 'Series.instance', 'min' => 1, 'max' => Float::INFINITY } } class Instance < FHIR::DSTU2::Model @@ -59,13 +59,13 @@ class Instance < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Instance.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Instance.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Instance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sopClass' => {'type'=>'oid', 'path'=>'Instance.sopClass', 'min'=>1, 'max'=>1}, - 'uid' => {'type'=>'oid', 'path'=>'Instance.uid', 'min'=>1, 'max'=>1}, - 'url' => {'type'=>'uri', 'path'=>'Instance.url', 'min'=>1, 'max'=>1}, - 'frames' => {'type'=>'ImagingObjectSelection::Study::Series::Instance::Frames', 'path'=>'Instance.frames', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Instance.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Instance.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Instance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sopClass' => { 'type' => 'oid', 'path' => 'Instance.sopClass', 'min' => 1, 'max' => 1 }, + 'uid' => { 'type' => 'oid', 'path' => 'Instance.uid', 'min' => 1, 'max' => 1 }, + 'url' => { 'type' => 'uri', 'path' => 'Instance.url', 'min' => 1, 'max' => 1 }, + 'frames' => { 'type' => 'ImagingObjectSelection::Study::Series::Instance::Frames', 'path' => 'Instance.frames', 'min' => 0, 'max' => Float::INFINITY } } class Frames < FHIR::DSTU2::Model @@ -74,11 +74,11 @@ class Frames < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Frames.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Frames.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Frames.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'frameNumbers' => {'type'=>'unsignedInt', 'path'=>'Frames.frameNumbers', 'min'=>1, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'Frames.url', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Frames.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Frames.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Frames.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'frameNumbers' => { 'type' => 'unsignedInt', 'path' => 'Frames.frameNumbers', 'min' => 1, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'Frames.url', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb b/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb index f645ddc5..9fa74418 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb @@ -7,30 +7,30 @@ class ImagingStudy < FHIR::DSTU2::Model SEARCH_PARAMS = ['accession', 'bodysite', 'dicom-class', 'modality', 'order', 'patient', 'series', 'started', 'study', 'uid'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ImagingStudy.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ImagingStudy.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ImagingStudy.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ImagingStudy.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ImagingStudy.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ImagingStudy.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ImagingStudy.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ImagingStudy.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'started' => {'type'=>'dateTime', 'path'=>'ImagingStudy.started', 'min'=>0, 'max'=>1}, - 'patient' => {'type'=>'Reference', 'path'=>'ImagingStudy.patient', 'min'=>1, 'max'=>1}, - 'uid' => {'type'=>'oid', 'path'=>'ImagingStudy.uid', 'min'=>1, 'max'=>1}, - 'accession' => {'type'=>'Identifier', 'path'=>'ImagingStudy.accession', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ImagingStudy.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'order' => {'type'=>'Reference', 'path'=>'ImagingStudy.order', 'min'=>0, 'max'=>Float::INFINITY}, - 'modalityList' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811', 'IVOCT', 'OSS']}, 'type'=>'Coding', 'path'=>'ImagingStudy.modalityList', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/dicom-cid29'}}, - 'referrer' => {'type'=>'Reference', 'path'=>'ImagingStudy.referrer', 'min'=>0, 'max'=>1}, - 'availability' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811']}, 'type'=>'code', 'path'=>'ImagingStudy.availability', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/instance-availability'}}, - 'url' => {'type'=>'uri', 'path'=>'ImagingStudy.url', 'min'=>0, 'max'=>1}, - 'numberOfSeries' => {'type'=>'unsignedInt', 'path'=>'ImagingStudy.numberOfSeries', 'min'=>1, 'max'=>1}, - 'numberOfInstances' => {'type'=>'unsignedInt', 'path'=>'ImagingStudy.numberOfInstances', 'min'=>1, 'max'=>1}, - 'procedure' => {'type'=>'Reference', 'path'=>'ImagingStudy.procedure', 'min'=>0, 'max'=>Float::INFINITY}, - 'interpreter' => {'type'=>'Reference', 'path'=>'ImagingStudy.interpreter', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'ImagingStudy.description', 'min'=>0, 'max'=>1}, - 'series' => {'type'=>'ImagingStudy::Series', 'path'=>'ImagingStudy.series', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'ImagingStudy.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ImagingStudy.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ImagingStudy.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ImagingStudy.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ImagingStudy.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ImagingStudy.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ImagingStudy.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ImagingStudy.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'started' => { 'type' => 'dateTime', 'path' => 'ImagingStudy.started', 'min' => 0, 'max' => 1 }, + 'patient' => { 'type' => 'Reference', 'path' => 'ImagingStudy.patient', 'min' => 1, 'max' => 1 }, + 'uid' => { 'type' => 'oid', 'path' => 'ImagingStudy.uid', 'min' => 1, 'max' => 1 }, + 'accession' => { 'type' => 'Identifier', 'path' => 'ImagingStudy.accession', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ImagingStudy.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'order' => { 'type' => 'Reference', 'path' => 'ImagingStudy.order', 'min' => 0, 'max' => Float::INFINITY }, + 'modalityList' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811', 'IVOCT', 'OSS'] }, 'type' => 'Coding', 'path' => 'ImagingStudy.modalityList', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/dicom-cid29' } }, + 'referrer' => { 'type' => 'Reference', 'path' => 'ImagingStudy.referrer', 'min' => 0, 'max' => 1 }, + 'availability' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'] }, 'type' => 'code', 'path' => 'ImagingStudy.availability', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/instance-availability' } }, + 'url' => { 'type' => 'uri', 'path' => 'ImagingStudy.url', 'min' => 0, 'max' => 1 }, + 'numberOfSeries' => { 'type' => 'unsignedInt', 'path' => 'ImagingStudy.numberOfSeries', 'min' => 1, 'max' => 1 }, + 'numberOfInstances' => { 'type' => 'unsignedInt', 'path' => 'ImagingStudy.numberOfInstances', 'min' => 1, 'max' => 1 }, + 'procedure' => { 'type' => 'Reference', 'path' => 'ImagingStudy.procedure', 'min' => 0, 'max' => Float::INFINITY }, + 'interpreter' => { 'type' => 'Reference', 'path' => 'ImagingStudy.interpreter', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'ImagingStudy.description', 'min' => 0, 'max' => 1 }, + 'series' => { 'type' => 'ImagingStudy::Series', 'path' => 'ImagingStudy.series', 'min' => 0, 'max' => Float::INFINITY } } class Series < FHIR::DSTU2::Model @@ -39,20 +39,20 @@ class Series < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Series.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Series.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Series.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'number' => {'type'=>'unsignedInt', 'path'=>'Series.number', 'min'=>0, 'max'=>1}, - 'modality' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811', 'IVOCT', 'OSS']}, 'type'=>'Coding', 'path'=>'Series.modality', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/dicom-cid29'}}, - 'uid' => {'type'=>'oid', 'path'=>'Series.uid', 'min'=>1, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Series.description', 'min'=>0, 'max'=>1}, - 'numberOfInstances' => {'type'=>'unsignedInt', 'path'=>'Series.numberOfInstances', 'min'=>1, 'max'=>1}, - 'availability' => {'valid_codes'=>{'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811']}, 'type'=>'code', 'path'=>'Series.availability', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/instance-availability'}}, - 'url' => {'type'=>'uri', 'path'=>'Series.url', 'min'=>0, 'max'=>1}, - 'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'Coding', 'path'=>'Series.bodySite', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}}, - 'laterality' => {'valid_codes'=>{'http://snomed.info/sct'=>['419161000', '419465000', '51440002']}, 'type'=>'Coding', 'path'=>'Series.laterality', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/bodysite-laterality'}}, - 'started' => {'type'=>'dateTime', 'path'=>'Series.started', 'min'=>0, 'max'=>1}, - 'instance' => {'type'=>'ImagingStudy::Series::Instance', 'path'=>'Series.instance', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Series.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Series.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Series.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'number' => { 'type' => 'unsignedInt', 'path' => 'Series.number', 'min' => 0, 'max' => 1 }, + 'modality' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811', 'IVOCT', 'OSS'] }, 'type' => 'Coding', 'path' => 'Series.modality', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/dicom-cid29' } }, + 'uid' => { 'type' => 'oid', 'path' => 'Series.uid', 'min' => 1, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Series.description', 'min' => 0, 'max' => 1 }, + 'numberOfInstances' => { 'type' => 'unsignedInt', 'path' => 'Series.numberOfInstances', 'min' => 1, 'max' => 1 }, + 'availability' => { 'valid_codes' => { 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811'] }, 'type' => 'code', 'path' => 'Series.availability', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/instance-availability' } }, + 'url' => { 'type' => 'uri', 'path' => 'Series.url', 'min' => 0, 'max' => 1 }, + 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'Coding', 'path' => 'Series.bodySite', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, + 'laterality' => { 'valid_codes' => { 'http://snomed.info/sct' => ['419161000', '419465000', '51440002'] }, 'type' => 'Coding', 'path' => 'Series.laterality', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/bodysite-laterality' } }, + 'started' => { 'type' => 'dateTime', 'path' => 'Series.started', 'min' => 0, 'max' => 1 }, + 'instance' => { 'type' => 'ImagingStudy::Series::Instance', 'path' => 'Series.instance', 'min' => 0, 'max' => Float::INFINITY } } class Instance < FHIR::DSTU2::Model @@ -61,15 +61,15 @@ class Instance < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Instance.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Instance.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Instance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'number' => {'type'=>'unsignedInt', 'path'=>'Instance.number', 'min'=>0, 'max'=>1}, - 'uid' => {'type'=>'oid', 'path'=>'Instance.uid', 'min'=>1, 'max'=>1}, - 'sopClass' => {'type'=>'oid', 'path'=>'Instance.sopClass', 'min'=>1, 'max'=>1}, - 'type' => {'type'=>'string', 'path'=>'Instance.type', 'min'=>0, 'max'=>1}, - 'title' => {'type'=>'string', 'path'=>'Instance.title', 'min'=>0, 'max'=>1}, - 'content' => {'type'=>'Attachment', 'path'=>'Instance.content', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Instance.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Instance.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Instance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'number' => { 'type' => 'unsignedInt', 'path' => 'Instance.number', 'min' => 0, 'max' => 1 }, + 'uid' => { 'type' => 'oid', 'path' => 'Instance.uid', 'min' => 1, 'max' => 1 }, + 'sopClass' => { 'type' => 'oid', 'path' => 'Instance.sopClass', 'min' => 1, 'max' => 1 }, + 'type' => { 'type' => 'string', 'path' => 'Instance.type', 'min' => 0, 'max' => 1 }, + 'title' => { 'type' => 'string', 'path' => 'Instance.title', 'min' => 0, 'max' => 1 }, + 'content' => { 'type' => 'Attachment', 'path' => 'Instance.content', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Immunization.rb b/lib/fhir_dstu2_models/fhir/resources/Immunization.rb index d032c6f8..e4826c95 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Immunization.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Immunization.rb @@ -7,35 +7,35 @@ class Immunization < FHIR::DSTU2::Model SEARCH_PARAMS = ['date', 'dose-number', 'dose-sequence', 'identifier', 'information', 'patient', 'status', 'support', 'vaccine-type', 'date', 'dose-sequence', 'identifier', 'location', 'lot-number', 'manufacturer', 'notgiven', 'patient', 'performer', 'reaction', 'reaction-date', 'reason', 'reason-not-given', 'requester', 'status', 'vaccine-code'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Immunization.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Immunization.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Immunization.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Immunization.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Immunization.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Immunization.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Immunization.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Immunization.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Immunization.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-admin-status'=>['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped']}, 'type'=>'code', 'path'=>'Immunization.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-admin-status'}}, - 'date' => {'type'=>'dateTime', 'path'=>'Immunization.date', 'min'=>0, 'max'=>1}, - 'vaccineCode' => {'valid_codes'=>{'http://hl7.org/fhir/sid/cvx'=>[], 'urn:oid:1.2.36.1.2001.1005.17'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Immunization.vaccineCode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vaccine-code'}}, - 'patient' => {'type'=>'Reference', 'path'=>'Immunization.patient', 'min'=>1, 'max'=>1}, - 'wasNotGiven' => {'type'=>'boolean', 'path'=>'Immunization.wasNotGiven', 'min'=>1, 'max'=>1}, - 'reported' => {'type'=>'boolean', 'path'=>'Immunization.reported', 'min'=>1, 'max'=>1}, - 'performer' => {'type'=>'Reference', 'path'=>'Immunization.performer', 'min'=>0, 'max'=>1}, - 'requester' => {'type'=>'Reference', 'path'=>'Immunization.requester', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'Immunization.encounter', 'min'=>0, 'max'=>1}, - 'manufacturer' => {'type'=>'Reference', 'path'=>'Immunization.manufacturer', 'min'=>0, 'max'=>1}, - 'location' => {'type'=>'Reference', 'path'=>'Immunization.location', 'min'=>0, 'max'=>1}, - 'lotNumber' => {'type'=>'string', 'path'=>'Immunization.lotNumber', 'min'=>0, 'max'=>1}, - 'expirationDate' => {'type'=>'date', 'path'=>'Immunization.expirationDate', 'min'=>0, 'max'=>1}, - 'site' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActSite'=>['_HumanActSite', '_HumanSubstanceAdministrationSite', 'BE', 'BN', 'BU', 'LA', 'LAC', 'LACF', 'LD', 'LE', 'LEJ', 'LF', 'LG', 'LH', 'LIJ', 'LLAQ', 'LLFA', 'LMFA', 'LN', 'LPC', 'LSC', 'LT', 'LUA', 'LUAQ', 'LUFA', 'LVG', 'LVL', 'OD', 'OS', 'OU', 'PA', 'PERIN', 'RA', 'RAC', 'RACF', 'RD', 'RE', 'REJ', 'RF', 'RG', 'RH', 'RIJ', 'RLAQ', 'RLFA', 'RMFA', 'RN', 'RPC', 'RSC', 'RT', 'RUA', 'RUAQ', 'RUFA', 'RVG', 'RVL']}, 'type'=>'CodeableConcept', 'path'=>'Immunization.site', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-site'}}, - 'route' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RouteOfAdministration'=>['_RouteByMethod', 'SOAK', 'SHAMPOO', 'TRNSLING', 'PO', 'GARGLE', 'SUCK', '_Chew', 'CHEW', '_Diffusion', 'EXTCORPDIF', 'HEMODIFF', 'TRNSDERMD', '_Dissolve', 'DISSOLVE', 'SL', '_Douche', 'DOUCHE', '_ElectroOsmosisRoute', 'ELECTOSMOS', '_Enema', 'ENEMA', 'RETENEMA', '_Flush', 'IVFLUSH', '_Implantation', 'IDIMPLNT', 'IVITIMPLNT', 'SQIMPLNT', '_Infusion', 'EPI', 'IA', 'IC', 'ICOR', 'IOSSC', 'IT', 'IV', 'IVC', 'IVCC', 'IVCI', 'PCA', 'IVASCINFUS', 'SQINFUS', '_Inhalation', 'IPINHL', 'ORIFINHL', 'REBREATH', 'IPPB', 'NASINHL', 'NASINHLC', 'NEB', 'NASNEB', 'ORNEB', 'TRACH', 'VENT', 'VENTMASK', '_Injection', 'AMNINJ', 'BILINJ', 'CHOLINJ', 'CERVINJ', 'EPIDURINJ', 'EPIINJ', 'EPINJSP', 'EXTRAMNINJ', 'EXTCORPINJ', 'GBINJ', 'GINGINJ', 'BLADINJ', 'ENDOSININJ', 'HEMOPORT', 'IABDINJ', 'IAINJ', 'IAINJP', 'IAINJSP', 'IARTINJ', 'IBURSINJ', 'ICARDINJ', 'ICARDINJRP', 'ICARDINJSP', 'ICARINJP', 'ICARTINJ', 'ICAUDINJ', 'ICAVINJ', 'ICAVITINJ', 'ICEREBINJ', 'ICISTERNINJ', 'ICORONINJ', 'ICORONINJP', 'ICORPCAVINJ', 'IDINJ', 'IDISCINJ', 'IDUCTINJ', 'IDURINJ', 'IEPIDINJ', 'IEPITHINJ', 'ILESINJ', 'ILUMINJ', 'ILYMPJINJ', 'IM', 'IMD', 'IMZ', 'IMEDULINJ', 'INTERMENINJ', 'INTERSTITINJ', 'IOINJ', 'IOSSINJ', 'IOVARINJ', 'IPCARDINJ', 'IPERINJ', 'IPINJ', 'IPLRINJ', 'IPROSTINJ', 'IPUMPINJ', 'ISINJ', 'ISTERINJ', 'ISYNINJ', 'ITENDINJ', 'ITESTINJ', 'ITHORINJ', 'ITINJ', 'ITUBINJ', 'ITUMINJ', 'ITYMPINJ', 'IUINJ', 'IUINJC', 'IURETINJ', 'IVASCINJ', 'IVENTINJ', 'IVESINJ', 'IVINJ', 'IVINJBOL', 'IVPUSH', 'IVRPUSH', 'IVSPUSH', 'IVITINJ', 'PAINJ', 'PARENTINJ', 'PDONTINJ', 'PDPINJ', 'PDURINJ', 'PNINJ', 'PNSINJ', 'RBINJ', 'SCINJ', 'SLESINJ', 'SOFTISINJ', 'SQ', 'SUBARACHINJ', 'SUBMUCINJ', 'TRPLACINJ', 'TRTRACHINJ', 'URETHINJ', 'URETINJ', '_Insertion', 'CERVINS', 'IOSURGINS', 'IU', 'LPINS', 'PR', 'SQSURGINS', 'URETHINS', 'VAGINSI', '_Instillation', 'CECINSTL', 'EFT', 'ENTINSTL', 'GT', 'NGT', 'OGT', 'BLADINSTL', 'CAPDINSTL', 'CTINSTL', 'ETINSTL', 'GJT', 'IBRONCHINSTIL', 'IDUODINSTIL', 'IESOPHINSTIL', 'IGASTINSTIL', 'IILEALINJ', 'IOINSTL', 'ISININSTIL', 'ITRACHINSTIL', 'IUINSTL', 'JJTINSTL', 'LARYNGINSTIL', 'NASALINSTIL', 'NASOGASINSTIL', 'NTT', 'OJJ', 'OT', 'PDPINSTL', 'PNSINSTL', 'RECINSTL', 'RECTINSTL', 'SININSTIL', 'SOFTISINSTIL', 'TRACHINSTL', 'TRTYMPINSTIL', 'URETHINSTL', '_IontophoresisRoute', 'IONTO', '_Irrigation', 'GUIRR', 'IGASTIRR', 'ILESIRR', 'IOIRR', 'BLADIRR', 'BLADIRRC', 'BLADIRRT', 'RECIRR', '_LavageRoute', 'IGASTLAV', '_MucosalAbsorptionRoute', 'IDOUDMAB', 'ITRACHMAB', 'SMUCMAB', '_Nebulization', 'ETNEB', '_Rinse', 'DENRINSE', 'ORRINSE', '_SuppositoryRoute', 'URETHSUP', '_Swish', 'SWISHSPIT', 'SWISHSWAL', '_TopicalAbsorptionRoute', 'TTYMPTABSORP', '_TopicalApplication', 'DRESS', 'SWAB', 'TOPICAL', 'BUC', 'CERV', 'DEN', 'GIN', 'HAIR', 'ICORNTA', 'ICORONTA', 'IESOPHTA', 'IILEALTA', 'ILTOP', 'ILUMTA', 'IOTOP', 'LARYNGTA', 'MUC', 'NAIL', 'NASAL', 'OPTHALTA', 'ORALTA', 'ORMUC', 'OROPHARTA', 'PERIANAL', 'PERINEAL', 'PDONTTA', 'RECTAL', 'SCALP', 'OCDRESTA', 'SKIN', 'SUBCONJTA', 'TMUCTA', 'VAGINS', 'INSUF', 'TRNSDERM', '_RouteBySite', '_AmnioticFluidSacRoute', '_BiliaryRoute', '_BodySurfaceRoute', '_BuccalMucosaRoute', '_CecostomyRoute', '_CervicalRoute', '_EndocervicalRoute', '_EnteralRoute', '_EpiduralRoute', '_ExtraAmnioticRoute', '_ExtracorporealCirculationRoute', '_GastricRoute', '_GenitourinaryRoute', '_GingivalRoute', '_HairRoute', '_InterameningealRoute', '_InterstitialRoute', '_IntraabdominalRoute', '_IntraarterialRoute', '_IntraarticularRoute', '_IntrabronchialRoute', '_IntrabursalRoute', '_IntracardiacRoute', '_IntracartilaginousRoute', '_IntracaudalRoute', '_IntracavernosalRoute', '_IntracavitaryRoute', '_IntracerebralRoute', '_IntracervicalRoute', '_IntracisternalRoute', '_IntracornealRoute', '_IntracoronalRoute', '_IntracoronaryRoute', '_IntracorpusCavernosumRoute', '_IntradermalRoute', '_IntradiscalRoute', '_IntraductalRoute', '_IntraduodenalRoute', '_IntraduralRoute', '_IntraepidermalRoute', '_IntraepithelialRoute', '_IntraesophagealRoute', '_IntragastricRoute', '_IntrailealRoute', '_IntralesionalRoute', '_IntraluminalRoute', '_IntralymphaticRoute', '_IntramedullaryRoute', '_IntramuscularRoute', '_IntraocularRoute', '_IntraosseousRoute', '_IntraovarianRoute', '_IntrapericardialRoute', '_IntraperitonealRoute', '_IntrapleuralRoute', '_IntraprostaticRoute', '_IntrapulmonaryRoute', '_IntrasinalRoute', '_IntraspinalRoute', '_IntrasternalRoute', '_IntrasynovialRoute', '_IntratendinousRoute', '_IntratesticularRoute', '_IntrathecalRoute', '_IntrathoracicRoute', '_IntratrachealRoute', '_IntratubularRoute', '_IntratumorRoute', '_IntratympanicRoute', '_IntrauterineRoute', '_IntravascularRoute', '_IntravenousRoute', '_IntraventricularRoute', '_IntravesicleRoute', '_IntravitrealRoute', '_JejunumRoute', '_LacrimalPunctaRoute', '_LaryngealRoute', '_LingualRoute', '_MucousMembraneRoute', '_NailRoute', '_NasalRoute', '_OphthalmicRoute', '_OralRoute', '_OromucosalRoute', '_OropharyngealRoute', '_OticRoute', '_ParanasalSinusesRoute', '_ParenteralRoute', '_PerianalRoute', '_PeriarticularRoute', '_PeriduralRoute', '_PerinealRoute', '_PerineuralRoute', '_PeriodontalRoute', '_PulmonaryRoute', '_RectalRoute', '_RespiratoryTractRoute', '_RetrobulbarRoute', '_ScalpRoute', '_SinusUnspecifiedRoute', '_SkinRoute', '_SoftTissueRoute', '_SubarachnoidRoute', '_SubconjunctivalRoute', '_SubcutaneousRoute', '_SublesionalRoute', '_SublingualRoute', '_SubmucosalRoute', '_TracheostomyRoute', '_TransmucosalRoute', '_TransplacentalRoute', '_TranstrachealRoute', '_TranstympanicRoute', '_UreteralRoute', '_UrethralRoute', '_UrinaryBladderRoute', '_UrinaryTractRoute', '_VaginalRoute', '_VitreousHumourRoute']}, 'type'=>'CodeableConcept', 'path'=>'Immunization.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-route'}}, - 'doseQuantity' => {'type'=>'Quantity', 'path'=>'Immunization.doseQuantity', 'min'=>0, 'max'=>1}, - 'note' => {'type'=>'Annotation', 'path'=>'Immunization.note', 'min'=>0, 'max'=>Float::INFINITY}, - 'explanation' => {'type'=>'Immunization::Explanation', 'path'=>'Immunization.explanation', 'min'=>0, 'max'=>1}, - 'reaction' => {'type'=>'Immunization::Reaction', 'path'=>'Immunization.reaction', 'min'=>0, 'max'=>Float::INFINITY}, - 'vaccinationProtocol' => {'type'=>'Immunization::VaccinationProtocol', 'path'=>'Immunization.vaccinationProtocol', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Immunization.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Immunization.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Immunization.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Immunization.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Immunization.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Immunization.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Immunization.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Immunization.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Immunization.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/medication-admin-status' => ['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped'] }, 'type' => 'code', 'path' => 'Immunization.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-admin-status' } }, + 'date' => { 'type' => 'dateTime', 'path' => 'Immunization.date', 'min' => 0, 'max' => 1 }, + 'vaccineCode' => { 'valid_codes' => { 'http://hl7.org/fhir/sid/cvx' => [], 'urn:oid:1.2.36.1.2001.1005.17' => [] }, 'type' => 'CodeableConcept', 'path' => 'Immunization.vaccineCode', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/vaccine-code' } }, + 'patient' => { 'type' => 'Reference', 'path' => 'Immunization.patient', 'min' => 1, 'max' => 1 }, + 'wasNotGiven' => { 'type' => 'boolean', 'path' => 'Immunization.wasNotGiven', 'min' => 1, 'max' => 1 }, + 'reported' => { 'type' => 'boolean', 'path' => 'Immunization.reported', 'min' => 1, 'max' => 1 }, + 'performer' => { 'type' => 'Reference', 'path' => 'Immunization.performer', 'min' => 0, 'max' => 1 }, + 'requester' => { 'type' => 'Reference', 'path' => 'Immunization.requester', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Immunization.encounter', 'min' => 0, 'max' => 1 }, + 'manufacturer' => { 'type' => 'Reference', 'path' => 'Immunization.manufacturer', 'min' => 0, 'max' => 1 }, + 'location' => { 'type' => 'Reference', 'path' => 'Immunization.location', 'min' => 0, 'max' => 1 }, + 'lotNumber' => { 'type' => 'string', 'path' => 'Immunization.lotNumber', 'min' => 0, 'max' => 1 }, + 'expirationDate' => { 'type' => 'date', 'path' => 'Immunization.expirationDate', 'min' => 0, 'max' => 1 }, + 'site' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActSite' => ['_HumanActSite', '_HumanSubstanceAdministrationSite', 'BE', 'BN', 'BU', 'LA', 'LAC', 'LACF', 'LD', 'LE', 'LEJ', 'LF', 'LG', 'LH', 'LIJ', 'LLAQ', 'LLFA', 'LMFA', 'LN', 'LPC', 'LSC', 'LT', 'LUA', 'LUAQ', 'LUFA', 'LVG', 'LVL', 'OD', 'OS', 'OU', 'PA', 'PERIN', 'RA', 'RAC', 'RACF', 'RD', 'RE', 'REJ', 'RF', 'RG', 'RH', 'RIJ', 'RLAQ', 'RLFA', 'RMFA', 'RN', 'RPC', 'RSC', 'RT', 'RUA', 'RUAQ', 'RUFA', 'RVG', 'RVL'] }, 'type' => 'CodeableConcept', 'path' => 'Immunization.site', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/immunization-site' } }, + 'route' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/RouteOfAdministration' => ['_RouteByMethod', 'SOAK', 'SHAMPOO', 'TRNSLING', 'PO', 'GARGLE', 'SUCK', '_Chew', 'CHEW', '_Diffusion', 'EXTCORPDIF', 'HEMODIFF', 'TRNSDERMD', '_Dissolve', 'DISSOLVE', 'SL', '_Douche', 'DOUCHE', '_ElectroOsmosisRoute', 'ELECTOSMOS', '_Enema', 'ENEMA', 'RETENEMA', '_Flush', 'IVFLUSH', '_Implantation', 'IDIMPLNT', 'IVITIMPLNT', 'SQIMPLNT', '_Infusion', 'EPI', 'IA', 'IC', 'ICOR', 'IOSSC', 'IT', 'IV', 'IVC', 'IVCC', 'IVCI', 'PCA', 'IVASCINFUS', 'SQINFUS', '_Inhalation', 'IPINHL', 'ORIFINHL', 'REBREATH', 'IPPB', 'NASINHL', 'NASINHLC', 'NEB', 'NASNEB', 'ORNEB', 'TRACH', 'VENT', 'VENTMASK', '_Injection', 'AMNINJ', 'BILINJ', 'CHOLINJ', 'CERVINJ', 'EPIDURINJ', 'EPIINJ', 'EPINJSP', 'EXTRAMNINJ', 'EXTCORPINJ', 'GBINJ', 'GINGINJ', 'BLADINJ', 'ENDOSININJ', 'HEMOPORT', 'IABDINJ', 'IAINJ', 'IAINJP', 'IAINJSP', 'IARTINJ', 'IBURSINJ', 'ICARDINJ', 'ICARDINJRP', 'ICARDINJSP', 'ICARINJP', 'ICARTINJ', 'ICAUDINJ', 'ICAVINJ', 'ICAVITINJ', 'ICEREBINJ', 'ICISTERNINJ', 'ICORONINJ', 'ICORONINJP', 'ICORPCAVINJ', 'IDINJ', 'IDISCINJ', 'IDUCTINJ', 'IDURINJ', 'IEPIDINJ', 'IEPITHINJ', 'ILESINJ', 'ILUMINJ', 'ILYMPJINJ', 'IM', 'IMD', 'IMZ', 'IMEDULINJ', 'INTERMENINJ', 'INTERSTITINJ', 'IOINJ', 'IOSSINJ', 'IOVARINJ', 'IPCARDINJ', 'IPERINJ', 'IPINJ', 'IPLRINJ', 'IPROSTINJ', 'IPUMPINJ', 'ISINJ', 'ISTERINJ', 'ISYNINJ', 'ITENDINJ', 'ITESTINJ', 'ITHORINJ', 'ITINJ', 'ITUBINJ', 'ITUMINJ', 'ITYMPINJ', 'IUINJ', 'IUINJC', 'IURETINJ', 'IVASCINJ', 'IVENTINJ', 'IVESINJ', 'IVINJ', 'IVINJBOL', 'IVPUSH', 'IVRPUSH', 'IVSPUSH', 'IVITINJ', 'PAINJ', 'PARENTINJ', 'PDONTINJ', 'PDPINJ', 'PDURINJ', 'PNINJ', 'PNSINJ', 'RBINJ', 'SCINJ', 'SLESINJ', 'SOFTISINJ', 'SQ', 'SUBARACHINJ', 'SUBMUCINJ', 'TRPLACINJ', 'TRTRACHINJ', 'URETHINJ', 'URETINJ', '_Insertion', 'CERVINS', 'IOSURGINS', 'IU', 'LPINS', 'PR', 'SQSURGINS', 'URETHINS', 'VAGINSI', '_Instillation', 'CECINSTL', 'EFT', 'ENTINSTL', 'GT', 'NGT', 'OGT', 'BLADINSTL', 'CAPDINSTL', 'CTINSTL', 'ETINSTL', 'GJT', 'IBRONCHINSTIL', 'IDUODINSTIL', 'IESOPHINSTIL', 'IGASTINSTIL', 'IILEALINJ', 'IOINSTL', 'ISININSTIL', 'ITRACHINSTIL', 'IUINSTL', 'JJTINSTL', 'LARYNGINSTIL', 'NASALINSTIL', 'NASOGASINSTIL', 'NTT', 'OJJ', 'OT', 'PDPINSTL', 'PNSINSTL', 'RECINSTL', 'RECTINSTL', 'SININSTIL', 'SOFTISINSTIL', 'TRACHINSTL', 'TRTYMPINSTIL', 'URETHINSTL', '_IontophoresisRoute', 'IONTO', '_Irrigation', 'GUIRR', 'IGASTIRR', 'ILESIRR', 'IOIRR', 'BLADIRR', 'BLADIRRC', 'BLADIRRT', 'RECIRR', '_LavageRoute', 'IGASTLAV', '_MucosalAbsorptionRoute', 'IDOUDMAB', 'ITRACHMAB', 'SMUCMAB', '_Nebulization', 'ETNEB', '_Rinse', 'DENRINSE', 'ORRINSE', '_SuppositoryRoute', 'URETHSUP', '_Swish', 'SWISHSPIT', 'SWISHSWAL', '_TopicalAbsorptionRoute', 'TTYMPTABSORP', '_TopicalApplication', 'DRESS', 'SWAB', 'TOPICAL', 'BUC', 'CERV', 'DEN', 'GIN', 'HAIR', 'ICORNTA', 'ICORONTA', 'IESOPHTA', 'IILEALTA', 'ILTOP', 'ILUMTA', 'IOTOP', 'LARYNGTA', 'MUC', 'NAIL', 'NASAL', 'OPTHALTA', 'ORALTA', 'ORMUC', 'OROPHARTA', 'PERIANAL', 'PERINEAL', 'PDONTTA', 'RECTAL', 'SCALP', 'OCDRESTA', 'SKIN', 'SUBCONJTA', 'TMUCTA', 'VAGINS', 'INSUF', 'TRNSDERM', '_RouteBySite', '_AmnioticFluidSacRoute', '_BiliaryRoute', '_BodySurfaceRoute', '_BuccalMucosaRoute', '_CecostomyRoute', '_CervicalRoute', '_EndocervicalRoute', '_EnteralRoute', '_EpiduralRoute', '_ExtraAmnioticRoute', '_ExtracorporealCirculationRoute', '_GastricRoute', '_GenitourinaryRoute', '_GingivalRoute', '_HairRoute', '_InterameningealRoute', '_InterstitialRoute', '_IntraabdominalRoute', '_IntraarterialRoute', '_IntraarticularRoute', '_IntrabronchialRoute', '_IntrabursalRoute', '_IntracardiacRoute', '_IntracartilaginousRoute', '_IntracaudalRoute', '_IntracavernosalRoute', '_IntracavitaryRoute', '_IntracerebralRoute', '_IntracervicalRoute', '_IntracisternalRoute', '_IntracornealRoute', '_IntracoronalRoute', '_IntracoronaryRoute', '_IntracorpusCavernosumRoute', '_IntradermalRoute', '_IntradiscalRoute', '_IntraductalRoute', '_IntraduodenalRoute', '_IntraduralRoute', '_IntraepidermalRoute', '_IntraepithelialRoute', '_IntraesophagealRoute', '_IntragastricRoute', '_IntrailealRoute', '_IntralesionalRoute', '_IntraluminalRoute', '_IntralymphaticRoute', '_IntramedullaryRoute', '_IntramuscularRoute', '_IntraocularRoute', '_IntraosseousRoute', '_IntraovarianRoute', '_IntrapericardialRoute', '_IntraperitonealRoute', '_IntrapleuralRoute', '_IntraprostaticRoute', '_IntrapulmonaryRoute', '_IntrasinalRoute', '_IntraspinalRoute', '_IntrasternalRoute', '_IntrasynovialRoute', '_IntratendinousRoute', '_IntratesticularRoute', '_IntrathecalRoute', '_IntrathoracicRoute', '_IntratrachealRoute', '_IntratubularRoute', '_IntratumorRoute', '_IntratympanicRoute', '_IntrauterineRoute', '_IntravascularRoute', '_IntravenousRoute', '_IntraventricularRoute', '_IntravesicleRoute', '_IntravitrealRoute', '_JejunumRoute', '_LacrimalPunctaRoute', '_LaryngealRoute', '_LingualRoute', '_MucousMembraneRoute', '_NailRoute', '_NasalRoute', '_OphthalmicRoute', '_OralRoute', '_OromucosalRoute', '_OropharyngealRoute', '_OticRoute', '_ParanasalSinusesRoute', '_ParenteralRoute', '_PerianalRoute', '_PeriarticularRoute', '_PeriduralRoute', '_PerinealRoute', '_PerineuralRoute', '_PeriodontalRoute', '_PulmonaryRoute', '_RectalRoute', '_RespiratoryTractRoute', '_RetrobulbarRoute', '_ScalpRoute', '_SinusUnspecifiedRoute', '_SkinRoute', '_SoftTissueRoute', '_SubarachnoidRoute', '_SubconjunctivalRoute', '_SubcutaneousRoute', '_SublesionalRoute', '_SublingualRoute', '_SubmucosalRoute', '_TracheostomyRoute', '_TransmucosalRoute', '_TransplacentalRoute', '_TranstrachealRoute', '_TranstympanicRoute', '_UreteralRoute', '_UrethralRoute', '_UrinaryBladderRoute', '_UrinaryTractRoute', '_VaginalRoute', '_VitreousHumourRoute'] }, 'type' => 'CodeableConcept', 'path' => 'Immunization.route', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/immunization-route' } }, + 'doseQuantity' => { 'type' => 'Quantity', 'path' => 'Immunization.doseQuantity', 'min' => 0, 'max' => 1 }, + 'note' => { 'type' => 'Annotation', 'path' => 'Immunization.note', 'min' => 0, 'max' => Float::INFINITY }, + 'explanation' => { 'type' => 'Immunization::Explanation', 'path' => 'Immunization.explanation', 'min' => 0, 'max' => 1 }, + 'reaction' => { 'type' => 'Immunization::Reaction', 'path' => 'Immunization.reaction', 'min' => 0, 'max' => Float::INFINITY }, + 'vaccinationProtocol' => { 'type' => 'Immunization::VaccinationProtocol', 'path' => 'Immunization.vaccinationProtocol', 'min' => 0, 'max' => Float::INFINITY } } class Explanation < FHIR::DSTU2::Model @@ -44,11 +44,11 @@ class Explanation < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Explanation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Explanation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Explanation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'reason' => {'valid_codes'=>{'http://snomed.info/sct'=>['429060002', '281657000']}, 'type'=>'CodeableConcept', 'path'=>'Explanation.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-reason'}}, - 'reasonNotGiven' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Explanation.reasonNotGiven', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/no-immunization-reason'}} + 'id' => { 'type' => 'id', 'path' => 'Explanation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Explanation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Explanation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'reason' => { 'valid_codes' => { 'http://snomed.info/sct' => ['429060002', '281657000'] }, 'type' => 'CodeableConcept', 'path' => 'Explanation.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/immunization-reason' } }, + 'reasonNotGiven' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Explanation.reasonNotGiven', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/no-immunization-reason' } } } attr_accessor :id # 0-1 id @@ -64,12 +64,12 @@ class Reaction < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Reaction.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Reaction.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Reaction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'Reaction.date', 'min'=>0, 'max'=>1}, - 'detail' => {'type'=>'Reference', 'path'=>'Reaction.detail', 'min'=>0, 'max'=>1}, - 'reported' => {'type'=>'boolean', 'path'=>'Reaction.reported', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Reaction.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Reaction.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Reaction.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'Reaction.date', 'min' => 0, 'max' => 1 }, + 'detail' => { 'type' => 'Reference', 'path' => 'Reaction.detail', 'min' => 0, 'max' => 1 }, + 'reported' => { 'type' => 'boolean', 'path' => 'Reaction.reported', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -86,17 +86,17 @@ class VaccinationProtocol < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'VaccinationProtocol.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'VaccinationProtocol.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'VaccinationProtocol.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'doseSequence' => {'type'=>'positiveInt', 'path'=>'VaccinationProtocol.doseSequence', 'min'=>1, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'VaccinationProtocol.description', 'min'=>0, 'max'=>1}, - 'authority' => {'type'=>'Reference', 'path'=>'VaccinationProtocol.authority', 'min'=>0, 'max'=>1}, - 'series' => {'type'=>'string', 'path'=>'VaccinationProtocol.series', 'min'=>0, 'max'=>1}, - 'seriesDoses' => {'type'=>'positiveInt', 'path'=>'VaccinationProtocol.seriesDoses', 'min'=>0, 'max'=>1}, - 'targetDisease' => {'valid_codes'=>{'http://snomed.info/sct'=>['1857005', '397430003', '14189004', '36989005', '36653000', '76902006', '709410003', '27836007', '398102009']}, 'type'=>'CodeableConcept', 'path'=>'VaccinationProtocol.targetDisease', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target'}}, - 'doseStatus' => {'valid_codes'=>{'http://hl7.org/fhir/vaccination-protocol-dose-status'=>['count', 'nocount']}, 'type'=>'CodeableConcept', 'path'=>'VaccinationProtocol.doseStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status'}}, - 'doseStatusReason' => {'valid_codes'=>{'http://hl7.org/fhir/vaccination-protocol-dose-status-reason'=>['advstorage', 'coldchbrk', 'explot', 'outsidesched', 'prodrecall']}, 'type'=>'CodeableConcept', 'path'=>'VaccinationProtocol.doseStatusReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason'}} + 'id' => { 'type' => 'id', 'path' => 'VaccinationProtocol.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'VaccinationProtocol.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'VaccinationProtocol.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'doseSequence' => { 'type' => 'positiveInt', 'path' => 'VaccinationProtocol.doseSequence', 'min' => 1, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'VaccinationProtocol.description', 'min' => 0, 'max' => 1 }, + 'authority' => { 'type' => 'Reference', 'path' => 'VaccinationProtocol.authority', 'min' => 0, 'max' => 1 }, + 'series' => { 'type' => 'string', 'path' => 'VaccinationProtocol.series', 'min' => 0, 'max' => 1 }, + 'seriesDoses' => { 'type' => 'positiveInt', 'path' => 'VaccinationProtocol.seriesDoses', 'min' => 0, 'max' => 1 }, + 'targetDisease' => { 'valid_codes' => { 'http://snomed.info/sct' => ['1857005', '397430003', '14189004', '36989005', '36653000', '76902006', '709410003', '27836007', '398102009'] }, 'type' => 'CodeableConcept', 'path' => 'VaccinationProtocol.targetDisease', 'min' => 1, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target' } }, + 'doseStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/vaccination-protocol-dose-status' => ['count', 'nocount'] }, 'type' => 'CodeableConcept', 'path' => 'VaccinationProtocol.doseStatus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status' } }, + 'doseStatusReason' => { 'valid_codes' => { 'http://hl7.org/fhir/vaccination-protocol-dose-status-reason' => ['advstorage', 'coldchbrk', 'explot', 'outsidesched', 'prodrecall'] }, 'type' => 'CodeableConcept', 'path' => 'VaccinationProtocol.doseStatusReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb b/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb index 19f49ea4..7c1a6cd5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb @@ -7,17 +7,17 @@ class ImmunizationRecommendation < FHIR::DSTU2::Model SEARCH_PARAMS = ['date', 'dose-number', 'dose-sequence', 'identifier', 'information', 'patient', 'status', 'support', 'vaccine-type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ImmunizationRecommendation.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ImmunizationRecommendation.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ImmunizationRecommendation.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ImmunizationRecommendation.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ImmunizationRecommendation.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ImmunizationRecommendation.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ImmunizationRecommendation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ImmunizationRecommendation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ImmunizationRecommendation.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'ImmunizationRecommendation.patient', 'min'=>1, 'max'=>1}, - 'recommendation' => {'type'=>'ImmunizationRecommendation::Recommendation', 'path'=>'ImmunizationRecommendation.recommendation', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'ImmunizationRecommendation.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ImmunizationRecommendation.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ImmunizationRecommendation.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ImmunizationRecommendation.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ImmunizationRecommendation.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ImmunizationRecommendation.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ImmunizationRecommendation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ImmunizationRecommendation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ImmunizationRecommendation.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'ImmunizationRecommendation.patient', 'min' => 1, 'max' => 1 }, + 'recommendation' => { 'type' => 'ImmunizationRecommendation::Recommendation', 'path' => 'ImmunizationRecommendation.recommendation', 'min' => 1, 'max' => Float::INFINITY } } class Recommendation < FHIR::DSTU2::Model @@ -26,17 +26,17 @@ class Recommendation < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Recommendation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Recommendation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Recommendation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'Recommendation.date', 'min'=>1, 'max'=>1}, - 'vaccineCode' => {'valid_codes'=>{'http://hl7.org/fhir/sid/cvx'=>[], 'urn:oid:1.2.36.1.2001.1005.17'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Recommendation.vaccineCode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vaccine-code'}}, - 'doseNumber' => {'type'=>'positiveInt', 'path'=>'Recommendation.doseNumber', 'min'=>0, 'max'=>1}, - 'forecastStatus' => {'valid_codes'=>{'http://hl7.org/fhir/immunization-recommendation-status'=>['due', 'overdue']}, 'type'=>'CodeableConcept', 'path'=>'Recommendation.forecastStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-recommendation-status'}}, - 'dateCriterion' => {'type'=>'ImmunizationRecommendation::Recommendation::DateCriterion', 'path'=>'Recommendation.dateCriterion', 'min'=>0, 'max'=>Float::INFINITY}, - 'protocol' => {'type'=>'ImmunizationRecommendation::Recommendation::Protocol', 'path'=>'Recommendation.protocol', 'min'=>0, 'max'=>1}, - 'supportingImmunization' => {'type'=>'Reference', 'path'=>'Recommendation.supportingImmunization', 'min'=>0, 'max'=>Float::INFINITY}, - 'supportingPatientInformation' => {'type'=>'Reference', 'path'=>'Recommendation.supportingPatientInformation', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Recommendation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Recommendation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Recommendation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'Recommendation.date', 'min' => 1, 'max' => 1 }, + 'vaccineCode' => { 'valid_codes' => { 'http://hl7.org/fhir/sid/cvx' => [], 'urn:oid:1.2.36.1.2001.1005.17' => [] }, 'type' => 'CodeableConcept', 'path' => 'Recommendation.vaccineCode', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/vaccine-code' } }, + 'doseNumber' => { 'type' => 'positiveInt', 'path' => 'Recommendation.doseNumber', 'min' => 0, 'max' => 1 }, + 'forecastStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/immunization-recommendation-status' => ['due', 'overdue'] }, 'type' => 'CodeableConcept', 'path' => 'Recommendation.forecastStatus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/immunization-recommendation-status' } }, + 'dateCriterion' => { 'type' => 'ImmunizationRecommendation::Recommendation::DateCriterion', 'path' => 'Recommendation.dateCriterion', 'min' => 0, 'max' => Float::INFINITY }, + 'protocol' => { 'type' => 'ImmunizationRecommendation::Recommendation::Protocol', 'path' => 'Recommendation.protocol', 'min' => 0, 'max' => 1 }, + 'supportingImmunization' => { 'type' => 'Reference', 'path' => 'Recommendation.supportingImmunization', 'min' => 0, 'max' => Float::INFINITY }, + 'supportingPatientInformation' => { 'type' => 'Reference', 'path' => 'Recommendation.supportingPatientInformation', 'min' => 0, 'max' => Float::INFINITY } } class DateCriterion < FHIR::DSTU2::Model @@ -45,11 +45,11 @@ class DateCriterion < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'DateCriterion.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'DateCriterion.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DateCriterion.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/immunization-recommendation-date-criterion'=>['due', 'recommended', 'earliest', 'overdue', 'latest']}, 'type'=>'CodeableConcept', 'path'=>'DateCriterion.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion'}}, - 'value' => {'type'=>'dateTime', 'path'=>'DateCriterion.value', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'DateCriterion.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'DateCriterion.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DateCriterion.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/immunization-recommendation-date-criterion' => ['due', 'recommended', 'earliest', 'overdue', 'latest'] }, 'type' => 'CodeableConcept', 'path' => 'DateCriterion.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion' } }, + 'value' => { 'type' => 'dateTime', 'path' => 'DateCriterion.value', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -65,13 +65,13 @@ class Protocol < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Protocol.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Protocol.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Protocol.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'doseSequence' => {'type'=>'integer', 'path'=>'Protocol.doseSequence', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Protocol.description', 'min'=>0, 'max'=>1}, - 'authority' => {'type'=>'Reference', 'path'=>'Protocol.authority', 'min'=>0, 'max'=>1}, - 'series' => {'type'=>'string', 'path'=>'Protocol.series', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Protocol.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Protocol.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Protocol.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'doseSequence' => { 'type' => 'integer', 'path' => 'Protocol.doseSequence', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Protocol.description', 'min' => 0, 'max' => 1 }, + 'authority' => { 'type' => 'Reference', 'path' => 'Protocol.authority', 'min' => 0, 'max' => 1 }, + 'series' => { 'type' => 'string', 'path' => 'Protocol.series', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb b/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb index 41e306e5..74e01f23 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb @@ -7,31 +7,31 @@ class ImplementationGuide < FHIR::DSTU2::Model SEARCH_PARAMS = ['context', 'date', 'dependency', 'description', 'experimental', 'name', 'publisher', 'status', 'url', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ImplementationGuide.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ImplementationGuide.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ImplementationGuide.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ImplementationGuide.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ImplementationGuide.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ImplementationGuide.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ImplementationGuide.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ImplementationGuide.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'ImplementationGuide.url', 'min'=>1, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'ImplementationGuide.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'ImplementationGuide.name', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'ImplementationGuide.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'ImplementationGuide.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'ImplementationGuide.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'ImplementationGuide::Contact', 'path'=>'ImplementationGuide.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'ImplementationGuide.date', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'ImplementationGuide.description', 'min'=>0, 'max'=>1}, - 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'ImplementationGuide.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, - 'copyright' => {'type'=>'string', 'path'=>'ImplementationGuide.copyright', 'min'=>0, 'max'=>1}, - 'fhirVersion' => {'type'=>'id', 'path'=>'ImplementationGuide.fhirVersion', 'min'=>0, 'max'=>1}, - 'dependency' => {'type'=>'ImplementationGuide::Dependency', 'path'=>'ImplementationGuide.dependency', 'min'=>0, 'max'=>Float::INFINITY}, - 'package' => {'type'=>'ImplementationGuide::Package', 'path'=>'ImplementationGuide.package', 'min'=>1, 'max'=>Float::INFINITY}, - 'global' => {'type'=>'ImplementationGuide::Global', 'path'=>'ImplementationGuide.global', 'min'=>0, 'max'=>Float::INFINITY}, - 'binary' => {'type'=>'uri', 'path'=>'ImplementationGuide.binary', 'min'=>0, 'max'=>Float::INFINITY}, - 'page' => {'type'=>'ImplementationGuide::Page', 'path'=>'ImplementationGuide.page', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ImplementationGuide.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ImplementationGuide.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ImplementationGuide.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ImplementationGuide.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ImplementationGuide.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ImplementationGuide.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ImplementationGuide.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ImplementationGuide.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'ImplementationGuide.url', 'min' => 1, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'ImplementationGuide.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'ImplementationGuide.name', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'ImplementationGuide.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'ImplementationGuide.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'ImplementationGuide.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'ImplementationGuide::Contact', 'path' => 'ImplementationGuide.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'ImplementationGuide.date', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'ImplementationGuide.description', 'min' => 0, 'max' => 1 }, + 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'ImplementationGuide.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, + 'copyright' => { 'type' => 'string', 'path' => 'ImplementationGuide.copyright', 'min' => 0, 'max' => 1 }, + 'fhirVersion' => { 'type' => 'id', 'path' => 'ImplementationGuide.fhirVersion', 'min' => 0, 'max' => 1 }, + 'dependency' => { 'type' => 'ImplementationGuide::Dependency', 'path' => 'ImplementationGuide.dependency', 'min' => 0, 'max' => Float::INFINITY }, + 'package' => { 'type' => 'ImplementationGuide::Package', 'path' => 'ImplementationGuide.package', 'min' => 1, 'max' => Float::INFINITY }, + 'global' => { 'type' => 'ImplementationGuide::Global', 'path' => 'ImplementationGuide.global', 'min' => 0, 'max' => Float::INFINITY }, + 'binary' => { 'type' => 'uri', 'path' => 'ImplementationGuide.binary', 'min' => 0, 'max' => Float::INFINITY }, + 'page' => { 'type' => 'ImplementationGuide::Page', 'path' => 'ImplementationGuide.page', 'min' => 1, 'max' => 1 } } class Contact < FHIR::DSTU2::Model @@ -40,11 +40,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -60,11 +60,11 @@ class Dependency < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Dependency.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Dependency.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Dependency.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/guide-dependency-type'=>['reference', 'inclusion']}, 'type'=>'code', 'path'=>'Dependency.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/guide-dependency-type'}}, - 'uri' => {'type'=>'uri', 'path'=>'Dependency.uri', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Dependency.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Dependency.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Dependency.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/guide-dependency-type' => ['reference', 'inclusion'] }, 'type' => 'code', 'path' => 'Dependency.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/guide-dependency-type' } }, + 'uri' => { 'type' => 'uri', 'path' => 'Dependency.uri', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -80,12 +80,12 @@ class Package < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Package.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Package.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Package.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Package.name', 'min'=>1, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Package.description', 'min'=>0, 'max'=>1}, - 'resource' => {'type'=>'ImplementationGuide::Package::Resource', 'path'=>'Package.resource', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Package.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Package.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Package.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Package.name', 'min' => 1, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Package.description', 'min' => 0, 'max' => 1 }, + 'resource' => { 'type' => 'ImplementationGuide::Package::Resource', 'path' => 'Package.resource', 'min' => 1, 'max' => Float::INFINITY } } class Resource < FHIR::DSTU2::Model @@ -97,16 +97,16 @@ class Resource < FHIR::DSTU2::Model 'source' => ['uri', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Resource.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Resource.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Resource.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'purpose' => {'valid_codes'=>{'http://hl7.org/fhir/guide-resource-purpose'=>['example', 'terminology', 'profile', 'extension', 'dictionary', 'logical']}, 'type'=>'code', 'path'=>'Resource.purpose', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/guide-resource-purpose'}}, - 'name' => {'type'=>'string', 'path'=>'Resource.name', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Resource.description', 'min'=>0, 'max'=>1}, - 'acronym' => {'type'=>'string', 'path'=>'Resource.acronym', 'min'=>0, 'max'=>1}, - 'sourceUri' => {'type'=>'uri', 'path'=>'Resource.source[x]', 'min'=>1, 'max'=>1}, - 'sourceReference' => {'type'=>'Reference', 'path'=>'Resource.source[x]', 'min'=>1, 'max'=>1}, - 'exampleFor' => {'type'=>'Reference', 'path'=>'Resource.exampleFor', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Resource.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Resource.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Resource.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'purpose' => { 'valid_codes' => { 'http://hl7.org/fhir/guide-resource-purpose' => ['example', 'terminology', 'profile', 'extension', 'dictionary', 'logical'] }, 'type' => 'code', 'path' => 'Resource.purpose', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/guide-resource-purpose' } }, + 'name' => { 'type' => 'string', 'path' => 'Resource.name', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Resource.description', 'min' => 0, 'max' => 1 }, + 'acronym' => { 'type' => 'string', 'path' => 'Resource.acronym', 'min' => 0, 'max' => 1 }, + 'sourceUri' => { 'type' => 'uri', 'path' => 'Resource.source[x]', 'min' => 1, 'max' => 1 }, + 'sourceReference' => { 'type' => 'Reference', 'path' => 'Resource.source[x]', 'min' => 1, 'max' => 1 }, + 'exampleFor' => { 'type' => 'Reference', 'path' => 'Resource.exampleFor', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -135,11 +135,11 @@ class Global < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Global.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Global.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Global.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Global.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'profile' => {'type'=>'Reference', 'path'=>'Global.profile', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Global.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Global.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Global.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Global.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'profile' => { 'type' => 'Reference', 'path' => 'Global.profile', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -155,16 +155,16 @@ class Page < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Page.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Page.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Page.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'source' => {'type'=>'uri', 'path'=>'Page.source', 'min'=>1, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'Page.name', 'min'=>1, 'max'=>1}, - 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/guide-page-kind'=>['page', 'example', 'list', 'include', 'directory', 'dictionary', 'toc', 'resource']}, 'type'=>'code', 'path'=>'Page.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/guide-page-kind'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Page.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'package' => {'type'=>'string', 'path'=>'Page.package', 'min'=>0, 'max'=>Float::INFINITY}, - 'format' => {'type'=>'code', 'path'=>'Page.format', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'page' => {'type'=>'ImplementationGuide::Page', 'path'=>'Page.page', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Page.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Page.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Page.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'source' => { 'type' => 'uri', 'path' => 'Page.source', 'min' => 1, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'Page.name', 'min' => 1, 'max' => 1 }, + 'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/guide-page-kind' => ['page', 'example', 'list', 'include', 'directory', 'dictionary', 'toc', 'resource'] }, 'type' => 'code', 'path' => 'Page.kind', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/guide-page-kind' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Page.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'package' => { 'type' => 'string', 'path' => 'Page.package', 'min' => 0, 'max' => Float::INFINITY }, + 'format' => { 'type' => 'code', 'path' => 'Page.format', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, + 'page' => { 'type' => 'ImplementationGuide::Page', 'path' => 'Page.page', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/List.rb b/lib/fhir_dstu2_models/fhir/resources/List.rb index cdea6049..05b83727 100644 --- a/lib/fhir_dstu2_models/fhir/resources/List.rb +++ b/lib/fhir_dstu2_models/fhir/resources/List.rb @@ -7,27 +7,27 @@ class List < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'date', 'empty-reason', 'encounter', 'item', 'notes', 'patient', 'source', 'status', 'subject', 'title'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'List.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'List.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'List.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'List.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'List.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'List.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'List.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'List.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'List.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'title' => {'type'=>'string', 'path'=>'List.title', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/list-example-use-codes'=>['alerts', 'adverserxns', 'allergies', 'medications', 'problems', 'worklist', 'waiting', 'protocols', 'plans']}, 'type'=>'CodeableConcept', 'path'=>'List.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/list-example-codes'}}, - 'subject' => {'type'=>'Reference', 'path'=>'List.subject', 'min'=>0, 'max'=>1}, - 'source' => {'type'=>'Reference', 'path'=>'List.source', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'List.encounter', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/list-status'=>['current', 'retired', 'entered-in-error']}, 'type'=>'code', 'path'=>'List.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/list-status'}}, - 'date' => {'type'=>'dateTime', 'path'=>'List.date', 'min'=>0, 'max'=>1}, - 'orderedBy' => {'valid_codes'=>{'http://hl7.org/fhir/list-order'=>['user', 'system', 'event-date', 'entry-date', 'priority', 'alphabetic', 'category', 'patient']}, 'type'=>'CodeableConcept', 'path'=>'List.orderedBy', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/list-order'}}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/list-mode'=>['working', 'snapshot', 'changes']}, 'type'=>'code', 'path'=>'List.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/list-mode'}}, - 'note' => {'type'=>'string', 'path'=>'List.note', 'min'=>0, 'max'=>1}, - 'entry' => {'type'=>'List::Entry', 'path'=>'List.entry', 'min'=>0, 'max'=>Float::INFINITY}, - 'emptyReason' => {'valid_codes'=>{'http://hl7.org/fhir/list-empty-reason'=>['nilknown', 'notasked', 'withheld', 'unavailable', 'notstarted', 'closed']}, 'type'=>'CodeableConcept', 'path'=>'List.emptyReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/list-empty-reason'}} + 'id' => { 'type' => 'id', 'path' => 'List.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'List.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'List.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'List.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'List.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'List.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'List.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'List.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'List.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'title' => { 'type' => 'string', 'path' => 'List.title', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/list-example-use-codes' => ['alerts', 'adverserxns', 'allergies', 'medications', 'problems', 'worklist', 'waiting', 'protocols', 'plans'] }, 'type' => 'CodeableConcept', 'path' => 'List.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/list-example-codes' } }, + 'subject' => { 'type' => 'Reference', 'path' => 'List.subject', 'min' => 0, 'max' => 1 }, + 'source' => { 'type' => 'Reference', 'path' => 'List.source', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'List.encounter', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/list-status' => ['current', 'retired', 'entered-in-error'] }, 'type' => 'code', 'path' => 'List.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/list-status' } }, + 'date' => { 'type' => 'dateTime', 'path' => 'List.date', 'min' => 0, 'max' => 1 }, + 'orderedBy' => { 'valid_codes' => { 'http://hl7.org/fhir/list-order' => ['user', 'system', 'event-date', 'entry-date', 'priority', 'alphabetic', 'category', 'patient'] }, 'type' => 'CodeableConcept', 'path' => 'List.orderedBy', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/list-order' } }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/list-mode' => ['working', 'snapshot', 'changes'] }, 'type' => 'code', 'path' => 'List.mode', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/list-mode' } }, + 'note' => { 'type' => 'string', 'path' => 'List.note', 'min' => 0, 'max' => 1 }, + 'entry' => { 'type' => 'List::Entry', 'path' => 'List.entry', 'min' => 0, 'max' => Float::INFINITY }, + 'emptyReason' => { 'valid_codes' => { 'http://hl7.org/fhir/list-empty-reason' => ['nilknown', 'notasked', 'withheld', 'unavailable', 'notstarted', 'closed'] }, 'type' => 'CodeableConcept', 'path' => 'List.emptyReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/list-empty-reason' } } } class Entry < FHIR::DSTU2::Model @@ -36,13 +36,13 @@ class Entry < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Entry.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Entry.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Entry.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'flag' => {'valid_codes'=>{'urn:oid:1.2.36.1.2001.1001.101.104.16592'=>['01', '02', '03', '04', '05', '06']}, 'type'=>'CodeableConcept', 'path'=>'Entry.flag', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/list-item-flag'}}, - 'deleted' => {'type'=>'boolean', 'path'=>'Entry.deleted', 'min'=>0, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'Entry.date', 'min'=>0, 'max'=>1}, - 'item' => {'type'=>'Reference', 'path'=>'Entry.item', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Entry.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Entry.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Entry.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'flag' => { 'valid_codes' => { 'urn:oid:1.2.36.1.2001.1001.101.104.16592' => ['01', '02', '03', '04', '05', '06'] }, 'type' => 'CodeableConcept', 'path' => 'Entry.flag', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/list-item-flag' } }, + 'deleted' => { 'type' => 'boolean', 'path' => 'Entry.deleted', 'min' => 0, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'Entry.date', 'min' => 0, 'max' => 1 }, + 'item' => { 'type' => 'Reference', 'path' => 'Entry.item', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Location.rb b/lib/fhir_dstu2_models/fhir/resources/Location.rb index 33b613ab..17902d13 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Location.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Location.rb @@ -7,26 +7,26 @@ class Location < FHIR::DSTU2::Model SEARCH_PARAMS = ['address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'identifier', 'name', 'near', 'near-distance', 'organization', 'partof', 'status', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Location.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Location.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Location.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Location.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Location.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Location.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Location.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Location.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Location.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/location-status'=>['active', 'suspended', 'inactive']}, 'type'=>'code', 'path'=>'Location.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/location-status'}}, - 'name' => {'type'=>'string', 'path'=>'Location.name', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Location.description', 'min'=>0, 'max'=>1}, - 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/location-mode'=>['instance', 'kind']}, 'type'=>'code', 'path'=>'Location.mode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/location-mode'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RoleCode'=>['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', 'FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR']}, 'type'=>'CodeableConcept', 'path'=>'Location.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType'}}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Location.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'address' => {'type'=>'Address', 'path'=>'Location.address', 'min'=>0, 'max'=>1}, - 'physicalType' => {'valid_codes'=>{'http://hl7.org/fhir/location-physical-type'=>['bu', 'wi', 'lvl', 'co', 'ro', 'bd', 've', 'ho', 'ca', 'rd', 'jdn', 'area']}, 'type'=>'CodeableConcept', 'path'=>'Location.physicalType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/location-physical-type'}}, - 'position' => {'type'=>'Location::Position', 'path'=>'Location.position', 'min'=>0, 'max'=>1}, - 'managingOrganization' => {'type'=>'Reference', 'path'=>'Location.managingOrganization', 'min'=>0, 'max'=>1}, - 'partOf' => {'type'=>'Reference', 'path'=>'Location.partOf', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Location.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Location.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Location.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Location.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Location.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Location.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Location.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Location.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Location.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/location-status' => ['active', 'suspended', 'inactive'] }, 'type' => 'code', 'path' => 'Location.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/location-status' } }, + 'name' => { 'type' => 'string', 'path' => 'Location.name', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Location.description', 'min' => 0, 'max' => 1 }, + 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/location-mode' => ['instance', 'kind'] }, 'type' => 'code', 'path' => 'Location.mode', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/location-mode' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/RoleCode' => ['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', 'FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR'] }, 'type' => 'CodeableConcept', 'path' => 'Location.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType' } }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Location.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'address' => { 'type' => 'Address', 'path' => 'Location.address', 'min' => 0, 'max' => 1 }, + 'physicalType' => { 'valid_codes' => { 'http://hl7.org/fhir/location-physical-type' => ['bu', 'wi', 'lvl', 'co', 'ro', 'bd', 've', 'ho', 'ca', 'rd', 'jdn', 'area'] }, 'type' => 'CodeableConcept', 'path' => 'Location.physicalType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/location-physical-type' } }, + 'position' => { 'type' => 'Location::Position', 'path' => 'Location.position', 'min' => 0, 'max' => 1 }, + 'managingOrganization' => { 'type' => 'Reference', 'path' => 'Location.managingOrganization', 'min' => 0, 'max' => 1 }, + 'partOf' => { 'type' => 'Reference', 'path' => 'Location.partOf', 'min' => 0, 'max' => 1 } } class Position < FHIR::DSTU2::Model @@ -35,12 +35,12 @@ class Position < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Position.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Position.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Position.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'longitude' => {'type'=>'decimal', 'path'=>'Position.longitude', 'min'=>1, 'max'=>1}, - 'latitude' => {'type'=>'decimal', 'path'=>'Position.latitude', 'min'=>1, 'max'=>1}, - 'altitude' => {'type'=>'decimal', 'path'=>'Position.altitude', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Position.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Position.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Position.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'longitude' => { 'type' => 'decimal', 'path' => 'Position.longitude', 'min' => 1, 'max' => 1 }, + 'latitude' => { 'type' => 'decimal', 'path' => 'Position.latitude', 'min' => 1, 'max' => 1 }, + 'altitude' => { 'type' => 'decimal', 'path' => 'Position.altitude', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Media.rb b/lib/fhir_dstu2_models/fhir/resources/Media.rb index 91437ed2..53b1abdf 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Media.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Media.rb @@ -7,26 +7,26 @@ class Media < FHIR::DSTU2::Model SEARCH_PARAMS = ['created', 'identifier', 'operator', 'patient', 'subject', 'subtype', 'type', 'view'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Media.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Media.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Media.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Media.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Media.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Media.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Media.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Media.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/digital-media-type'=>['photo', 'video', 'audio']}, 'type'=>'code', 'path'=>'Media.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/digital-media-type'}}, - 'subtype' => {'valid_codes'=>{'http://hl7.org/fhir/media-subtype'=>['diagram', 'fax', 'scan', 'retina', 'fingerprint', 'iris', 'palm', 'face'], 'http://snomed.info/sct'=>[], 'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811', 'IVOCT', 'OSS']}, 'type'=>'CodeableConcept', 'path'=>'Media.subtype', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/digital-media-subtype'}}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Media.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'Media.subject', 'min'=>0, 'max'=>1}, - 'operator' => {'type'=>'Reference', 'path'=>'Media.operator', 'min'=>0, 'max'=>1}, - 'view' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Media.view', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/media-view'}}, - 'deviceName' => {'type'=>'string', 'path'=>'Media.deviceName', 'min'=>0, 'max'=>1}, - 'height' => {'type'=>'positiveInt', 'path'=>'Media.height', 'min'=>0, 'max'=>1}, - 'width' => {'type'=>'positiveInt', 'path'=>'Media.width', 'min'=>0, 'max'=>1}, - 'frames' => {'type'=>'positiveInt', 'path'=>'Media.frames', 'min'=>0, 'max'=>1}, - 'duration' => {'type'=>'unsignedInt', 'path'=>'Media.duration', 'min'=>0, 'max'=>1}, - 'content' => {'type'=>'Attachment', 'path'=>'Media.content', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Media.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Media.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Media.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Media.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Media.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Media.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Media.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Media.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/digital-media-type' => ['photo', 'video', 'audio'] }, 'type' => 'code', 'path' => 'Media.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/digital-media-type' } }, + 'subtype' => { 'valid_codes' => { 'http://hl7.org/fhir/media-subtype' => ['diagram', 'fax', 'scan', 'retina', 'fingerprint', 'iris', 'palm', 'face'], 'http://snomed.info/sct' => [], 'http://nema.org/dicom/dicm' => ['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811', 'IVOCT', 'OSS'] }, 'type' => 'CodeableConcept', 'path' => 'Media.subtype', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/digital-media-subtype' } }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Media.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'Media.subject', 'min' => 0, 'max' => 1 }, + 'operator' => { 'type' => 'Reference', 'path' => 'Media.operator', 'min' => 0, 'max' => 1 }, + 'view' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Media.view', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/media-view' } }, + 'deviceName' => { 'type' => 'string', 'path' => 'Media.deviceName', 'min' => 0, 'max' => 1 }, + 'height' => { 'type' => 'positiveInt', 'path' => 'Media.height', 'min' => 0, 'max' => 1 }, + 'width' => { 'type' => 'positiveInt', 'path' => 'Media.width', 'min' => 0, 'max' => 1 }, + 'frames' => { 'type' => 'positiveInt', 'path' => 'Media.frames', 'min' => 0, 'max' => 1 }, + 'duration' => { 'type' => 'unsignedInt', 'path' => 'Media.duration', 'min' => 0, 'max' => 1 }, + 'content' => { 'type' => 'Attachment', 'path' => 'Media.content', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Medication.rb b/lib/fhir_dstu2_models/fhir/resources/Medication.rb index 9bc29190..fc17fc03 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Medication.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Medication.rb @@ -7,19 +7,19 @@ class Medication < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'destination', 'dispenser', 'identifier', 'medication', 'patient', 'prescription', 'receiver', 'responsibleparty', 'status', 'type', 'whenhandedover', 'whenprepared', 'code', 'effectivedate', 'identifier', 'medication', 'patient', 'source', 'status', 'code', 'container', 'content', 'form', 'ingredient', 'manufacturer', 'code', 'device', 'effectivetime', 'encounter', 'identifier', 'medication', 'notgiven', 'patient', 'practitioner', 'prescription', 'status', 'code', 'datewritten', 'encounter', 'identifier', 'medication', 'patient', 'prescriber', 'status'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Medication.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Medication.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Medication.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Medication.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Medication.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Medication.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Medication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Medication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Medication.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-codes'}}, - 'isBrand' => {'type'=>'boolean', 'path'=>'Medication.isBrand', 'min'=>0, 'max'=>1}, - 'manufacturer' => {'type'=>'Reference', 'path'=>'Medication.manufacturer', 'min'=>0, 'max'=>1}, - 'product' => {'type'=>'Medication::Product', 'path'=>'Medication.product', 'min'=>0, 'max'=>1}, - 'package' => {'type'=>'Medication::Package', 'path'=>'Medication.package', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Medication.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Medication.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Medication.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Medication.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Medication.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Medication.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Medication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Medication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Medication.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-codes' } }, + 'isBrand' => { 'type' => 'boolean', 'path' => 'Medication.isBrand', 'min' => 0, 'max' => 1 }, + 'manufacturer' => { 'type' => 'Reference', 'path' => 'Medication.manufacturer', 'min' => 0, 'max' => 1 }, + 'product' => { 'type' => 'Medication::Product', 'path' => 'Medication.product', 'min' => 0, 'max' => 1 }, + 'package' => { 'type' => 'Medication::Package', 'path' => 'Medication.package', 'min' => 0, 'max' => 1 } } class Product < FHIR::DSTU2::Model @@ -28,12 +28,12 @@ class Product < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Product.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Product.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Product.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'form' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Product.form', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-form-codes'}}, - 'ingredient' => {'type'=>'Medication::Product::Ingredient', 'path'=>'Product.ingredient', 'min'=>0, 'max'=>Float::INFINITY}, - 'batch' => {'type'=>'Medication::Product::Batch', 'path'=>'Product.batch', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Product.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Product.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Product.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'form' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Product.form', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-form-codes' } }, + 'ingredient' => { 'type' => 'Medication::Product::Ingredient', 'path' => 'Product.ingredient', 'min' => 0, 'max' => Float::INFINITY }, + 'batch' => { 'type' => 'Medication::Product::Batch', 'path' => 'Product.batch', 'min' => 0, 'max' => Float::INFINITY } } class Ingredient < FHIR::DSTU2::Model @@ -42,11 +42,11 @@ class Ingredient < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Ingredient.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Ingredient.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Ingredient.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'item' => {'type'=>'Reference', 'path'=>'Ingredient.item', 'min'=>1, 'max'=>1}, - 'amount' => {'type'=>'Ratio', 'path'=>'Ingredient.amount', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Ingredient.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Ingredient.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Ingredient.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'item' => { 'type' => 'Reference', 'path' => 'Ingredient.item', 'min' => 1, 'max' => 1 }, + 'amount' => { 'type' => 'Ratio', 'path' => 'Ingredient.amount', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -62,11 +62,11 @@ class Batch < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Batch.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Batch.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Batch.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'lotNumber' => {'type'=>'string', 'path'=>'Batch.lotNumber', 'min'=>0, 'max'=>1}, - 'expirationDate' => {'type'=>'dateTime', 'path'=>'Batch.expirationDate', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Batch.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Batch.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Batch.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'lotNumber' => { 'type' => 'string', 'path' => 'Batch.lotNumber', 'min' => 0, 'max' => 1 }, + 'expirationDate' => { 'type' => 'dateTime', 'path' => 'Batch.expirationDate', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -90,11 +90,11 @@ class Package < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Package.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Package.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Package.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'container' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Package.container', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-package-form-codes'}}, - 'content' => {'type'=>'Medication::Package::Content', 'path'=>'Package.content', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Package.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Package.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Package.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'container' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Package.container', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-package-form-codes' } }, + 'content' => { 'type' => 'Medication::Package::Content', 'path' => 'Package.content', 'min' => 0, 'max' => Float::INFINITY } } class Content < FHIR::DSTU2::Model @@ -103,11 +103,11 @@ class Content < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Content.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Content.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Content.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'item' => {'type'=>'Reference', 'path'=>'Content.item', 'min'=>1, 'max'=>1}, - 'amount' => {'type'=>'Quantity', 'path'=>'Content.amount', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Content.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Content.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Content.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'item' => { 'type' => 'Reference', 'path' => 'Content.item', 'min' => 1, 'max' => 1 }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Content.amount', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb index 862729de..20cceb97 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb @@ -11,30 +11,30 @@ class MedicationAdministration < FHIR::DSTU2::Model } SEARCH_PARAMS = ['code', 'device', 'effectivetime', 'encounter', 'identifier', 'medication', 'notgiven', 'patient', 'practitioner', 'prescription', 'status'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'MedicationAdministration.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'MedicationAdministration.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationAdministration.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'MedicationAdministration.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'MedicationAdministration.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'MedicationAdministration.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'MedicationAdministration.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationAdministration.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationAdministration.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-admin-status'=>['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped']}, 'type'=>'code', 'path'=>'MedicationAdministration.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-admin-status'}}, - 'patient' => {'type'=>'Reference', 'path'=>'MedicationAdministration.patient', 'min'=>1, 'max'=>1}, - 'practitioner' => {'type'=>'Reference', 'path'=>'MedicationAdministration.practitioner', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'MedicationAdministration.encounter', 'min'=>0, 'max'=>1}, - 'prescription' => {'type'=>'Reference', 'path'=>'MedicationAdministration.prescription', 'min'=>0, 'max'=>1}, - 'wasNotGiven' => {'type'=>'boolean', 'path'=>'MedicationAdministration.wasNotGiven', 'min'=>0, 'max'=>1}, - 'reasonNotGiven' => {'valid_codes'=>{'http://hl7.org/fhir/reason-medication-not-given'=>['a', 'b', 'c', 'd']}, 'type'=>'CodeableConcept', 'path'=>'MedicationAdministration.reasonNotGiven', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes'}}, - 'reasonGiven' => {'valid_codes'=>{'http://hl7.org/fhir/reason-medication-given'=>['a', 'b', 'c']}, 'type'=>'CodeableConcept', 'path'=>'MedicationAdministration.reasonGiven', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/reason-medication-given-codes'}}, - 'effectiveTimeDateTime' => {'type'=>'dateTime', 'path'=>'MedicationAdministration.effectiveTime[x]', 'min'=>1, 'max'=>1}, - 'effectiveTimePeriod' => {'type'=>'Period', 'path'=>'MedicationAdministration.effectiveTime[x]', 'min'=>1, 'max'=>1}, - 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationAdministration.medication[x]', 'min'=>1, 'max'=>1}, - 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationAdministration.medication[x]', 'min'=>1, 'max'=>1}, - 'device' => {'type'=>'Reference', 'path'=>'MedicationAdministration.device', 'min'=>0, 'max'=>Float::INFINITY}, - 'note' => {'type'=>'string', 'path'=>'MedicationAdministration.note', 'min'=>0, 'max'=>1}, - 'dosage' => {'type'=>'MedicationAdministration::Dosage', 'path'=>'MedicationAdministration.dosage', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'MedicationAdministration.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'MedicationAdministration.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'MedicationAdministration.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'MedicationAdministration.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'MedicationAdministration.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'MedicationAdministration.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'MedicationAdministration.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'MedicationAdministration.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'MedicationAdministration.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/medication-admin-status' => ['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped'] }, 'type' => 'code', 'path' => 'MedicationAdministration.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-admin-status' } }, + 'patient' => { 'type' => 'Reference', 'path' => 'MedicationAdministration.patient', 'min' => 1, 'max' => 1 }, + 'practitioner' => { 'type' => 'Reference', 'path' => 'MedicationAdministration.practitioner', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'MedicationAdministration.encounter', 'min' => 0, 'max' => 1 }, + 'prescription' => { 'type' => 'Reference', 'path' => 'MedicationAdministration.prescription', 'min' => 0, 'max' => 1 }, + 'wasNotGiven' => { 'type' => 'boolean', 'path' => 'MedicationAdministration.wasNotGiven', 'min' => 0, 'max' => 1 }, + 'reasonNotGiven' => { 'valid_codes' => { 'http://hl7.org/fhir/reason-medication-not-given' => ['a', 'b', 'c', 'd'] }, 'type' => 'CodeableConcept', 'path' => 'MedicationAdministration.reasonNotGiven', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes' } }, + 'reasonGiven' => { 'valid_codes' => { 'http://hl7.org/fhir/reason-medication-given' => ['a', 'b', 'c'] }, 'type' => 'CodeableConcept', 'path' => 'MedicationAdministration.reasonGiven', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/reason-medication-given-codes' } }, + 'effectiveTimeDateTime' => { 'type' => 'dateTime', 'path' => 'MedicationAdministration.effectiveTime[x]', 'min' => 1, 'max' => 1 }, + 'effectiveTimePeriod' => { 'type' => 'Period', 'path' => 'MedicationAdministration.effectiveTime[x]', 'min' => 1, 'max' => 1 }, + 'medicationCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'MedicationAdministration.medication[x]', 'min' => 1, 'max' => 1 }, + 'medicationReference' => { 'type' => 'Reference', 'path' => 'MedicationAdministration.medication[x]', 'min' => 1, 'max' => 1 }, + 'device' => { 'type' => 'Reference', 'path' => 'MedicationAdministration.device', 'min' => 0, 'max' => Float::INFINITY }, + 'note' => { 'type' => 'string', 'path' => 'MedicationAdministration.note', 'min' => 0, 'max' => 1 }, + 'dosage' => { 'type' => 'MedicationAdministration::Dosage', 'path' => 'MedicationAdministration.dosage', 'min' => 0, 'max' => 1 } } class Dosage < FHIR::DSTU2::Model @@ -47,17 +47,17 @@ class Dosage < FHIR::DSTU2::Model 'rate' => ['Ratio', 'Range'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Dosage.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Dosage.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Dosage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'text' => {'type'=>'string', 'path'=>'Dosage.text', 'min'=>0, 'max'=>1}, - 'siteCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Dosage.site[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/approach-site-codes'}}, - 'siteReference' => {'type'=>'Reference', 'path'=>'Dosage.site[x]', 'min'=>0, 'max'=>1}, - 'route' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Dosage.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}}, - 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'Dosage.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Dosage.quantity', 'min'=>0, 'max'=>1}, - 'rateRatio' => {'type'=>'Ratio', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1}, - 'rateRange' => {'type'=>'Range', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Dosage.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Dosage.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Dosage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'text' => { 'type' => 'string', 'path' => 'Dosage.text', 'min' => 0, 'max' => 1 }, + 'siteCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Dosage.site[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/approach-site-codes' } }, + 'siteReference' => { 'type' => 'Reference', 'path' => 'Dosage.site[x]', 'min' => 0, 'max' => 1 }, + 'route' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Dosage.route', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/route-codes' } }, + 'method' => { 'local_name' => 'local_method', 'type' => 'CodeableConcept', 'path' => 'Dosage.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Dosage.quantity', 'min' => 0, 'max' => 1 }, + 'rateRatio' => { 'type' => 'Ratio', 'path' => 'Dosage.rate[x]', 'min' => 0, 'max' => 1 }, + 'rateRange' => { 'type' => 'Range', 'path' => 'Dosage.rate[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb index f241c3ed..d64862e3 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb @@ -10,31 +10,31 @@ class MedicationDispense < FHIR::DSTU2::Model } SEARCH_PARAMS = ['code', 'destination', 'dispenser', 'identifier', 'medication', 'patient', 'prescription', 'receiver', 'responsibleparty', 'status', 'type', 'whenhandedover', 'whenprepared'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'MedicationDispense.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'MedicationDispense.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationDispense.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'MedicationDispense.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'MedicationDispense.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'MedicationDispense.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'MedicationDispense.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationDispense.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationDispense.identifier', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-dispense-status'=>['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped']}, 'type'=>'code', 'path'=>'MedicationDispense.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-dispense-status'}}, - 'patient' => {'type'=>'Reference', 'path'=>'MedicationDispense.patient', 'min'=>0, 'max'=>1}, - 'dispenser' => {'type'=>'Reference', 'path'=>'MedicationDispense.dispenser', 'min'=>0, 'max'=>1}, - 'authorizingPrescription' => {'type'=>'Reference', 'path'=>'MedicationDispense.authorizingPrescription', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'CodeableConcept', 'path'=>'MedicationDispense.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType'}}, - 'quantity' => {'type'=>'Quantity', 'path'=>'MedicationDispense.quantity', 'min'=>0, 'max'=>1}, - 'daysSupply' => {'type'=>'Quantity', 'path'=>'MedicationDispense.daysSupply', 'min'=>0, 'max'=>1}, - 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationDispense.medication[x]', 'min'=>1, 'max'=>1}, - 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationDispense.medication[x]', 'min'=>1, 'max'=>1}, - 'whenPrepared' => {'type'=>'dateTime', 'path'=>'MedicationDispense.whenPrepared', 'min'=>0, 'max'=>1}, - 'whenHandedOver' => {'type'=>'dateTime', 'path'=>'MedicationDispense.whenHandedOver', 'min'=>0, 'max'=>1}, - 'destination' => {'type'=>'Reference', 'path'=>'MedicationDispense.destination', 'min'=>0, 'max'=>1}, - 'receiver' => {'type'=>'Reference', 'path'=>'MedicationDispense.receiver', 'min'=>0, 'max'=>Float::INFINITY}, - 'note' => {'type'=>'string', 'path'=>'MedicationDispense.note', 'min'=>0, 'max'=>1}, - 'dosageInstruction' => {'type'=>'MedicationDispense::DosageInstruction', 'path'=>'MedicationDispense.dosageInstruction', 'min'=>0, 'max'=>Float::INFINITY}, - 'substitution' => {'type'=>'MedicationDispense::Substitution', 'path'=>'MedicationDispense.substitution', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'MedicationDispense.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'MedicationDispense.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'MedicationDispense.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'MedicationDispense.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'MedicationDispense.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'MedicationDispense.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'MedicationDispense.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'MedicationDispense.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'MedicationDispense.identifier', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/medication-dispense-status' => ['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped'] }, 'type' => 'code', 'path' => 'MedicationDispense.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-dispense-status' } }, + 'patient' => { 'type' => 'Reference', 'path' => 'MedicationDispense.patient', 'min' => 0, 'max' => 1 }, + 'dispenser' => { 'type' => 'Reference', 'path' => 'MedicationDispense.dispenser', 'min' => 0, 'max' => 1 }, + 'authorizingPrescription' => { 'type' => 'Reference', 'path' => 'MedicationDispense.authorizingPrescription', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'] }, 'type' => 'CodeableConcept', 'path' => 'MedicationDispense.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType' } }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'MedicationDispense.quantity', 'min' => 0, 'max' => 1 }, + 'daysSupply' => { 'type' => 'Quantity', 'path' => 'MedicationDispense.daysSupply', 'min' => 0, 'max' => 1 }, + 'medicationCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'MedicationDispense.medication[x]', 'min' => 1, 'max' => 1 }, + 'medicationReference' => { 'type' => 'Reference', 'path' => 'MedicationDispense.medication[x]', 'min' => 1, 'max' => 1 }, + 'whenPrepared' => { 'type' => 'dateTime', 'path' => 'MedicationDispense.whenPrepared', 'min' => 0, 'max' => 1 }, + 'whenHandedOver' => { 'type' => 'dateTime', 'path' => 'MedicationDispense.whenHandedOver', 'min' => 0, 'max' => 1 }, + 'destination' => { 'type' => 'Reference', 'path' => 'MedicationDispense.destination', 'min' => 0, 'max' => 1 }, + 'receiver' => { 'type' => 'Reference', 'path' => 'MedicationDispense.receiver', 'min' => 0, 'max' => Float::INFINITY }, + 'note' => { 'type' => 'string', 'path' => 'MedicationDispense.note', 'min' => 0, 'max' => 1 }, + 'dosageInstruction' => { 'type' => 'MedicationDispense::DosageInstruction', 'path' => 'MedicationDispense.dosageInstruction', 'min' => 0, 'max' => Float::INFINITY }, + 'substitution' => { 'type' => 'MedicationDispense::Substitution', 'path' => 'MedicationDispense.substitution', 'min' => 0, 'max' => 1 } } class DosageInstruction < FHIR::DSTU2::Model @@ -49,23 +49,23 @@ class DosageInstruction < FHIR::DSTU2::Model 'rate' => ['Ratio', 'Range'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'DosageInstruction.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'DosageInstruction.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DosageInstruction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'text' => {'type'=>'string', 'path'=>'DosageInstruction.text', 'min'=>0, 'max'=>1}, - 'additionalInstructions' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.additionalInstructions', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'timing' => {'type'=>'Timing', 'path'=>'DosageInstruction.timing', 'min'=>0, 'max'=>1}, - 'asNeededBoolean' => {'type'=>'boolean', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1}, - 'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'siteCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/approach-site-codes'}}, - 'siteReference' => {'type'=>'Reference', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1}, - 'route' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}}, - 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'doseRange' => {'type'=>'Range', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1}, - 'doseQuantity' => {'type'=>'Quantity', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1}, - 'rateRatio' => {'type'=>'Ratio', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1}, - 'rateRange' => {'type'=>'Range', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1}, - 'maxDosePerPeriod' => {'type'=>'Ratio', 'path'=>'DosageInstruction.maxDosePerPeriod', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'DosageInstruction.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'DosageInstruction.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DosageInstruction.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'text' => { 'type' => 'string', 'path' => 'DosageInstruction.text', 'min' => 0, 'max' => 1 }, + 'additionalInstructions' => { 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.additionalInstructions', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'timing' => { 'type' => 'Timing', 'path' => 'DosageInstruction.timing', 'min' => 0, 'max' => 1 }, + 'asNeededBoolean' => { 'type' => 'boolean', 'path' => 'DosageInstruction.asNeeded[x]', 'min' => 0, 'max' => 1 }, + 'asNeededCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.asNeeded[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'siteCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.site[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/approach-site-codes' } }, + 'siteReference' => { 'type' => 'Reference', 'path' => 'DosageInstruction.site[x]', 'min' => 0, 'max' => 1 }, + 'route' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.route', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/route-codes' } }, + 'method' => { 'local_name' => 'local_method', 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'doseRange' => { 'type' => 'Range', 'path' => 'DosageInstruction.dose[x]', 'min' => 0, 'max' => 1 }, + 'doseQuantity' => { 'type' => 'Quantity', 'path' => 'DosageInstruction.dose[x]', 'min' => 0, 'max' => 1 }, + 'rateRatio' => { 'type' => 'Ratio', 'path' => 'DosageInstruction.rate[x]', 'min' => 0, 'max' => 1 }, + 'rateRange' => { 'type' => 'Range', 'path' => 'DosageInstruction.rate[x]', 'min' => 0, 'max' => 1 }, + 'maxDosePerPeriod' => { 'type' => 'Ratio', 'path' => 'DosageInstruction.maxDosePerPeriod', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -93,12 +93,12 @@ class Substitution < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Substitution.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Substitution.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Substitution.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/substanceAdminSubstitution'=>['E', 'EC', 'BC', 'G', 'TE', 'TB', 'TG', 'F', 'N']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode'}}, - 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason'}}, - 'responsibleParty' => {'type'=>'Reference', 'path'=>'Substitution.responsibleParty', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Substitution.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Substitution.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Substitution.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/substanceAdminSubstitution' => ['E', 'EC', 'BC', 'G', 'TE', 'TB', 'TG', 'F', 'N'] }, 'type' => 'CodeableConcept', 'path' => 'Substitution.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode' } }, + 'reason' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'] }, 'type' => 'CodeableConcept', 'path' => 'Substitution.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason' } }, + 'responsibleParty' => { 'type' => 'Reference', 'path' => 'Substitution.responsibleParty', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb index 629785e0..dda3c4c9 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb @@ -11,31 +11,31 @@ class MedicationOrder < FHIR::DSTU2::Model } SEARCH_PARAMS = ['code', 'datewritten', 'encounter', 'identifier', 'medication', 'patient', 'prescriber', 'status'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'MedicationOrder.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'MedicationOrder.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationOrder.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'MedicationOrder.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'MedicationOrder.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'MedicationOrder.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'MedicationOrder.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationOrder.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationOrder.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'dateWritten' => {'type'=>'dateTime', 'path'=>'MedicationOrder.dateWritten', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-order-status'=>['active', 'on-hold', 'completed', 'entered-in-error', 'stopped', 'draft']}, 'type'=>'code', 'path'=>'MedicationOrder.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-order-status'}}, - 'dateEnded' => {'type'=>'dateTime', 'path'=>'MedicationOrder.dateEnded', 'min'=>0, 'max'=>1}, - 'reasonEnded' => {'type'=>'CodeableConcept', 'path'=>'MedicationOrder.reasonEnded', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'patient' => {'type'=>'Reference', 'path'=>'MedicationOrder.patient', 'min'=>0, 'max'=>1}, - 'prescriber' => {'type'=>'Reference', 'path'=>'MedicationOrder.prescriber', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'MedicationOrder.encounter', 'min'=>0, 'max'=>1}, - 'reasonCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'MedicationOrder.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'reasonReference' => {'type'=>'Reference', 'path'=>'MedicationOrder.reason[x]', 'min'=>0, 'max'=>1}, - 'note' => {'type'=>'string', 'path'=>'MedicationOrder.note', 'min'=>0, 'max'=>1}, - 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationOrder.medication[x]', 'min'=>1, 'max'=>1}, - 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationOrder.medication[x]', 'min'=>1, 'max'=>1}, - 'dosageInstruction' => {'type'=>'MedicationOrder::DosageInstruction', 'path'=>'MedicationOrder.dosageInstruction', 'min'=>0, 'max'=>Float::INFINITY}, - 'dispenseRequest' => {'type'=>'MedicationOrder::DispenseRequest', 'path'=>'MedicationOrder.dispenseRequest', 'min'=>0, 'max'=>1}, - 'substitution' => {'type'=>'MedicationOrder::Substitution', 'path'=>'MedicationOrder.substitution', 'min'=>0, 'max'=>1}, - 'priorPrescription' => {'type'=>'Reference', 'path'=>'MedicationOrder.priorPrescription', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'MedicationOrder.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'MedicationOrder.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'MedicationOrder.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'MedicationOrder.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'MedicationOrder.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'MedicationOrder.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'MedicationOrder.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'MedicationOrder.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'MedicationOrder.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'dateWritten' => { 'type' => 'dateTime', 'path' => 'MedicationOrder.dateWritten', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/medication-order-status' => ['active', 'on-hold', 'completed', 'entered-in-error', 'stopped', 'draft'] }, 'type' => 'code', 'path' => 'MedicationOrder.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-order-status' } }, + 'dateEnded' => { 'type' => 'dateTime', 'path' => 'MedicationOrder.dateEnded', 'min' => 0, 'max' => 1 }, + 'reasonEnded' => { 'type' => 'CodeableConcept', 'path' => 'MedicationOrder.reasonEnded', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'patient' => { 'type' => 'Reference', 'path' => 'MedicationOrder.patient', 'min' => 0, 'max' => 1 }, + 'prescriber' => { 'type' => 'Reference', 'path' => 'MedicationOrder.prescriber', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'MedicationOrder.encounter', 'min' => 0, 'max' => 1 }, + 'reasonCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'MedicationOrder.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'reasonReference' => { 'type' => 'Reference', 'path' => 'MedicationOrder.reason[x]', 'min' => 0, 'max' => 1 }, + 'note' => { 'type' => 'string', 'path' => 'MedicationOrder.note', 'min' => 0, 'max' => 1 }, + 'medicationCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'MedicationOrder.medication[x]', 'min' => 1, 'max' => 1 }, + 'medicationReference' => { 'type' => 'Reference', 'path' => 'MedicationOrder.medication[x]', 'min' => 1, 'max' => 1 }, + 'dosageInstruction' => { 'type' => 'MedicationOrder::DosageInstruction', 'path' => 'MedicationOrder.dosageInstruction', 'min' => 0, 'max' => Float::INFINITY }, + 'dispenseRequest' => { 'type' => 'MedicationOrder::DispenseRequest', 'path' => 'MedicationOrder.dispenseRequest', 'min' => 0, 'max' => 1 }, + 'substitution' => { 'type' => 'MedicationOrder::Substitution', 'path' => 'MedicationOrder.substitution', 'min' => 0, 'max' => 1 }, + 'priorPrescription' => { 'type' => 'Reference', 'path' => 'MedicationOrder.priorPrescription', 'min' => 0, 'max' => 1 } } class DosageInstruction < FHIR::DSTU2::Model @@ -50,23 +50,23 @@ class DosageInstruction < FHIR::DSTU2::Model 'rate' => ['Ratio', 'Range'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'DosageInstruction.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'DosageInstruction.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DosageInstruction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'text' => {'type'=>'string', 'path'=>'DosageInstruction.text', 'min'=>0, 'max'=>1}, - 'additionalInstructions' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.additionalInstructions', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'timing' => {'type'=>'Timing', 'path'=>'DosageInstruction.timing', 'min'=>0, 'max'=>1}, - 'asNeededBoolean' => {'type'=>'boolean', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1}, - 'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'siteCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/approach-site-codes'}}, - 'siteReference' => {'type'=>'Reference', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1}, - 'route' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}}, - 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'doseRange' => {'type'=>'Range', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1}, - 'doseQuantity' => {'type'=>'Quantity', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1}, - 'rateRatio' => {'type'=>'Ratio', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1}, - 'rateRange' => {'type'=>'Range', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1}, - 'maxDosePerPeriod' => {'type'=>'Ratio', 'path'=>'DosageInstruction.maxDosePerPeriod', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'DosageInstruction.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'DosageInstruction.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DosageInstruction.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'text' => { 'type' => 'string', 'path' => 'DosageInstruction.text', 'min' => 0, 'max' => 1 }, + 'additionalInstructions' => { 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.additionalInstructions', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'timing' => { 'type' => 'Timing', 'path' => 'DosageInstruction.timing', 'min' => 0, 'max' => 1 }, + 'asNeededBoolean' => { 'type' => 'boolean', 'path' => 'DosageInstruction.asNeeded[x]', 'min' => 0, 'max' => 1 }, + 'asNeededCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.asNeeded[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'siteCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.site[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/approach-site-codes' } }, + 'siteReference' => { 'type' => 'Reference', 'path' => 'DosageInstruction.site[x]', 'min' => 0, 'max' => 1 }, + 'route' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.route', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/route-codes' } }, + 'method' => { 'local_name' => 'local_method', 'type' => 'CodeableConcept', 'path' => 'DosageInstruction.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'doseRange' => { 'type' => 'Range', 'path' => 'DosageInstruction.dose[x]', 'min' => 0, 'max' => 1 }, + 'doseQuantity' => { 'type' => 'Quantity', 'path' => 'DosageInstruction.dose[x]', 'min' => 0, 'max' => 1 }, + 'rateRatio' => { 'type' => 'Ratio', 'path' => 'DosageInstruction.rate[x]', 'min' => 0, 'max' => 1 }, + 'rateRange' => { 'type' => 'Range', 'path' => 'DosageInstruction.rate[x]', 'min' => 0, 'max' => 1 }, + 'maxDosePerPeriod' => { 'type' => 'Ratio', 'path' => 'DosageInstruction.maxDosePerPeriod', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -97,15 +97,15 @@ class DispenseRequest < FHIR::DSTU2::Model 'medication' => ['CodeableConcept', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'DispenseRequest.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'DispenseRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'DispenseRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DispenseRequest.medication[x]', 'min'=>0, 'max'=>1}, - 'medicationReference' => {'type'=>'Reference', 'path'=>'DispenseRequest.medication[x]', 'min'=>0, 'max'=>1}, - 'validityPeriod' => {'type'=>'Period', 'path'=>'DispenseRequest.validityPeriod', 'min'=>0, 'max'=>1}, - 'numberOfRepeatsAllowed' => {'type'=>'positiveInt', 'path'=>'DispenseRequest.numberOfRepeatsAllowed', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'DispenseRequest.quantity', 'min'=>0, 'max'=>1}, - 'expectedSupplyDuration' => {'type'=>'Quantity', 'path'=>'DispenseRequest.expectedSupplyDuration', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'DispenseRequest.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'DispenseRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DispenseRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'medicationCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'DispenseRequest.medication[x]', 'min' => 0, 'max' => 1 }, + 'medicationReference' => { 'type' => 'Reference', 'path' => 'DispenseRequest.medication[x]', 'min' => 0, 'max' => 1 }, + 'validityPeriod' => { 'type' => 'Period', 'path' => 'DispenseRequest.validityPeriod', 'min' => 0, 'max' => 1 }, + 'numberOfRepeatsAllowed' => { 'type' => 'positiveInt', 'path' => 'DispenseRequest.numberOfRepeatsAllowed', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'DispenseRequest.quantity', 'min' => 0, 'max' => 1 }, + 'expectedSupplyDuration' => { 'type' => 'Quantity', 'path' => 'DispenseRequest.expectedSupplyDuration', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -125,11 +125,11 @@ class Substitution < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Substitution.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Substitution.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Substitution.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/substanceAdminSubstitution'=>['E', 'EC', 'BC', 'G', 'TE', 'TB', 'TG', 'F', 'N']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode'}}, - 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason'}} + 'id' => { 'type' => 'id', 'path' => 'Substitution.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Substitution.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Substitution.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/substanceAdminSubstitution' => ['E', 'EC', 'BC', 'G', 'TE', 'TB', 'TG', 'F', 'N'] }, 'type' => 'CodeableConcept', 'path' => 'Substitution.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode' } }, + 'reason' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'] }, 'type' => 'CodeableConcept', 'path' => 'Substitution.reason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb b/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb index aef70ed0..87d60c3d 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb @@ -12,30 +12,30 @@ class MedicationStatement < FHIR::DSTU2::Model } SEARCH_PARAMS = ['code', 'effectivedate', 'identifier', 'medication', 'patient', 'source', 'status'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'MedicationStatement.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'MedicationStatement.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationStatement.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'MedicationStatement.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'MedicationStatement.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'MedicationStatement.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'MedicationStatement.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationStatement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationStatement.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'MedicationStatement.patient', 'min'=>1, 'max'=>1}, - 'informationSource' => {'type'=>'Reference', 'path'=>'MedicationStatement.informationSource', 'min'=>0, 'max'=>1}, - 'dateAsserted' => {'type'=>'dateTime', 'path'=>'MedicationStatement.dateAsserted', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-statement-status'=>['active', 'completed', 'entered-in-error', 'intended']}, 'type'=>'code', 'path'=>'MedicationStatement.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-statement-status'}}, - 'wasNotTaken' => {'type'=>'boolean', 'path'=>'MedicationStatement.wasNotTaken', 'min'=>0, 'max'=>1}, - 'reasonNotTaken' => {'valid_codes'=>{'http://hl7.org/fhir/reason-medication-not-given'=>['a', 'b', 'c', 'd']}, 'type'=>'CodeableConcept', 'path'=>'MedicationStatement.reasonNotTaken', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes'}}, - 'reasonForUseCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'MedicationStatement.reasonForUse[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'reasonForUseReference' => {'type'=>'Reference', 'path'=>'MedicationStatement.reasonForUse[x]', 'min'=>0, 'max'=>1}, - 'effectiveDateTime' => {'type'=>'dateTime', 'path'=>'MedicationStatement.effective[x]', 'min'=>0, 'max'=>1}, - 'effectivePeriod' => {'type'=>'Period', 'path'=>'MedicationStatement.effective[x]', 'min'=>0, 'max'=>1}, - 'note' => {'type'=>'string', 'path'=>'MedicationStatement.note', 'min'=>0, 'max'=>1}, - 'supportingInformation' => {'type'=>'Reference', 'path'=>'MedicationStatement.supportingInformation', 'min'=>0, 'max'=>Float::INFINITY}, - 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationStatement.medication[x]', 'min'=>1, 'max'=>1}, - 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationStatement.medication[x]', 'min'=>1, 'max'=>1}, - 'dosage' => {'type'=>'MedicationStatement::Dosage', 'path'=>'MedicationStatement.dosage', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'MedicationStatement.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'MedicationStatement.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'MedicationStatement.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'MedicationStatement.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'MedicationStatement.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'MedicationStatement.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'MedicationStatement.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'MedicationStatement.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'MedicationStatement.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'MedicationStatement.patient', 'min' => 1, 'max' => 1 }, + 'informationSource' => { 'type' => 'Reference', 'path' => 'MedicationStatement.informationSource', 'min' => 0, 'max' => 1 }, + 'dateAsserted' => { 'type' => 'dateTime', 'path' => 'MedicationStatement.dateAsserted', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/medication-statement-status' => ['active', 'completed', 'entered-in-error', 'intended'] }, 'type' => 'code', 'path' => 'MedicationStatement.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/medication-statement-status' } }, + 'wasNotTaken' => { 'type' => 'boolean', 'path' => 'MedicationStatement.wasNotTaken', 'min' => 0, 'max' => 1 }, + 'reasonNotTaken' => { 'valid_codes' => { 'http://hl7.org/fhir/reason-medication-not-given' => ['a', 'b', 'c', 'd'] }, 'type' => 'CodeableConcept', 'path' => 'MedicationStatement.reasonNotTaken', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes' } }, + 'reasonForUseCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'MedicationStatement.reasonForUse[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'reasonForUseReference' => { 'type' => 'Reference', 'path' => 'MedicationStatement.reasonForUse[x]', 'min' => 0, 'max' => 1 }, + 'effectiveDateTime' => { 'type' => 'dateTime', 'path' => 'MedicationStatement.effective[x]', 'min' => 0, 'max' => 1 }, + 'effectivePeriod' => { 'type' => 'Period', 'path' => 'MedicationStatement.effective[x]', 'min' => 0, 'max' => 1 }, + 'note' => { 'type' => 'string', 'path' => 'MedicationStatement.note', 'min' => 0, 'max' => 1 }, + 'supportingInformation' => { 'type' => 'Reference', 'path' => 'MedicationStatement.supportingInformation', 'min' => 0, 'max' => Float::INFINITY }, + 'medicationCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'MedicationStatement.medication[x]', 'min' => 1, 'max' => 1 }, + 'medicationReference' => { 'type' => 'Reference', 'path' => 'MedicationStatement.medication[x]', 'min' => 1, 'max' => 1 }, + 'dosage' => { 'type' => 'MedicationStatement::Dosage', 'path' => 'MedicationStatement.dosage', 'min' => 0, 'max' => Float::INFINITY } } class Dosage < FHIR::DSTU2::Model @@ -50,22 +50,22 @@ class Dosage < FHIR::DSTU2::Model 'rate' => ['Ratio', 'Range'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Dosage.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Dosage.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Dosage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'text' => {'type'=>'string', 'path'=>'Dosage.text', 'min'=>0, 'max'=>1}, - 'timing' => {'type'=>'Timing', 'path'=>'Dosage.timing', 'min'=>0, 'max'=>1}, - 'asNeededBoolean' => {'type'=>'boolean', 'path'=>'Dosage.asNeeded[x]', 'min'=>0, 'max'=>1}, - 'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Dosage.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'siteCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Dosage.site[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/approach-site-codes'}}, - 'siteReference' => {'type'=>'Reference', 'path'=>'Dosage.site[x]', 'min'=>0, 'max'=>1}, - 'route' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Dosage.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}}, - 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'Dosage.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'quantityQuantity' => {'type'=>'Quantity', 'path'=>'Dosage.quantity[x]', 'min'=>0, 'max'=>1}, - 'quantityRange' => {'type'=>'Range', 'path'=>'Dosage.quantity[x]', 'min'=>0, 'max'=>1}, - 'rateRatio' => {'type'=>'Ratio', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1}, - 'rateRange' => {'type'=>'Range', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1}, - 'maxDosePerPeriod' => {'type'=>'Ratio', 'path'=>'Dosage.maxDosePerPeriod', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Dosage.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Dosage.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Dosage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'text' => { 'type' => 'string', 'path' => 'Dosage.text', 'min' => 0, 'max' => 1 }, + 'timing' => { 'type' => 'Timing', 'path' => 'Dosage.timing', 'min' => 0, 'max' => 1 }, + 'asNeededBoolean' => { 'type' => 'boolean', 'path' => 'Dosage.asNeeded[x]', 'min' => 0, 'max' => 1 }, + 'asNeededCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Dosage.asNeeded[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'siteCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Dosage.site[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/approach-site-codes' } }, + 'siteReference' => { 'type' => 'Reference', 'path' => 'Dosage.site[x]', 'min' => 0, 'max' => 1 }, + 'route' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Dosage.route', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/route-codes' } }, + 'method' => { 'local_name' => 'local_method', 'type' => 'CodeableConcept', 'path' => 'Dosage.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'quantityQuantity' => { 'type' => 'Quantity', 'path' => 'Dosage.quantity[x]', 'min' => 0, 'max' => 1 }, + 'quantityRange' => { 'type' => 'Range', 'path' => 'Dosage.quantity[x]', 'min' => 0, 'max' => 1 }, + 'rateRatio' => { 'type' => 'Ratio', 'path' => 'Dosage.rate[x]', 'min' => 0, 'max' => 1 }, + 'rateRange' => { 'type' => 'Range', 'path' => 'Dosage.rate[x]', 'min' => 0, 'max' => 1 }, + 'maxDosePerPeriod' => { 'type' => 'Ratio', 'path' => 'Dosage.maxDosePerPeriod', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb b/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb index 4d7d7ed8..5047e67c 100644 --- a/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb +++ b/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb @@ -7,25 +7,25 @@ class MessageHeader < FHIR::DSTU2::Model SEARCH_PARAMS = ['author', 'code', 'data', 'destination', 'destination-uri', 'enterer', 'event', 'receiver', 'response-id', 'responsible', 'source', 'source-uri', 'target', 'timestamp'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'MessageHeader.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'MessageHeader.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'MessageHeader.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'MessageHeader.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'MessageHeader.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'MessageHeader.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'MessageHeader.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'MessageHeader.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'timestamp' => {'type'=>'instant', 'path'=>'MessageHeader.timestamp', 'min'=>1, 'max'=>1}, - 'event' => {'valid_codes'=>{'http://hl7.org/fhir/message-events'=>['MedicationAdministration-Complete', 'MedicationAdministration-Nullification', 'MedicationAdministration-Recording', 'MedicationAdministration-Update', 'admin-notify', 'diagnosticreport-provide', 'observation-provide', 'patient-link', 'patient-unlink', 'valueset-expand']}, 'type'=>'Coding', 'path'=>'MessageHeader.event', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/message-events'}}, - 'response' => {'type'=>'MessageHeader::Response', 'path'=>'MessageHeader.response', 'min'=>0, 'max'=>1}, - 'source' => {'type'=>'MessageHeader::Source', 'path'=>'MessageHeader.source', 'min'=>1, 'max'=>1}, - 'destination' => {'type'=>'MessageHeader::Destination', 'path'=>'MessageHeader.destination', 'min'=>0, 'max'=>Float::INFINITY}, - 'enterer' => {'type'=>'Reference', 'path'=>'MessageHeader.enterer', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'MessageHeader.author', 'min'=>0, 'max'=>1}, - 'receiver' => {'type'=>'Reference', 'path'=>'MessageHeader.receiver', 'min'=>0, 'max'=>1}, - 'responsible' => {'type'=>'Reference', 'path'=>'MessageHeader.responsible', 'min'=>0, 'max'=>1}, - 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/message-reasons-encounter'=>['admit', 'discharge', 'absent', 'return', 'moved', 'edit']}, 'type'=>'CodeableConcept', 'path'=>'MessageHeader.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/message-reason-encounter'}}, - 'data' => {'type'=>'Reference', 'path'=>'MessageHeader.data', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'MessageHeader.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'MessageHeader.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'MessageHeader.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'MessageHeader.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'MessageHeader.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'MessageHeader.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'MessageHeader.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'MessageHeader.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'timestamp' => { 'type' => 'instant', 'path' => 'MessageHeader.timestamp', 'min' => 1, 'max' => 1 }, + 'event' => { 'valid_codes' => { 'http://hl7.org/fhir/message-events' => ['MedicationAdministration-Complete', 'MedicationAdministration-Nullification', 'MedicationAdministration-Recording', 'MedicationAdministration-Update', 'admin-notify', 'diagnosticreport-provide', 'observation-provide', 'patient-link', 'patient-unlink', 'valueset-expand'] }, 'type' => 'Coding', 'path' => 'MessageHeader.event', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/message-events' } }, + 'response' => { 'type' => 'MessageHeader::Response', 'path' => 'MessageHeader.response', 'min' => 0, 'max' => 1 }, + 'source' => { 'type' => 'MessageHeader::Source', 'path' => 'MessageHeader.source', 'min' => 1, 'max' => 1 }, + 'destination' => { 'type' => 'MessageHeader::Destination', 'path' => 'MessageHeader.destination', 'min' => 0, 'max' => Float::INFINITY }, + 'enterer' => { 'type' => 'Reference', 'path' => 'MessageHeader.enterer', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'MessageHeader.author', 'min' => 0, 'max' => 1 }, + 'receiver' => { 'type' => 'Reference', 'path' => 'MessageHeader.receiver', 'min' => 0, 'max' => 1 }, + 'responsible' => { 'type' => 'Reference', 'path' => 'MessageHeader.responsible', 'min' => 0, 'max' => 1 }, + 'reason' => { 'valid_codes' => { 'http://hl7.org/fhir/message-reasons-encounter' => ['admit', 'discharge', 'absent', 'return', 'moved', 'edit'] }, 'type' => 'CodeableConcept', 'path' => 'MessageHeader.reason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/message-reason-encounter' } }, + 'data' => { 'type' => 'Reference', 'path' => 'MessageHeader.data', 'min' => 0, 'max' => Float::INFINITY } } class Response < FHIR::DSTU2::Model @@ -34,12 +34,12 @@ class Response < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Response.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Response.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Response.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'id', 'path'=>'Response.identifier', 'min'=>1, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/response-code'=>['ok', 'transient-error', 'fatal-error']}, 'type'=>'code', 'path'=>'Response.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/response-code'}}, - 'details' => {'type'=>'Reference', 'path'=>'Response.details', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Response.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Response.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Response.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'id', 'path' => 'Response.identifier', 'min' => 1, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/response-code' => ['ok', 'transient-error', 'fatal-error'] }, 'type' => 'code', 'path' => 'Response.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/response-code' } }, + 'details' => { 'type' => 'Reference', 'path' => 'Response.details', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -56,14 +56,14 @@ class Source < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Source.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Source.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Source.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Source.name', 'min'=>0, 'max'=>1}, - 'software' => {'type'=>'string', 'path'=>'Source.software', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Source.version', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'ContactPoint', 'path'=>'Source.contact', 'min'=>0, 'max'=>1}, - 'endpoint' => {'type'=>'uri', 'path'=>'Source.endpoint', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Source.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Source.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Source.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Source.name', 'min' => 0, 'max' => 1 }, + 'software' => { 'type' => 'string', 'path' => 'Source.software', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'Source.version', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'ContactPoint', 'path' => 'Source.contact', 'min' => 0, 'max' => 1 }, + 'endpoint' => { 'type' => 'uri', 'path' => 'Source.endpoint', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -82,12 +82,12 @@ class Destination < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Destination.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Destination.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Destination.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Destination.name', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'Reference', 'path'=>'Destination.target', 'min'=>0, 'max'=>1}, - 'endpoint' => {'type'=>'uri', 'path'=>'Destination.endpoint', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Destination.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Destination.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Destination.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Destination.name', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'Reference', 'path' => 'Destination.target', 'min' => 0, 'max' => 1 }, + 'endpoint' => { 'type' => 'uri', 'path' => 'Destination.endpoint', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb b/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb index caa3b83c..9504f8db 100644 --- a/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb +++ b/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb @@ -7,27 +7,27 @@ class NamingSystem < FHIR::DSTU2::Model SEARCH_PARAMS = ['contact', 'context', 'date', 'id-type', 'kind', 'name', 'period', 'publisher', 'replaced-by', 'responsible', 'status', 'telecom', 'type', 'value'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'NamingSystem.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'NamingSystem.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'NamingSystem.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'NamingSystem.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'NamingSystem.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'NamingSystem.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'NamingSystem.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'NamingSystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'NamingSystem.name', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'NamingSystem.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/namingsystem-type'=>['codesystem', 'identifier', 'root']}, 'type'=>'code', 'path'=>'NamingSystem.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/namingsystem-type'}}, - 'publisher' => {'type'=>'string', 'path'=>'NamingSystem.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'NamingSystem::Contact', 'path'=>'NamingSystem.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'responsible' => {'type'=>'string', 'path'=>'NamingSystem.responsible', 'min'=>0, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'NamingSystem.date', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-type'=>['UDI', 'SNO', 'SB', 'PLAC', 'FILL'], 'http://hl7.org/fhir/v2/0203'=>['ACSN', 'AM', 'AMA', 'AN', 'ANC', 'AND', 'ANON', 'ANT', 'APRN', 'ASID', 'An Identifier for a provider a', 'An identifier for a provi', 'An identifier for a provider r', 'BA', 'BC', 'BCT', 'BR', 'BRN', 'BSNR', 'CC', 'CONM', 'CY', 'CZ', 'DDS', 'DEA', 'DFN', 'DI', 'DL', 'DN', 'DO', 'DP', 'DPM', 'DR', 'DS', 'EI', 'EN', 'ESN', 'FI', 'GI', 'GL', 'GN', 'HC', 'IND', 'JHN', 'LACSN', 'LANR', 'LI', 'LN', 'LR', 'MA', 'MB', 'MC', 'MCD', 'MCN', 'MCR', 'MCT', 'MD', 'MI', 'MR', 'MRT', 'MS', 'NBSNR', 'NCT', 'NE', 'NH', 'NI', 'NII', 'NIIP', 'NNxxx', 'NP', 'NPI', 'OD', 'PA', 'PC', 'PCN', 'PE', 'PEN', 'PI', 'PN', 'PNT', 'PPIN', 'PPN', 'PRC', 'PRN', 'PT', 'QA', 'RI', 'RN', 'RPH', 'RR', 'RRI', 'RRP', 'SID', 'SL', 'SN', 'SP', 'SR', 'SS', 'TAX', 'TN', 'TPR', 'U', 'UPIN', 'USID', 'VN', 'VP', 'VS', 'WC', 'WCN', 'WP', 'XX']}, 'type'=>'CodeableConcept', 'path'=>'NamingSystem.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-type'}}, - 'description' => {'type'=>'string', 'path'=>'NamingSystem.description', 'min'=>0, 'max'=>1}, - 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'NamingSystem.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, - 'usage' => {'type'=>'string', 'path'=>'NamingSystem.usage', 'min'=>0, 'max'=>1}, - 'uniqueId' => {'type'=>'NamingSystem::UniqueId', 'path'=>'NamingSystem.uniqueId', 'min'=>1, 'max'=>Float::INFINITY}, - 'replacedBy' => {'type'=>'Reference', 'path'=>'NamingSystem.replacedBy', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'NamingSystem.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'NamingSystem.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'NamingSystem.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'NamingSystem.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'NamingSystem.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'NamingSystem.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'NamingSystem.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'NamingSystem.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'NamingSystem.name', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'NamingSystem.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/namingsystem-type' => ['codesystem', 'identifier', 'root'] }, 'type' => 'code', 'path' => 'NamingSystem.kind', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/namingsystem-type' } }, + 'publisher' => { 'type' => 'string', 'path' => 'NamingSystem.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'NamingSystem::Contact', 'path' => 'NamingSystem.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'responsible' => { 'type' => 'string', 'path' => 'NamingSystem.responsible', 'min' => 0, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'NamingSystem.date', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/identifier-type' => ['UDI', 'SNO', 'SB', 'PLAC', 'FILL'], 'http://hl7.org/fhir/v2/0203' => ['ACSN', 'AM', 'AMA', 'AN', 'ANC', 'AND', 'ANON', 'ANT', 'APRN', 'ASID', 'An Identifier for a provider a', 'An identifier for a provi', 'An identifier for a provider r', 'BA', 'BC', 'BCT', 'BR', 'BRN', 'BSNR', 'CC', 'CONM', 'CY', 'CZ', 'DDS', 'DEA', 'DFN', 'DI', 'DL', 'DN', 'DO', 'DP', 'DPM', 'DR', 'DS', 'EI', 'EN', 'ESN', 'FI', 'GI', 'GL', 'GN', 'HC', 'IND', 'JHN', 'LACSN', 'LANR', 'LI', 'LN', 'LR', 'MA', 'MB', 'MC', 'MCD', 'MCN', 'MCR', 'MCT', 'MD', 'MI', 'MR', 'MRT', 'MS', 'NBSNR', 'NCT', 'NE', 'NH', 'NI', 'NII', 'NIIP', 'NNxxx', 'NP', 'NPI', 'OD', 'PA', 'PC', 'PCN', 'PE', 'PEN', 'PI', 'PN', 'PNT', 'PPIN', 'PPN', 'PRC', 'PRN', 'PT', 'QA', 'RI', 'RN', 'RPH', 'RR', 'RRI', 'RRP', 'SID', 'SL', 'SN', 'SP', 'SR', 'SS', 'TAX', 'TN', 'TPR', 'U', 'UPIN', 'USID', 'VN', 'VP', 'VS', 'WC', 'WCN', 'WP', 'XX'] }, 'type' => 'CodeableConcept', 'path' => 'NamingSystem.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/identifier-type' } }, + 'description' => { 'type' => 'string', 'path' => 'NamingSystem.description', 'min' => 0, 'max' => 1 }, + 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'NamingSystem.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, + 'usage' => { 'type' => 'string', 'path' => 'NamingSystem.usage', 'min' => 0, 'max' => 1 }, + 'uniqueId' => { 'type' => 'NamingSystem::UniqueId', 'path' => 'NamingSystem.uniqueId', 'min' => 1, 'max' => Float::INFINITY }, + 'replacedBy' => { 'type' => 'Reference', 'path' => 'NamingSystem.replacedBy', 'min' => 0, 'max' => 1 } } class Contact < FHIR::DSTU2::Model @@ -36,11 +36,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -56,13 +56,13 @@ class UniqueId < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'UniqueId.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'UniqueId.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'UniqueId.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/namingsystem-identifier-type'=>['oid', 'uuid', 'uri', 'other']}, 'type'=>'code', 'path'=>'UniqueId.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/namingsystem-identifier-type'}}, - 'value' => {'type'=>'string', 'path'=>'UniqueId.value', 'min'=>1, 'max'=>1}, - 'preferred' => {'type'=>'boolean', 'path'=>'UniqueId.preferred', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'UniqueId.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'UniqueId.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'UniqueId.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'UniqueId.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/namingsystem-identifier-type' => ['oid', 'uuid', 'uri', 'other'] }, 'type' => 'code', 'path' => 'UniqueId.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/namingsystem-identifier-type' } }, + 'value' => { 'type' => 'string', 'path' => 'UniqueId.value', 'min' => 1, 'max' => 1 }, + 'preferred' => { 'type' => 'boolean', 'path' => 'UniqueId.preferred', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'UniqueId.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb b/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb index ab8fa703..c4afe99a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb +++ b/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb @@ -7,26 +7,26 @@ class NutritionOrder < FHIR::DSTU2::Model SEARCH_PARAMS = ['additive', 'datetime', 'encounter', 'formula', 'identifier', 'oraldiet', 'patient', 'provider', 'status', 'supplement'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'NutritionOrder.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'NutritionOrder.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'NutritionOrder.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'NutritionOrder.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'NutritionOrder.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'NutritionOrder.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'NutritionOrder.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'NutritionOrder.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'NutritionOrder.patient', 'min'=>1, 'max'=>1}, - 'orderer' => {'type'=>'Reference', 'path'=>'NutritionOrder.orderer', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'NutritionOrder.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'encounter' => {'type'=>'Reference', 'path'=>'NutritionOrder.encounter', 'min'=>0, 'max'=>1}, - 'dateTime' => {'type'=>'dateTime', 'path'=>'NutritionOrder.dateTime', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/nutrition-order-status'=>['proposed', 'draft', 'planned', 'requested', 'active', 'on-hold', 'completed', 'cancelled']}, 'type'=>'code', 'path'=>'NutritionOrder.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/nutrition-order-status'}}, - 'allergyIntolerance' => {'type'=>'Reference', 'path'=>'NutritionOrder.allergyIntolerance', 'min'=>0, 'max'=>Float::INFINITY}, - 'foodPreferenceModifier' => {'valid_codes'=>{'http://hl7.org/fhir/diet'=>['vegetarian', 'dairy-free', 'nut-free', 'gluten-free', 'vegan', 'halal', 'kosher']}, 'type'=>'CodeableConcept', 'path'=>'NutritionOrder.foodPreferenceModifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/encounter-diet'}}, - 'excludeFoodModifier' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'NutritionOrder.excludeFoodModifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/food-type'}}, - 'oralDiet' => {'type'=>'NutritionOrder::OralDiet', 'path'=>'NutritionOrder.oralDiet', 'min'=>0, 'max'=>1}, - 'supplement' => {'type'=>'NutritionOrder::Supplement', 'path'=>'NutritionOrder.supplement', 'min'=>0, 'max'=>Float::INFINITY}, - 'enteralFormula' => {'type'=>'NutritionOrder::EnteralFormula', 'path'=>'NutritionOrder.enteralFormula', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'NutritionOrder.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'NutritionOrder.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'NutritionOrder.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'NutritionOrder.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'NutritionOrder.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'NutritionOrder.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'NutritionOrder.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'NutritionOrder.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'NutritionOrder.patient', 'min' => 1, 'max' => 1 }, + 'orderer' => { 'type' => 'Reference', 'path' => 'NutritionOrder.orderer', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'NutritionOrder.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'encounter' => { 'type' => 'Reference', 'path' => 'NutritionOrder.encounter', 'min' => 0, 'max' => 1 }, + 'dateTime' => { 'type' => 'dateTime', 'path' => 'NutritionOrder.dateTime', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/nutrition-order-status' => ['proposed', 'draft', 'planned', 'requested', 'active', 'on-hold', 'completed', 'cancelled'] }, 'type' => 'code', 'path' => 'NutritionOrder.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/nutrition-order-status' } }, + 'allergyIntolerance' => { 'type' => 'Reference', 'path' => 'NutritionOrder.allergyIntolerance', 'min' => 0, 'max' => Float::INFINITY }, + 'foodPreferenceModifier' => { 'valid_codes' => { 'http://hl7.org/fhir/diet' => ['vegetarian', 'dairy-free', 'nut-free', 'gluten-free', 'vegan', 'halal', 'kosher'] }, 'type' => 'CodeableConcept', 'path' => 'NutritionOrder.foodPreferenceModifier', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-diet' } }, + 'excludeFoodModifier' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'NutritionOrder.excludeFoodModifier', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/food-type' } }, + 'oralDiet' => { 'type' => 'NutritionOrder::OralDiet', 'path' => 'NutritionOrder.oralDiet', 'min' => 0, 'max' => 1 }, + 'supplement' => { 'type' => 'NutritionOrder::Supplement', 'path' => 'NutritionOrder.supplement', 'min' => 0, 'max' => Float::INFINITY }, + 'enteralFormula' => { 'type' => 'NutritionOrder::EnteralFormula', 'path' => 'NutritionOrder.enteralFormula', 'min' => 0, 'max' => 1 } } class OralDiet < FHIR::DSTU2::Model @@ -35,15 +35,15 @@ class OralDiet < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'OralDiet.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'OralDiet.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'OralDiet.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'OralDiet.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/diet-type'}}, - 'schedule' => {'type'=>'Timing', 'path'=>'OralDiet.schedule', 'min'=>0, 'max'=>Float::INFINITY}, - 'nutrient' => {'type'=>'NutritionOrder::OralDiet::Nutrient', 'path'=>'OralDiet.nutrient', 'min'=>0, 'max'=>Float::INFINITY}, - 'texture' => {'type'=>'NutritionOrder::OralDiet::Texture', 'path'=>'OralDiet.texture', 'min'=>0, 'max'=>Float::INFINITY}, - 'fluidConsistencyType' => {'valid_codes'=>{'http://snomed.info/sct'=>['439031000124108', '439021000124105', '439041000124103', '439081000124109']}, 'type'=>'CodeableConcept', 'path'=>'OralDiet.fluidConsistencyType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/consistency-type'}}, - 'instruction' => {'type'=>'string', 'path'=>'OralDiet.instruction', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'OralDiet.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'OralDiet.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'OralDiet.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'OralDiet.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/diet-type' } }, + 'schedule' => { 'type' => 'Timing', 'path' => 'OralDiet.schedule', 'min' => 0, 'max' => Float::INFINITY }, + 'nutrient' => { 'type' => 'NutritionOrder::OralDiet::Nutrient', 'path' => 'OralDiet.nutrient', 'min' => 0, 'max' => Float::INFINITY }, + 'texture' => { 'type' => 'NutritionOrder::OralDiet::Texture', 'path' => 'OralDiet.texture', 'min' => 0, 'max' => Float::INFINITY }, + 'fluidConsistencyType' => { 'valid_codes' => { 'http://snomed.info/sct' => ['439031000124108', '439021000124105', '439041000124103', '439081000124109'] }, 'type' => 'CodeableConcept', 'path' => 'OralDiet.fluidConsistencyType', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/consistency-type' } }, + 'instruction' => { 'type' => 'string', 'path' => 'OralDiet.instruction', 'min' => 0, 'max' => 1 } } class Nutrient < FHIR::DSTU2::Model @@ -52,11 +52,11 @@ class Nutrient < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Nutrient.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Nutrient.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Nutrient.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifier' => {'valid_codes'=>{'http://snomed.info/sct'=>['33463005', '39972003', '88480006']}, 'type'=>'CodeableConcept', 'path'=>'Nutrient.modifier', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/nutrient-code'}}, - 'amount' => {'type'=>'Quantity', 'path'=>'Nutrient.amount', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Nutrient.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Nutrient.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Nutrient.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifier' => { 'valid_codes' => { 'http://snomed.info/sct' => ['33463005', '39972003', '88480006'] }, 'type' => 'CodeableConcept', 'path' => 'Nutrient.modifier', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/nutrient-code' } }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Nutrient.amount', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -72,11 +72,11 @@ class Texture < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Texture.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Texture.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Texture.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifier' => {'valid_codes'=>{'http://snomed.info/sct'=>['228053002', '439091000124107', '228049004', '441881000124103', '441761000124103', '441751000124100', '228059003', '441791000124106', '228055009', '228056005', '441771000124105', '228057001', '228058006', '228060008']}, 'type'=>'CodeableConcept', 'path'=>'Texture.modifier', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/texture-code'}}, - 'foodType' => {'valid_codes'=>{'http://snomed.info/sct'=>['255620007', '28647000', '22836000', '72511004', '226760005', '226887002', '102263004', '74242007', '227415002', '264331002', '227518002', '44027008', '226529007', '227210005']}, 'type'=>'CodeableConcept', 'path'=>'Texture.foodType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/modified-foodtype'}} + 'id' => { 'type' => 'id', 'path' => 'Texture.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Texture.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Texture.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifier' => { 'valid_codes' => { 'http://snomed.info/sct' => ['228053002', '439091000124107', '228049004', '441881000124103', '441761000124103', '441751000124100', '228059003', '441791000124106', '228055009', '228056005', '441771000124105', '228057001', '228058006', '228060008'] }, 'type' => 'CodeableConcept', 'path' => 'Texture.modifier', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/texture-code' } }, + 'foodType' => { 'valid_codes' => { 'http://snomed.info/sct' => ['255620007', '28647000', '22836000', '72511004', '226760005', '226887002', '102263004', '74242007', '227415002', '264331002', '227518002', '44027008', '226529007', '227210005'] }, 'type' => 'CodeableConcept', 'path' => 'Texture.foodType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/modified-foodtype' } } } attr_accessor :id # 0-1 id @@ -103,14 +103,14 @@ class Supplement < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Supplement.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Supplement.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Supplement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>['442901000124106', '443031000124106', '443051000124104', '442911000124109', '443021000124108', '442971000124100', '442981000124102', '442991000124104', '443011000124100', '442961000124107', '442951000124105', '442941000124108', '442921000124101', '442931000124103', '444331000124106', '443361000124100', '443391000124108', '443401000124105', '443491000124103', '443501000124106', '443421000124100', '443471000124104', '444431000124104', '443451000124109', '444321000124108', '441561000124106', '443461000124106', '441531000124102', '443561000124107', '443481000124101', '441571000124104', '441591000124103', '441601000124106', '443351000124102', '443771000124106', '441671000124100', '443111000124101', '443431000124102', '443411000124108', '444361000124102', '444401000124107', '444381000124107', '444371000124109', '443441000124107', '442651000124102']}, 'type'=>'CodeableConcept', 'path'=>'Supplement.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/supplement-type'}}, - 'productName' => {'type'=>'string', 'path'=>'Supplement.productName', 'min'=>0, 'max'=>1}, - 'schedule' => {'type'=>'Timing', 'path'=>'Supplement.schedule', 'min'=>0, 'max'=>Float::INFINITY}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Supplement.quantity', 'min'=>0, 'max'=>1}, - 'instruction' => {'type'=>'string', 'path'=>'Supplement.instruction', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Supplement.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Supplement.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Supplement.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => ['442901000124106', '443031000124106', '443051000124104', '442911000124109', '443021000124108', '442971000124100', '442981000124102', '442991000124104', '443011000124100', '442961000124107', '442951000124105', '442941000124108', '442921000124101', '442931000124103', '444331000124106', '443361000124100', '443391000124108', '443401000124105', '443491000124103', '443501000124106', '443421000124100', '443471000124104', '444431000124104', '443451000124109', '444321000124108', '441561000124106', '443461000124106', '441531000124102', '443561000124107', '443481000124101', '441571000124104', '441591000124103', '441601000124106', '443351000124102', '443771000124106', '441671000124100', '443111000124101', '443431000124102', '443411000124108', '444361000124102', '444401000124107', '444381000124107', '444371000124109', '443441000124107', '442651000124102'] }, 'type' => 'CodeableConcept', 'path' => 'Supplement.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/supplement-type' } }, + 'productName' => { 'type' => 'string', 'path' => 'Supplement.productName', 'min' => 0, 'max' => 1 }, + 'schedule' => { 'type' => 'Timing', 'path' => 'Supplement.schedule', 'min' => 0, 'max' => Float::INFINITY }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Supplement.quantity', 'min' => 0, 'max' => 1 }, + 'instruction' => { 'type' => 'string', 'path' => 'Supplement.instruction', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -129,18 +129,18 @@ class EnteralFormula < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'EnteralFormula.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'EnteralFormula.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'EnteralFormula.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'baseFormulaType' => {'valid_codes'=>{'http://snomed.info/sct'=>['443031000124106', '443051000124104', '442911000124109', '443021000124108', '442971000124100', '442981000124102', '442991000124104', '443011000124100', '442961000124107', '442951000124105', '442941000124108', '442921000124101', '442931000124103', '443361000124100', '443401000124105', '443491000124103', '443501000124106', '443421000124100', '443471000124104', '444431000124104', '443451000124109', '441561000124106', '443461000124106', '441531000124102', '443561000124107', '443481000124101', '441571000124104', '441591000124103', '441601000124106', '443351000124102', '443771000124106', '441671000124100', '443111000124101', '443431000124102', '443411000124108', '442651000124102']}, 'type'=>'CodeableConcept', 'path'=>'EnteralFormula.baseFormulaType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/entformula-type'}}, - 'baseFormulaProductName' => {'type'=>'string', 'path'=>'EnteralFormula.baseFormulaProductName', 'min'=>0, 'max'=>1}, - 'additiveType' => {'valid_codes'=>{'http://hl7.org/fhir/entformula-additive'=>['lipid', 'protein', 'carbohydrate', 'fiber', 'water']}, 'type'=>'CodeableConcept', 'path'=>'EnteralFormula.additiveType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/entformula-additive'}}, - 'additiveProductName' => {'type'=>'string', 'path'=>'EnteralFormula.additiveProductName', 'min'=>0, 'max'=>1}, - 'caloricDensity' => {'type'=>'Quantity', 'path'=>'EnteralFormula.caloricDensity', 'min'=>0, 'max'=>1}, - 'routeofAdministration' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RouteOfAdministration'=>['_RouteByMethod', 'SOAK', 'SHAMPOO', 'TRNSLING', 'PO', 'GARGLE', 'SUCK', '_Chew', 'CHEW', '_Diffusion', 'EXTCORPDIF', 'HEMODIFF', 'TRNSDERMD', '_Dissolve', 'DISSOLVE', 'SL', '_Douche', 'DOUCHE', '_ElectroOsmosisRoute', 'ELECTOSMOS', '_Enema', 'ENEMA', 'RETENEMA', '_Flush', 'IVFLUSH', '_Implantation', 'IDIMPLNT', 'IVITIMPLNT', 'SQIMPLNT', '_Infusion', 'EPI', 'IA', 'IC', 'ICOR', 'IOSSC', 'IT', 'IV', 'IVC', 'IVCC', 'IVCI', 'PCA', 'IVASCINFUS', 'SQINFUS', '_Inhalation', 'IPINHL', 'ORIFINHL', 'REBREATH', 'IPPB', 'NASINHL', 'NASINHLC', 'NEB', 'NASNEB', 'ORNEB', 'TRACH', 'VENT', 'VENTMASK', '_Injection', 'AMNINJ', 'BILINJ', 'CHOLINJ', 'CERVINJ', 'EPIDURINJ', 'EPIINJ', 'EPINJSP', 'EXTRAMNINJ', 'EXTCORPINJ', 'GBINJ', 'GINGINJ', 'BLADINJ', 'ENDOSININJ', 'HEMOPORT', 'IABDINJ', 'IAINJ', 'IAINJP', 'IAINJSP', 'IARTINJ', 'IBURSINJ', 'ICARDINJ', 'ICARDINJRP', 'ICARDINJSP', 'ICARINJP', 'ICARTINJ', 'ICAUDINJ', 'ICAVINJ', 'ICAVITINJ', 'ICEREBINJ', 'ICISTERNINJ', 'ICORONINJ', 'ICORONINJP', 'ICORPCAVINJ', 'IDINJ', 'IDISCINJ', 'IDUCTINJ', 'IDURINJ', 'IEPIDINJ', 'IEPITHINJ', 'ILESINJ', 'ILUMINJ', 'ILYMPJINJ', 'IM', 'IMD', 'IMZ', 'IMEDULINJ', 'INTERMENINJ', 'INTERSTITINJ', 'IOINJ', 'IOSSINJ', 'IOVARINJ', 'IPCARDINJ', 'IPERINJ', 'IPINJ', 'IPLRINJ', 'IPROSTINJ', 'IPUMPINJ', 'ISINJ', 'ISTERINJ', 'ISYNINJ', 'ITENDINJ', 'ITESTINJ', 'ITHORINJ', 'ITINJ', 'ITUBINJ', 'ITUMINJ', 'ITYMPINJ', 'IUINJ', 'IUINJC', 'IURETINJ', 'IVASCINJ', 'IVENTINJ', 'IVESINJ', 'IVINJ', 'IVINJBOL', 'IVPUSH', 'IVRPUSH', 'IVSPUSH', 'IVITINJ', 'PAINJ', 'PARENTINJ', 'PDONTINJ', 'PDPINJ', 'PDURINJ', 'PNINJ', 'PNSINJ', 'RBINJ', 'SCINJ', 'SLESINJ', 'SOFTISINJ', 'SQ', 'SUBARACHINJ', 'SUBMUCINJ', 'TRPLACINJ', 'TRTRACHINJ', 'URETHINJ', 'URETINJ', '_Insertion', 'CERVINS', 'IOSURGINS', 'IU', 'LPINS', 'PR', 'SQSURGINS', 'URETHINS', 'VAGINSI', '_Instillation', 'CECINSTL', 'EFT', 'ENTINSTL', 'GT', 'NGT', 'OGT', 'BLADINSTL', 'CAPDINSTL', 'CTINSTL', 'ETINSTL', 'GJT', 'IBRONCHINSTIL', 'IDUODINSTIL', 'IESOPHINSTIL', 'IGASTINSTIL', 'IILEALINJ', 'IOINSTL', 'ISININSTIL', 'ITRACHINSTIL', 'IUINSTL', 'JJTINSTL', 'LARYNGINSTIL', 'NASALINSTIL', 'NASOGASINSTIL', 'NTT', 'OJJ', 'OT', 'PDPINSTL', 'PNSINSTL', 'RECINSTL', 'RECTINSTL', 'SININSTIL', 'SOFTISINSTIL', 'TRACHINSTL', 'TRTYMPINSTIL', 'URETHINSTL', '_IontophoresisRoute', 'IONTO', '_Irrigation', 'GUIRR', 'IGASTIRR', 'ILESIRR', 'IOIRR', 'BLADIRR', 'BLADIRRC', 'BLADIRRT', 'RECIRR', '_LavageRoute', 'IGASTLAV', '_MucosalAbsorptionRoute', 'IDOUDMAB', 'ITRACHMAB', 'SMUCMAB', '_Nebulization', 'ETNEB', '_Rinse', 'DENRINSE', 'ORRINSE', '_SuppositoryRoute', 'URETHSUP', '_Swish', 'SWISHSPIT', 'SWISHSWAL', '_TopicalAbsorptionRoute', 'TTYMPTABSORP', '_TopicalApplication', 'DRESS', 'SWAB', 'TOPICAL', 'BUC', 'CERV', 'DEN', 'GIN', 'HAIR', 'ICORNTA', 'ICORONTA', 'IESOPHTA', 'IILEALTA', 'ILTOP', 'ILUMTA', 'IOTOP', 'LARYNGTA', 'MUC', 'NAIL', 'NASAL', 'OPTHALTA', 'ORALTA', 'ORMUC', 'OROPHARTA', 'PERIANAL', 'PERINEAL', 'PDONTTA', 'RECTAL', 'SCALP', 'OCDRESTA', 'SKIN', 'SUBCONJTA', 'TMUCTA', 'VAGINS', 'INSUF', 'TRNSDERM', '_RouteBySite', '_AmnioticFluidSacRoute', '_BiliaryRoute', '_BodySurfaceRoute', '_BuccalMucosaRoute', '_CecostomyRoute', '_CervicalRoute', '_EndocervicalRoute', '_EnteralRoute', '_EpiduralRoute', '_ExtraAmnioticRoute', '_ExtracorporealCirculationRoute', '_GastricRoute', '_GenitourinaryRoute', '_GingivalRoute', '_HairRoute', '_InterameningealRoute', '_InterstitialRoute', '_IntraabdominalRoute', '_IntraarterialRoute', '_IntraarticularRoute', '_IntrabronchialRoute', '_IntrabursalRoute', '_IntracardiacRoute', '_IntracartilaginousRoute', '_IntracaudalRoute', '_IntracavernosalRoute', '_IntracavitaryRoute', '_IntracerebralRoute', '_IntracervicalRoute', '_IntracisternalRoute', '_IntracornealRoute', '_IntracoronalRoute', '_IntracoronaryRoute', '_IntracorpusCavernosumRoute', '_IntradermalRoute', '_IntradiscalRoute', '_IntraductalRoute', '_IntraduodenalRoute', '_IntraduralRoute', '_IntraepidermalRoute', '_IntraepithelialRoute', '_IntraesophagealRoute', '_IntragastricRoute', '_IntrailealRoute', '_IntralesionalRoute', '_IntraluminalRoute', '_IntralymphaticRoute', '_IntramedullaryRoute', '_IntramuscularRoute', '_IntraocularRoute', '_IntraosseousRoute', '_IntraovarianRoute', '_IntrapericardialRoute', '_IntraperitonealRoute', '_IntrapleuralRoute', '_IntraprostaticRoute', '_IntrapulmonaryRoute', '_IntrasinalRoute', '_IntraspinalRoute', '_IntrasternalRoute', '_IntrasynovialRoute', '_IntratendinousRoute', '_IntratesticularRoute', '_IntrathecalRoute', '_IntrathoracicRoute', '_IntratrachealRoute', '_IntratubularRoute', '_IntratumorRoute', '_IntratympanicRoute', '_IntrauterineRoute', '_IntravascularRoute', '_IntravenousRoute', '_IntraventricularRoute', '_IntravesicleRoute', '_IntravitrealRoute', '_JejunumRoute', '_LacrimalPunctaRoute', '_LaryngealRoute', '_LingualRoute', '_MucousMembraneRoute', '_NailRoute', '_NasalRoute', '_OphthalmicRoute', '_OralRoute', '_OromucosalRoute', '_OropharyngealRoute', '_OticRoute', '_ParanasalSinusesRoute', '_ParenteralRoute', '_PerianalRoute', '_PeriarticularRoute', '_PeriduralRoute', '_PerinealRoute', '_PerineuralRoute', '_PeriodontalRoute', '_PulmonaryRoute', '_RectalRoute', '_RespiratoryTractRoute', '_RetrobulbarRoute', '_ScalpRoute', '_SinusUnspecifiedRoute', '_SkinRoute', '_SoftTissueRoute', '_SubarachnoidRoute', '_SubconjunctivalRoute', '_SubcutaneousRoute', '_SublesionalRoute', '_SublingualRoute', '_SubmucosalRoute', '_TracheostomyRoute', '_TransmucosalRoute', '_TransplacentalRoute', '_TranstrachealRoute', '_TranstympanicRoute', '_UreteralRoute', '_UrethralRoute', '_UrinaryBladderRoute', '_UrinaryTractRoute', '_VaginalRoute', '_VitreousHumourRoute']}, 'type'=>'CodeableConcept', 'path'=>'EnteralFormula.routeofAdministration', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/enteral-route'}}, - 'administration' => {'type'=>'NutritionOrder::EnteralFormula::Administration', 'path'=>'EnteralFormula.administration', 'min'=>0, 'max'=>Float::INFINITY}, - 'maxVolumeToDeliver' => {'type'=>'Quantity', 'path'=>'EnteralFormula.maxVolumeToDeliver', 'min'=>0, 'max'=>1}, - 'administrationInstruction' => {'type'=>'string', 'path'=>'EnteralFormula.administrationInstruction', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'EnteralFormula.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'EnteralFormula.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'EnteralFormula.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'baseFormulaType' => { 'valid_codes' => { 'http://snomed.info/sct' => ['443031000124106', '443051000124104', '442911000124109', '443021000124108', '442971000124100', '442981000124102', '442991000124104', '443011000124100', '442961000124107', '442951000124105', '442941000124108', '442921000124101', '442931000124103', '443361000124100', '443401000124105', '443491000124103', '443501000124106', '443421000124100', '443471000124104', '444431000124104', '443451000124109', '441561000124106', '443461000124106', '441531000124102', '443561000124107', '443481000124101', '441571000124104', '441591000124103', '441601000124106', '443351000124102', '443771000124106', '441671000124100', '443111000124101', '443431000124102', '443411000124108', '442651000124102'] }, 'type' => 'CodeableConcept', 'path' => 'EnteralFormula.baseFormulaType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/entformula-type' } }, + 'baseFormulaProductName' => { 'type' => 'string', 'path' => 'EnteralFormula.baseFormulaProductName', 'min' => 0, 'max' => 1 }, + 'additiveType' => { 'valid_codes' => { 'http://hl7.org/fhir/entformula-additive' => ['lipid', 'protein', 'carbohydrate', 'fiber', 'water'] }, 'type' => 'CodeableConcept', 'path' => 'EnteralFormula.additiveType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/entformula-additive' } }, + 'additiveProductName' => { 'type' => 'string', 'path' => 'EnteralFormula.additiveProductName', 'min' => 0, 'max' => 1 }, + 'caloricDensity' => { 'type' => 'Quantity', 'path' => 'EnteralFormula.caloricDensity', 'min' => 0, 'max' => 1 }, + 'routeofAdministration' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/RouteOfAdministration' => ['_RouteByMethod', 'SOAK', 'SHAMPOO', 'TRNSLING', 'PO', 'GARGLE', 'SUCK', '_Chew', 'CHEW', '_Diffusion', 'EXTCORPDIF', 'HEMODIFF', 'TRNSDERMD', '_Dissolve', 'DISSOLVE', 'SL', '_Douche', 'DOUCHE', '_ElectroOsmosisRoute', 'ELECTOSMOS', '_Enema', 'ENEMA', 'RETENEMA', '_Flush', 'IVFLUSH', '_Implantation', 'IDIMPLNT', 'IVITIMPLNT', 'SQIMPLNT', '_Infusion', 'EPI', 'IA', 'IC', 'ICOR', 'IOSSC', 'IT', 'IV', 'IVC', 'IVCC', 'IVCI', 'PCA', 'IVASCINFUS', 'SQINFUS', '_Inhalation', 'IPINHL', 'ORIFINHL', 'REBREATH', 'IPPB', 'NASINHL', 'NASINHLC', 'NEB', 'NASNEB', 'ORNEB', 'TRACH', 'VENT', 'VENTMASK', '_Injection', 'AMNINJ', 'BILINJ', 'CHOLINJ', 'CERVINJ', 'EPIDURINJ', 'EPIINJ', 'EPINJSP', 'EXTRAMNINJ', 'EXTCORPINJ', 'GBINJ', 'GINGINJ', 'BLADINJ', 'ENDOSININJ', 'HEMOPORT', 'IABDINJ', 'IAINJ', 'IAINJP', 'IAINJSP', 'IARTINJ', 'IBURSINJ', 'ICARDINJ', 'ICARDINJRP', 'ICARDINJSP', 'ICARINJP', 'ICARTINJ', 'ICAUDINJ', 'ICAVINJ', 'ICAVITINJ', 'ICEREBINJ', 'ICISTERNINJ', 'ICORONINJ', 'ICORONINJP', 'ICORPCAVINJ', 'IDINJ', 'IDISCINJ', 'IDUCTINJ', 'IDURINJ', 'IEPIDINJ', 'IEPITHINJ', 'ILESINJ', 'ILUMINJ', 'ILYMPJINJ', 'IM', 'IMD', 'IMZ', 'IMEDULINJ', 'INTERMENINJ', 'INTERSTITINJ', 'IOINJ', 'IOSSINJ', 'IOVARINJ', 'IPCARDINJ', 'IPERINJ', 'IPINJ', 'IPLRINJ', 'IPROSTINJ', 'IPUMPINJ', 'ISINJ', 'ISTERINJ', 'ISYNINJ', 'ITENDINJ', 'ITESTINJ', 'ITHORINJ', 'ITINJ', 'ITUBINJ', 'ITUMINJ', 'ITYMPINJ', 'IUINJ', 'IUINJC', 'IURETINJ', 'IVASCINJ', 'IVENTINJ', 'IVESINJ', 'IVINJ', 'IVINJBOL', 'IVPUSH', 'IVRPUSH', 'IVSPUSH', 'IVITINJ', 'PAINJ', 'PARENTINJ', 'PDONTINJ', 'PDPINJ', 'PDURINJ', 'PNINJ', 'PNSINJ', 'RBINJ', 'SCINJ', 'SLESINJ', 'SOFTISINJ', 'SQ', 'SUBARACHINJ', 'SUBMUCINJ', 'TRPLACINJ', 'TRTRACHINJ', 'URETHINJ', 'URETINJ', '_Insertion', 'CERVINS', 'IOSURGINS', 'IU', 'LPINS', 'PR', 'SQSURGINS', 'URETHINS', 'VAGINSI', '_Instillation', 'CECINSTL', 'EFT', 'ENTINSTL', 'GT', 'NGT', 'OGT', 'BLADINSTL', 'CAPDINSTL', 'CTINSTL', 'ETINSTL', 'GJT', 'IBRONCHINSTIL', 'IDUODINSTIL', 'IESOPHINSTIL', 'IGASTINSTIL', 'IILEALINJ', 'IOINSTL', 'ISININSTIL', 'ITRACHINSTIL', 'IUINSTL', 'JJTINSTL', 'LARYNGINSTIL', 'NASALINSTIL', 'NASOGASINSTIL', 'NTT', 'OJJ', 'OT', 'PDPINSTL', 'PNSINSTL', 'RECINSTL', 'RECTINSTL', 'SININSTIL', 'SOFTISINSTIL', 'TRACHINSTL', 'TRTYMPINSTIL', 'URETHINSTL', '_IontophoresisRoute', 'IONTO', '_Irrigation', 'GUIRR', 'IGASTIRR', 'ILESIRR', 'IOIRR', 'BLADIRR', 'BLADIRRC', 'BLADIRRT', 'RECIRR', '_LavageRoute', 'IGASTLAV', '_MucosalAbsorptionRoute', 'IDOUDMAB', 'ITRACHMAB', 'SMUCMAB', '_Nebulization', 'ETNEB', '_Rinse', 'DENRINSE', 'ORRINSE', '_SuppositoryRoute', 'URETHSUP', '_Swish', 'SWISHSPIT', 'SWISHSWAL', '_TopicalAbsorptionRoute', 'TTYMPTABSORP', '_TopicalApplication', 'DRESS', 'SWAB', 'TOPICAL', 'BUC', 'CERV', 'DEN', 'GIN', 'HAIR', 'ICORNTA', 'ICORONTA', 'IESOPHTA', 'IILEALTA', 'ILTOP', 'ILUMTA', 'IOTOP', 'LARYNGTA', 'MUC', 'NAIL', 'NASAL', 'OPTHALTA', 'ORALTA', 'ORMUC', 'OROPHARTA', 'PERIANAL', 'PERINEAL', 'PDONTTA', 'RECTAL', 'SCALP', 'OCDRESTA', 'SKIN', 'SUBCONJTA', 'TMUCTA', 'VAGINS', 'INSUF', 'TRNSDERM', '_RouteBySite', '_AmnioticFluidSacRoute', '_BiliaryRoute', '_BodySurfaceRoute', '_BuccalMucosaRoute', '_CecostomyRoute', '_CervicalRoute', '_EndocervicalRoute', '_EnteralRoute', '_EpiduralRoute', '_ExtraAmnioticRoute', '_ExtracorporealCirculationRoute', '_GastricRoute', '_GenitourinaryRoute', '_GingivalRoute', '_HairRoute', '_InterameningealRoute', '_InterstitialRoute', '_IntraabdominalRoute', '_IntraarterialRoute', '_IntraarticularRoute', '_IntrabronchialRoute', '_IntrabursalRoute', '_IntracardiacRoute', '_IntracartilaginousRoute', '_IntracaudalRoute', '_IntracavernosalRoute', '_IntracavitaryRoute', '_IntracerebralRoute', '_IntracervicalRoute', '_IntracisternalRoute', '_IntracornealRoute', '_IntracoronalRoute', '_IntracoronaryRoute', '_IntracorpusCavernosumRoute', '_IntradermalRoute', '_IntradiscalRoute', '_IntraductalRoute', '_IntraduodenalRoute', '_IntraduralRoute', '_IntraepidermalRoute', '_IntraepithelialRoute', '_IntraesophagealRoute', '_IntragastricRoute', '_IntrailealRoute', '_IntralesionalRoute', '_IntraluminalRoute', '_IntralymphaticRoute', '_IntramedullaryRoute', '_IntramuscularRoute', '_IntraocularRoute', '_IntraosseousRoute', '_IntraovarianRoute', '_IntrapericardialRoute', '_IntraperitonealRoute', '_IntrapleuralRoute', '_IntraprostaticRoute', '_IntrapulmonaryRoute', '_IntrasinalRoute', '_IntraspinalRoute', '_IntrasternalRoute', '_IntrasynovialRoute', '_IntratendinousRoute', '_IntratesticularRoute', '_IntrathecalRoute', '_IntrathoracicRoute', '_IntratrachealRoute', '_IntratubularRoute', '_IntratumorRoute', '_IntratympanicRoute', '_IntrauterineRoute', '_IntravascularRoute', '_IntravenousRoute', '_IntraventricularRoute', '_IntravesicleRoute', '_IntravitrealRoute', '_JejunumRoute', '_LacrimalPunctaRoute', '_LaryngealRoute', '_LingualRoute', '_MucousMembraneRoute', '_NailRoute', '_NasalRoute', '_OphthalmicRoute', '_OralRoute', '_OromucosalRoute', '_OropharyngealRoute', '_OticRoute', '_ParanasalSinusesRoute', '_ParenteralRoute', '_PerianalRoute', '_PeriarticularRoute', '_PeriduralRoute', '_PerinealRoute', '_PerineuralRoute', '_PeriodontalRoute', '_PulmonaryRoute', '_RectalRoute', '_RespiratoryTractRoute', '_RetrobulbarRoute', '_ScalpRoute', '_SinusUnspecifiedRoute', '_SkinRoute', '_SoftTissueRoute', '_SubarachnoidRoute', '_SubconjunctivalRoute', '_SubcutaneousRoute', '_SublesionalRoute', '_SublingualRoute', '_SubmucosalRoute', '_TracheostomyRoute', '_TransmucosalRoute', '_TransplacentalRoute', '_TranstrachealRoute', '_TranstympanicRoute', '_UreteralRoute', '_UrethralRoute', '_UrinaryBladderRoute', '_UrinaryTractRoute', '_VaginalRoute', '_VitreousHumourRoute'] }, 'type' => 'CodeableConcept', 'path' => 'EnteralFormula.routeofAdministration', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/enteral-route' } }, + 'administration' => { 'type' => 'NutritionOrder::EnteralFormula::Administration', 'path' => 'EnteralFormula.administration', 'min' => 0, 'max' => Float::INFINITY }, + 'maxVolumeToDeliver' => { 'type' => 'Quantity', 'path' => 'EnteralFormula.maxVolumeToDeliver', 'min' => 0, 'max' => 1 }, + 'administrationInstruction' => { 'type' => 'string', 'path' => 'EnteralFormula.administrationInstruction', 'min' => 0, 'max' => 1 } } class Administration < FHIR::DSTU2::Model @@ -152,13 +152,13 @@ class Administration < FHIR::DSTU2::Model 'rate' => ['Quantity', 'Ratio'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Administration.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Administration.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Administration.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'schedule' => {'type'=>'Timing', 'path'=>'Administration.schedule', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Administration.quantity', 'min'=>0, 'max'=>1}, - 'rateQuantity' => {'type'=>'Quantity', 'path'=>'Administration.rate[x]', 'min'=>0, 'max'=>1}, - 'rateRatio' => {'type'=>'Ratio', 'path'=>'Administration.rate[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Administration.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Administration.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Administration.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'schedule' => { 'type' => 'Timing', 'path' => 'Administration.schedule', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Administration.quantity', 'min' => 0, 'max' => 1 }, + 'rateQuantity' => { 'type' => 'Quantity', 'path' => 'Administration.rate[x]', 'min' => 0, 'max' => 1 }, + 'rateRatio' => { 'type' => 'Ratio', 'path' => 'Administration.rate[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Observation.rb b/lib/fhir_dstu2_models/fhir/resources/Observation.rb index 73885d79..11d80e2a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Observation.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Observation.rb @@ -11,44 +11,44 @@ class Observation < FHIR::DSTU2::Model } SEARCH_PARAMS = ['category', 'code', 'component-code', 'component-data-absent-reason', 'component-value-concept', 'component-value-quantity', 'component-value-string', 'data-absent-reason', 'date', 'device', 'encounter', 'identifier', 'patient', 'performer', 'related-target', 'related-type', 'specimen', 'status', 'subject', 'value-concept', 'value-date', 'value-quantity', 'value-string'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Observation.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Observation.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Observation.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Observation.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Observation.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Observation.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Observation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Observation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Observation.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/observation-status'=>['registered', 'preliminary', 'final', 'amended', 'cancelled', 'entered-in-error', 'unknown']}, 'type'=>'code', 'path'=>'Observation.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-status'}}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/observation-category'=>['social-history', 'vital-signs', 'imaging', 'laboratory', 'procedure', 'survey', 'exam', 'therapy']}, 'type'=>'CodeableConcept', 'path'=>'Observation.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-category'}}, - 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Observation.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-codes'}}, - 'subject' => {'type'=>'Reference', 'path'=>'Observation.subject', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'Observation.encounter', 'min'=>0, 'max'=>1}, - 'effectiveDateTime' => {'type'=>'dateTime', 'path'=>'Observation.effective[x]', 'min'=>0, 'max'=>1}, - 'effectivePeriod' => {'type'=>'Period', 'path'=>'Observation.effective[x]', 'min'=>0, 'max'=>1}, - 'issued' => {'type'=>'instant', 'path'=>'Observation.issued', 'min'=>0, 'max'=>1}, - 'performer' => {'type'=>'Reference', 'path'=>'Observation.performer', 'min'=>0, 'max'=>Float::INFINITY}, - 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueString' => {'type'=>'string', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueRange' => {'type'=>'Range', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueRatio' => {'type'=>'Ratio', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueSampledData' => {'type'=>'SampledData', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueTime' => {'type'=>'time', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'valuePeriod' => {'type'=>'Period', 'path'=>'Observation.value[x]', 'min'=>0, 'max'=>1}, - 'dataAbsentReason' => {'valid_codes'=>{'http://hl7.org/fhir/data-absent-reason'=>['unknown', 'asked', 'temp', 'not-asked', 'masked', 'unsupported', 'astext', 'error', 'NaN']}, 'type'=>'CodeableConcept', 'path'=>'Observation.dataAbsentReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-valueabsentreason'}}, - 'interpretation' => {'valid_codes'=>{'http://hl7.org/fhir/v2/0078'=>['<', '>', 'A', 'AA', 'AC', 'B', 'D', 'DET', 'H', 'HH', 'HM', 'HU', 'I', 'IE', 'IND', 'L', 'LL', 'LU', 'MS', 'N', 'ND', 'NEG', 'NR', 'NS', 'OBX', 'POS', 'QCF', 'R', 'RR', 'S', 'SDD', 'SYN-R', 'SYN-S', 'TOX', 'U', 'VS', 'W', 'WR', 'null']}, 'type'=>'CodeableConcept', 'path'=>'Observation.interpretation', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-interpretation'}}, - 'comments' => {'type'=>'string', 'path'=>'Observation.comments', 'min'=>0, 'max'=>1}, - 'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Observation.bodySite', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}}, - 'method' => {'local_name'=>'local_method', 'valid_codes'=>{'http://hl7.org/fhir/v3/ObservationMethod'=>['_DecisionObservationMethod', 'ALGM', 'BYCL', 'GINT', '_GeneticObservationMethod', 'PCR', '_ObservationMethodAggregate', 'AVERAGE', 'COUNT', 'MAX', 'MEDIAN', 'MIN', 'MODE', 'STDEV.P', 'STDEV.S', 'SUM', 'VARIANCE.P', 'VARIANCE.S', '_VerificationMethod', 'VDOC', 'VREG', 'VTOKEN', 'VVOICE', '0001', '0002', '0003', '0004', '0005', '0006', '0007', '0008', '0009', '0010', '0011', '0012', '0013', '0014', '0015', '0016', '0017', '0018', '0019', '0020', '0021', '0022', '0023', '0024', '0025', '0026', '0027', '0028', '0029', '0030', '0031', '0032', '0033', '0034', '0035', '0036', '0037', '0038', '0039', '0040', '0041', '0042', '0043', '0044', '0045', '0046', '0047', '0048', '0049', '0050', '0051', '0052', '0053', '0054', '0055', '0056', '0057', '0058', '0059', '0060', '0061', '0062', '0063', '0064', '0065', '0066', '0067', '0068', '0069', '0070', '0071', '0072', '0073', '0074', '0075', '0076', '0077', '0078', '0079', '0080', '0081', '0082', '0083', '0084', '0085', '0086', '0087', '0088', '0089', '0090', '0091', '0092', '0093', '0094', '0095', '0096', '0097', '0098', '0099', '0100', '0101', '0102', '0103', '0104', '0105', '0106', '0107', '0108', '0109', '0110', '0111', '0112', '0113', '0114', '0115', '0116', '0117', '0118', '0119', '0120', '0121', '0122', '0123', '0124', '0125', '0126', '0128', '0129', '0130', '0131', '0132', '0133', '0134', '0135', '0136', '0137', '0138', '0139', '0140', '0141', '0142', '0143', '0144', '0145', '0146', '0147', '0148', '0149', '0150', '0151', '0152', '0153', '0154', '0155', '0156', '0157', '0158', '0159', '0160', '0161', '0162', '0163', '0164', '0165', '0166', '0167', '0168', '0169', '0170', '0171', '0172', '0173', '0174', '0175', '0176', '0177', '0178', '0179', '0180', '0181', '0182', '0183', '0184', '0185', '0186', '0187', '0188', '0189', '0190', '0191', '0192', '0193', '0194', '0195', '0196', '0197', '0198', '0199', '0200', '0201', '0202', '0203', '0204', '0205', '0206', '0207', '0208', '0209', '0210', '0211', '0212', '0213', '0214', '0215', '0216', '0217', '0218', '0219', '0220', '0221', '0222', '0223', '0224', '0225', '0226', '0227', '0228', '0229', '0230', '0231', '0232', '0233', '0234', '0235', '0236', '0237', '0238', '0239', '0243', '0244', '0247', '0248', '0249', '0250', '0251', '0252', '0253', '0254', '0255', '0256', '0257', '0258', '0259', '0260', '0261', '0262', '0263', '0264', '0265', '0266', '0267', '0268', '0269', '0270', '0271', '0280', '0240', '0241', '0242', '0272', '0245', '0246', '0273', '0274', '0275', '0275a', '0276', '0277', '0278', '0279', '0127'], 'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Observation.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-methods'}}, - 'specimen' => {'type'=>'Reference', 'path'=>'Observation.specimen', 'min'=>0, 'max'=>1}, - 'device' => {'type'=>'Reference', 'path'=>'Observation.device', 'min'=>0, 'max'=>1}, - 'referenceRange' => {'type'=>'Observation::ReferenceRange', 'path'=>'Observation.referenceRange', 'min'=>0, 'max'=>Float::INFINITY}, - 'related' => {'type'=>'Observation::Related', 'path'=>'Observation.related', 'min'=>0, 'max'=>Float::INFINITY}, - 'component' => {'type'=>'Observation::Component', 'path'=>'Observation.component', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Observation.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Observation.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Observation.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Observation.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Observation.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Observation.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Observation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Observation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Observation.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/observation-status' => ['registered', 'preliminary', 'final', 'amended', 'cancelled', 'entered-in-error', 'unknown'] }, 'type' => 'code', 'path' => 'Observation.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-status' } }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/observation-category' => ['social-history', 'vital-signs', 'imaging', 'laboratory', 'procedure', 'survey', 'exam', 'therapy'] }, 'type' => 'CodeableConcept', 'path' => 'Observation.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-category' } }, + 'code' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'CodeableConcept', 'path' => 'Observation.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-codes' } }, + 'subject' => { 'type' => 'Reference', 'path' => 'Observation.subject', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Observation.encounter', 'min' => 0, 'max' => 1 }, + 'effectiveDateTime' => { 'type' => 'dateTime', 'path' => 'Observation.effective[x]', 'min' => 0, 'max' => 1 }, + 'effectivePeriod' => { 'type' => 'Period', 'path' => 'Observation.effective[x]', 'min' => 0, 'max' => 1 }, + 'issued' => { 'type' => 'instant', 'path' => 'Observation.issued', 'min' => 0, 'max' => 1 }, + 'performer' => { 'type' => 'Reference', 'path' => 'Observation.performer', 'min' => 0, 'max' => Float::INFINITY }, + 'valueQuantity' => { 'type' => 'Quantity', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueString' => { 'type' => 'string', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRange' => { 'type' => 'Range', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRatio' => { 'type' => 'Ratio', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueSampledData' => { 'type' => 'SampledData', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAttachment' => { 'type' => 'Attachment', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueTime' => { 'type' => 'time', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDateTime' => { 'type' => 'dateTime', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'valuePeriod' => { 'type' => 'Period', 'path' => 'Observation.value[x]', 'min' => 0, 'max' => 1 }, + 'dataAbsentReason' => { 'valid_codes' => { 'http://hl7.org/fhir/data-absent-reason' => ['unknown', 'asked', 'temp', 'not-asked', 'masked', 'unsupported', 'astext', 'error', 'NaN'] }, 'type' => 'CodeableConcept', 'path' => 'Observation.dataAbsentReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-valueabsentreason' } }, + 'interpretation' => { 'valid_codes' => { 'http://hl7.org/fhir/v2/0078' => ['<', '>', 'A', 'AA', 'AC', 'B', 'D', 'DET', 'H', 'HH', 'HM', 'HU', 'I', 'IE', 'IND', 'L', 'LL', 'LU', 'MS', 'N', 'ND', 'NEG', 'NR', 'NS', 'OBX', 'POS', 'QCF', 'R', 'RR', 'S', 'SDD', 'SYN-R', 'SYN-S', 'TOX', 'U', 'VS', 'W', 'WR', 'null'] }, 'type' => 'CodeableConcept', 'path' => 'Observation.interpretation', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-interpretation' } }, + 'comments' => { 'type' => 'string', 'path' => 'Observation.comments', 'min' => 0, 'max' => 1 }, + 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Observation.bodySite', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, + 'method' => { 'local_name' => 'local_method', 'valid_codes' => { 'http://hl7.org/fhir/v3/ObservationMethod' => ['_DecisionObservationMethod', 'ALGM', 'BYCL', 'GINT', '_GeneticObservationMethod', 'PCR', '_ObservationMethodAggregate', 'AVERAGE', 'COUNT', 'MAX', 'MEDIAN', 'MIN', 'MODE', 'STDEV.P', 'STDEV.S', 'SUM', 'VARIANCE.P', 'VARIANCE.S', '_VerificationMethod', 'VDOC', 'VREG', 'VTOKEN', 'VVOICE', '0001', '0002', '0003', '0004', '0005', '0006', '0007', '0008', '0009', '0010', '0011', '0012', '0013', '0014', '0015', '0016', '0017', '0018', '0019', '0020', '0021', '0022', '0023', '0024', '0025', '0026', '0027', '0028', '0029', '0030', '0031', '0032', '0033', '0034', '0035', '0036', '0037', '0038', '0039', '0040', '0041', '0042', '0043', '0044', '0045', '0046', '0047', '0048', '0049', '0050', '0051', '0052', '0053', '0054', '0055', '0056', '0057', '0058', '0059', '0060', '0061', '0062', '0063', '0064', '0065', '0066', '0067', '0068', '0069', '0070', '0071', '0072', '0073', '0074', '0075', '0076', '0077', '0078', '0079', '0080', '0081', '0082', '0083', '0084', '0085', '0086', '0087', '0088', '0089', '0090', '0091', '0092', '0093', '0094', '0095', '0096', '0097', '0098', '0099', '0100', '0101', '0102', '0103', '0104', '0105', '0106', '0107', '0108', '0109', '0110', '0111', '0112', '0113', '0114', '0115', '0116', '0117', '0118', '0119', '0120', '0121', '0122', '0123', '0124', '0125', '0126', '0128', '0129', '0130', '0131', '0132', '0133', '0134', '0135', '0136', '0137', '0138', '0139', '0140', '0141', '0142', '0143', '0144', '0145', '0146', '0147', '0148', '0149', '0150', '0151', '0152', '0153', '0154', '0155', '0156', '0157', '0158', '0159', '0160', '0161', '0162', '0163', '0164', '0165', '0166', '0167', '0168', '0169', '0170', '0171', '0172', '0173', '0174', '0175', '0176', '0177', '0178', '0179', '0180', '0181', '0182', '0183', '0184', '0185', '0186', '0187', '0188', '0189', '0190', '0191', '0192', '0193', '0194', '0195', '0196', '0197', '0198', '0199', '0200', '0201', '0202', '0203', '0204', '0205', '0206', '0207', '0208', '0209', '0210', '0211', '0212', '0213', '0214', '0215', '0216', '0217', '0218', '0219', '0220', '0221', '0222', '0223', '0224', '0225', '0226', '0227', '0228', '0229', '0230', '0231', '0232', '0233', '0234', '0235', '0236', '0237', '0238', '0239', '0243', '0244', '0247', '0248', '0249', '0250', '0251', '0252', '0253', '0254', '0255', '0256', '0257', '0258', '0259', '0260', '0261', '0262', '0263', '0264', '0265', '0266', '0267', '0268', '0269', '0270', '0271', '0280', '0240', '0241', '0242', '0272', '0245', '0246', '0273', '0274', '0275', '0275a', '0276', '0277', '0278', '0279', '0127'], 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Observation.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-methods' } }, + 'specimen' => { 'type' => 'Reference', 'path' => 'Observation.specimen', 'min' => 0, 'max' => 1 }, + 'device' => { 'type' => 'Reference', 'path' => 'Observation.device', 'min' => 0, 'max' => 1 }, + 'referenceRange' => { 'type' => 'Observation::ReferenceRange', 'path' => 'Observation.referenceRange', 'min' => 0, 'max' => Float::INFINITY }, + 'related' => { 'type' => 'Observation::Related', 'path' => 'Observation.related', 'min' => 0, 'max' => Float::INFINITY }, + 'component' => { 'type' => 'Observation::Component', 'path' => 'Observation.component', 'min' => 0, 'max' => Float::INFINITY } } class ReferenceRange < FHIR::DSTU2::Model @@ -57,14 +57,14 @@ class ReferenceRange < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'ReferenceRange.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ReferenceRange.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ReferenceRange.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'low' => {'type'=>'Quantity', 'path'=>'ReferenceRange.low', 'min'=>0, 'max'=>1}, - 'high' => {'type'=>'Quantity', 'path'=>'ReferenceRange.high', 'min'=>0, 'max'=>1}, - 'meaning' => {'valid_codes'=>{'http://hl7.org/fhir/referencerange-meaning'=>['type', 'normal', 'recommended', 'treatment', 'therapeutic', 'pre', 'post', 'endocrine', 'pre-puberty', 'follicular', 'midcycle', 'luteal', 'postmeopausal'], 'http://snomed.info/sct'=>['248153007', '248152002', '77386006'], 'http://hl7.org/fhir/v3/Race'=>['1002-5', '1004-1', '1006-6', '1008-2', '1010-8', '1011-6', '1012-4', '1013-2', '1014-0', '1015-7', '1016-5', '1017-3', '1018-1', '1019-9', '1021-5', '1022-3', '1023-1', '1024-9', '1026-4', '1028-0', '1030-6', '1031-4', '1033-0', '1035-5', '1037-1', '1039-7', '1041-3', '1042-1', '1044-7', '1045-4', '1046-2', '1047-0', '1048-8', '1049-6', '1050-4', '1051-2', '1053-8', '1054-6', '1055-3', '1056-1', '1057-9', '1058-7', '1059-5', '1060-3', '1061-1', '1062-9', '1063-7', '1064-5', '1065-2', '1066-0', '1068-6', '1069-4', '1070-2', '1071-0', '1072-8', '1073-6', '1074-4', '1076-9', '1741-8', '1742-6', '1743-4', '1744-2', '1745-9', '1746-7', '1747-5', '1748-3', '1749-1', '1750-9', '1751-7', '1752-5', '1753-3', '1754-1', '1755-8', '1756-6', '1757-4', '1758-2', '1759-0', '1760-8', '1761-6', '1762-4', '1763-2', '1764-0', '1765-7', '1766-5', '1767-3', '1768-1', '1769-9', '1770-7', '1771-5', '1772-3', '1773-1', '1774-9', '1775-6', '1776-4', '1777-2', '1778-0', '1779-8', '1780-6', '1781-4', '1782-2', '1783-0', '1784-8', '1785-5', '1786-3', '1787-1', '1788-9', '1789-7', '1790-5', '1791-3', '1792-1', '1793-9', '1794-7', '1795-4', '1796-2', '1797-0', '1798-8', '1799-6', '1800-2', '1801-0', '1802-8', '1803-6', '1804-4', '1805-1', '1806-9', '1807-7', '1808-5', '1809-3', '1078-5', '1080-1', '1082-7', '1083-5', '1084-3', '1086-8', '1088-4', '1089-2', '1090-0', '1091-8', '1092-6', '1093-4', '1094-2', '1095-9', '1096-7', '1097-5', '1098-3', '1100-7', '1102-3', '1103-1', '1104-9', '1106-4', '1108-0', '1109-8', '1110-6', '1112-2', '1114-8', '1115-5', '1116-3', '1117-1', '1118-9', '1119-7', '1120-5', '1121-3', '1123-9', '1124-7', '1125-4', '1126-2', '1127-0', '1128-8', '1129-6', '1130-4', '1131-2', '1132-0', '1133-8', '1134-6', '1135-3', '1136-1', '1137-9', '1138-7', '1139-5', '1140-3', '1141-1', '1142-9', '1143-7', '1144-5', '1145-2', '1146-0', '1147-8', '1148-6', '1150-2', '1151-0', '1153-6', '1155-1', '1156-9', '1157-7', '1158-5', '1159-3', '1160-1', '1162-7', '1163-5', '1165-0', '1167-6', '1169-2', '1171-8', '1173-4', '1175-9', '1176-7', '1178-3', '1180-9', '1182-5', '1184-1', '1186-6', '1187-4', '1189-0', '1191-6', '1193-2', '1194-0', '1195-7', '1196-5', '1197-3', '1198-1', '1199-9', '1200-5', '1201-3', '1202-1', '1203-9', '1204-7', '1205-4', '1207-0', '1209-6', '1211-2', '1212-0', '1214-6', '1215-3', '1216-1', '1217-9', '1218-7', '1219-5', '1220-3', '1222-9', '1223-7', '1224-5', '1225-2', '1226-0', '1227-8', '1228-6', '1229-4', '1230-2', '1231-0', '1233-6', '1234-4', '1235-1', '1236-9', '1237-7', '1238-5', '1239-3', '1240-1', '1241-9', '1242-7', '1243-5', '1244-3', '1245-0', '1246-8', '1247-6', '1248-4', '1250-0', '1252-6', '1254-2', '1256-7', '1258-3', '1260-9', '1262-5', '1264-1', '1265-8', '1267-4', '1269-0', '1271-6', '1272-4', '1273-2', '1275-7', '1277-3', '1279-9', '1281-5', '1282-3', '1283-1', '1285-6', '1286-4', '1287-2', '1288-0', '1289-8', '1290-6', '1291-4', '1292-2', '1293-0', '1294-8', '1295-5', '1297-1', '1299-7', '1301-1', '1303-7', '1305-2', '1306-0', '1307-8', '1309-4', '1310-2', '1312-8', '1313-6', '1314-4', '1315-1', '1317-7', '1319-3', '1321-9', '1323-5', '1325-0', '1326-8', '1327-6', '1328-4', '1329-2', '1331-8', '1332-6', '1333-4', '1334-2', '1335-9', '1336-7', '1337-5', '1338-3', '1340-9', '1342-5', '1344-1', '1345-8', '1346-6', '1348-2', '1350-8', '1352-4', '1354-0', '1356-5', '1358-1', '1359-9', '1360-7', '1361-5', '1363-1', '1365-6', '1366-4', '1368-0', '1370-6', '1372-2', '1374-8', '1376-3', '1378-9', '1380-5', '1382-1', '1383-9', '1384-7', '1385-4', '1387-0', '1389-6', '1391-2', '1392-0', '1393-8', '1394-6', '1395-3', '1396-1', '1397-9', '1398-7', '1399-5', '1400-1', '1401-9', '1403-5', '1405-0', '1407-6', '1409-2', '1411-8', '1412-6', '1413-4', '1414-2', '1416-7', '1417-5', '1418-3', '1419-1', '1420-9', '1421-7', '1422-5', '1423-3', '1424-1', '1425-8', '1426-6', '1427-4', '1428-2', '1429-0', '1430-8', '1431-6', '1432-4', '1433-2', '1434-0', '1435-7', '1436-5', '1437-3', '1439-9', '1441-5', '1442-3', '1443-1', '1445-6', '1446-4', '1448-0', '1450-6', '1451-4', '1453-0', '1454-8', '1456-3', '1457-1', '1458-9', '1460-5', '1462-1', '1464-7', '1465-4', '1466-2', '1467-0', '1468-8', '1469-6', '1470-4', '1471-2', '1472-0', '1474-6', '1475-3', '1476-1', '1478-7', '1479-5', '1480-3', '1481-1', '1482-9', '1483-7', '1484-5', '1485-2', '1487-8', '1489-4', '1490-2', '1491-0', '1492-8', '1493-6', '1494-4', '1495-1', '1496-9', '1497-7', '1498-5', '1499-3', '1500-8', '1501-6', '1502-4', '1503-2', '1504-0', '1505-7', '1506-5', '1507-3', '1508-1', '1509-9', '1510-7', '1511-5', '1512-3', '1513-1', '1514-9', '1515-6', '1516-4', '1518-0', '1519-8', '1520-6', '1521-4', '1522-2', '1523-0', '1524-8', '1525-5', '1526-3', '1527-1', '1528-9', '1529-7', '1530-5', '1531-3', '1532-1', '1533-9', '1534-7', '1535-4', '1536-2', '1537-0', '1538-8', '1539-6', '1541-2', '1543-8', '1545-3', '1547-9', '1549-5', '1551-1', '1552-9', '1553-7', '1554-5', '1556-0', '1558-6', '1560-2', '1562-8', '1564-4', '1566-9', '1567-7', '1568-5', '1569-3', '1570-1', '1571-9', '1573-5', '1574-3', '1576-8', '1578-4', '1579-2', '1580-0', '1582-6', '1584-2', '1586-7', '1587-5', '1588-3', '1589-1', '1590-9', '1591-7', '1592-5', '1593-3', '1594-1', '1595-8', '1596-6', '1597-4', '1598-2', '1599-0', '1600-6', '1602-2', '1603-0', '1604-8', '1605-5', '1607-1', '1609-7', '1610-5', '1611-3', '1612-1', '1613-9', '1614-7', '1615-4', '1616-2', '1617-0', '1618-8', '1619-6', '1620-4', '1621-2', '1622-0', '1623-8', '1624-6', '1625-3', '1626-1', '1627-9', '1628-7', '1629-5', '1630-3', '1631-1', '1632-9', '1633-7', '1634-5', '1635-2', '1636-0', '1637-8', '1638-6', '1639-4', '1640-2', '1641-0', '1643-6', '1645-1', '1647-7', '1649-3', '1651-9', '1653-5', '1654-3', '1655-0', '1656-8', '1657-6', '1659-2', '1661-8', '1663-4', '1665-9', '1667-5', '1668-3', '1670-9', '1671-7', '1672-5', '1673-3', '1675-8', '1677-4', '1679-0', '1680-8', '1681-6', '1683-2', '1685-7', '1687-3', '1688-1', '1689-9', '1690-7', '1692-3', '1694-9', '1696-4', '1697-2', '1698-0', '1700-4', '1702-0', '1704-6', '1705-3', '1707-9', '1709-5', '1711-1', '1712-9', '1713-7', '1715-2', '1717-8', '1718-6', '1719-4', '1720-2', '1722-8', '1724-4', '1725-1', '1726-9', '1727-7', '1728-5', '1729-3', '1730-1', '1731-9', '1732-7', '1733-5', '1735-0', '1737-6', '1739-2', '1740-0', '1811-9', '1813-5', '1814-3', '1815-0', '1816-8', '1817-6', '1818-4', '1819-2', '1820-0', '1821-8', '1822-6', '1823-4', '1824-2', '1825-9', '1826-7', '1827-5', '1828-3', '1829-1', '1830-9', '1831-7', '1832-5', '1833-3', '1834-1', '1835-8', '1837-4', '1838-2', '1840-8', '1842-4', '1844-0', '1845-7', '1846-5', '1847-3', '1848-1', '1849-9', '1850-7', '1851-5', '1852-3', '1853-1', '1854-9', '1855-6', '1856-4', '1857-2', '1858-0', '1859-8', '1860-6', '1861-4', '1862-2', '1863-0', '1864-8', '1865-5', '1866-3', '1867-1', '1868-9', '1869-7', '1870-5', '1871-3', '1872-1', '1873-9', '1874-7', '1875-4', '1876-2', '1877-0', '1878-8', '1879-6', '1880-4', '1881-2', '1882-0', '1883-8', '1884-6', '1885-3', '1886-1', '1887-9', '1888-7', '1889-5', '1891-1', '1892-9', '1893-7', '1894-5', '1896-0', '1897-8', '1898-6', '1899-4', '1900-0', '1901-8', '1902-6', '1903-4', '1904-2', '1905-9', '1906-7', '1907-5', '1908-3', '1909-1', '1910-9', '1911-7', '1912-5', '1913-3', '1914-1', '1915-8', '1916-6', '1917-4', '1918-2', '1919-0', '1920-8', '1921-6', '1922-4', '1923-2', '1924-0', '1925-7', '1926-5', '1927-3', '1928-1', '1929-9', '1930-7', '1931-5', '1932-3', '1933-1', '1934-9', '1935-6', '1936-4', '1937-2', '1938-0', '1939-8', '1940-6', '1941-4', '1942-2', '1943-0', '1944-8', '1945-5', '1946-3', '1947-1', '1948-9', '1949-7', '1950-5', '1951-3', '1952-1', '1953-9', '1954-7', '1955-4', '1956-2', '1957-0', '1958-8', '1959-6', '1960-4', '1961-2', '1962-0', '1963-8', '1964-6', '1966-1', '1968-7', '1969-5', '1970-3', '1972-9', '1973-7', '1974-5', '1975-2', '1976-0', '1977-8', '1978-6', '1979-4', '1980-2', '1981-0', '1982-8', '1984-4', '1985-1', '1986-9', '1987-7', '1988-5', '1990-1', '1992-7', '1993-5', '1994-3', '1995-0', '1996-8', '1997-6', '1998-4', '1999-2', '2000-8', '2002-4', '2004-0', '2006-5', '2007-3', '2008-1', '2009-9', '2010-7', '2011-5', '2012-3', '2013-1', '2014-9', '2015-6', '2016-4', '2017-2', '2018-0', '2019-8', '2020-6', '2021-4', '2022-2', '2023-0', '2024-8', '2025-5', '2026-3', '2028-9', '2029-7', '2030-5', '2031-3', '2032-1', '2033-9', '2034-7', '2035-4', '2036-2', '2037-0', '2038-8', '2039-6', '2040-4', '2041-2', '2042-0', '2043-8', '2044-6', '2045-3', '2046-1', '2047-9', '2048-7', '2049-5', '2050-3', '2051-1', '2052-9', '2054-5', '2056-0', '2058-6', '2060-2', '2061-0', '2062-8', '2063-6', '2064-4', '2065-1', '2066-9', '2067-7', '2068-5', '2069-3', '2070-1', '2071-9', '2072-7', '2073-5', '2074-3', '2075-0', '2076-8', '2078-4', '2079-2', '2080-0', '2081-8', '2082-6', '2083-4', '2085-9', '2086-7', '2087-5', '2088-3', '2089-1', '2090-9', '2091-7', '2092-5', '2093-3', '2094-1', '2095-8', '2096-6', '2097-4', '2098-2', '2100-6', '2101-4', '2102-2', '2103-0', '2104-8', '2500-7', '2106-3', '2108-9', '2109-7', '2110-5', '2111-3', '2112-1', '2113-9', '2114-7', '2115-4', '2116-2', '2118-8', '2119-6', '2120-4', '2121-2', '2122-0', '2123-8', '2124-6', '2125-3', '2126-1', '2127-9', '2129-5', '2131-1']}, 'type'=>'CodeableConcept', 'path'=>'ReferenceRange.meaning', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/referencerange-meaning'}}, - 'age' => {'type'=>'Range', 'path'=>'ReferenceRange.age', 'min'=>0, 'max'=>1}, - 'text' => {'type'=>'string', 'path'=>'ReferenceRange.text', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ReferenceRange.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'ReferenceRange.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ReferenceRange.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'low' => { 'type' => 'Quantity', 'path' => 'ReferenceRange.low', 'min' => 0, 'max' => 1 }, + 'high' => { 'type' => 'Quantity', 'path' => 'ReferenceRange.high', 'min' => 0, 'max' => 1 }, + 'meaning' => { 'valid_codes' => { 'http://hl7.org/fhir/referencerange-meaning' => ['type', 'normal', 'recommended', 'treatment', 'therapeutic', 'pre', 'post', 'endocrine', 'pre-puberty', 'follicular', 'midcycle', 'luteal', 'postmeopausal'], 'http://snomed.info/sct' => ['248153007', '248152002', '77386006'], 'http://hl7.org/fhir/v3/Race' => ['1002-5', '1004-1', '1006-6', '1008-2', '1010-8', '1011-6', '1012-4', '1013-2', '1014-0', '1015-7', '1016-5', '1017-3', '1018-1', '1019-9', '1021-5', '1022-3', '1023-1', '1024-9', '1026-4', '1028-0', '1030-6', '1031-4', '1033-0', '1035-5', '1037-1', '1039-7', '1041-3', '1042-1', '1044-7', '1045-4', '1046-2', '1047-0', '1048-8', '1049-6', '1050-4', '1051-2', '1053-8', '1054-6', '1055-3', '1056-1', '1057-9', '1058-7', '1059-5', '1060-3', '1061-1', '1062-9', '1063-7', '1064-5', '1065-2', '1066-0', '1068-6', '1069-4', '1070-2', '1071-0', '1072-8', '1073-6', '1074-4', '1076-9', '1741-8', '1742-6', '1743-4', '1744-2', '1745-9', '1746-7', '1747-5', '1748-3', '1749-1', '1750-9', '1751-7', '1752-5', '1753-3', '1754-1', '1755-8', '1756-6', '1757-4', '1758-2', '1759-0', '1760-8', '1761-6', '1762-4', '1763-2', '1764-0', '1765-7', '1766-5', '1767-3', '1768-1', '1769-9', '1770-7', '1771-5', '1772-3', '1773-1', '1774-9', '1775-6', '1776-4', '1777-2', '1778-0', '1779-8', '1780-6', '1781-4', '1782-2', '1783-0', '1784-8', '1785-5', '1786-3', '1787-1', '1788-9', '1789-7', '1790-5', '1791-3', '1792-1', '1793-9', '1794-7', '1795-4', '1796-2', '1797-0', '1798-8', '1799-6', '1800-2', '1801-0', '1802-8', '1803-6', '1804-4', '1805-1', '1806-9', '1807-7', '1808-5', '1809-3', '1078-5', '1080-1', '1082-7', '1083-5', '1084-3', '1086-8', '1088-4', '1089-2', '1090-0', '1091-8', '1092-6', '1093-4', '1094-2', '1095-9', '1096-7', '1097-5', '1098-3', '1100-7', '1102-3', '1103-1', '1104-9', '1106-4', '1108-0', '1109-8', '1110-6', '1112-2', '1114-8', '1115-5', '1116-3', '1117-1', '1118-9', '1119-7', '1120-5', '1121-3', '1123-9', '1124-7', '1125-4', '1126-2', '1127-0', '1128-8', '1129-6', '1130-4', '1131-2', '1132-0', '1133-8', '1134-6', '1135-3', '1136-1', '1137-9', '1138-7', '1139-5', '1140-3', '1141-1', '1142-9', '1143-7', '1144-5', '1145-2', '1146-0', '1147-8', '1148-6', '1150-2', '1151-0', '1153-6', '1155-1', '1156-9', '1157-7', '1158-5', '1159-3', '1160-1', '1162-7', '1163-5', '1165-0', '1167-6', '1169-2', '1171-8', '1173-4', '1175-9', '1176-7', '1178-3', '1180-9', '1182-5', '1184-1', '1186-6', '1187-4', '1189-0', '1191-6', '1193-2', '1194-0', '1195-7', '1196-5', '1197-3', '1198-1', '1199-9', '1200-5', '1201-3', '1202-1', '1203-9', '1204-7', '1205-4', '1207-0', '1209-6', '1211-2', '1212-0', '1214-6', '1215-3', '1216-1', '1217-9', '1218-7', '1219-5', '1220-3', '1222-9', '1223-7', '1224-5', '1225-2', '1226-0', '1227-8', '1228-6', '1229-4', '1230-2', '1231-0', '1233-6', '1234-4', '1235-1', '1236-9', '1237-7', '1238-5', '1239-3', '1240-1', '1241-9', '1242-7', '1243-5', '1244-3', '1245-0', '1246-8', '1247-6', '1248-4', '1250-0', '1252-6', '1254-2', '1256-7', '1258-3', '1260-9', '1262-5', '1264-1', '1265-8', '1267-4', '1269-0', '1271-6', '1272-4', '1273-2', '1275-7', '1277-3', '1279-9', '1281-5', '1282-3', '1283-1', '1285-6', '1286-4', '1287-2', '1288-0', '1289-8', '1290-6', '1291-4', '1292-2', '1293-0', '1294-8', '1295-5', '1297-1', '1299-7', '1301-1', '1303-7', '1305-2', '1306-0', '1307-8', '1309-4', '1310-2', '1312-8', '1313-6', '1314-4', '1315-1', '1317-7', '1319-3', '1321-9', '1323-5', '1325-0', '1326-8', '1327-6', '1328-4', '1329-2', '1331-8', '1332-6', '1333-4', '1334-2', '1335-9', '1336-7', '1337-5', '1338-3', '1340-9', '1342-5', '1344-1', '1345-8', '1346-6', '1348-2', '1350-8', '1352-4', '1354-0', '1356-5', '1358-1', '1359-9', '1360-7', '1361-5', '1363-1', '1365-6', '1366-4', '1368-0', '1370-6', '1372-2', '1374-8', '1376-3', '1378-9', '1380-5', '1382-1', '1383-9', '1384-7', '1385-4', '1387-0', '1389-6', '1391-2', '1392-0', '1393-8', '1394-6', '1395-3', '1396-1', '1397-9', '1398-7', '1399-5', '1400-1', '1401-9', '1403-5', '1405-0', '1407-6', '1409-2', '1411-8', '1412-6', '1413-4', '1414-2', '1416-7', '1417-5', '1418-3', '1419-1', '1420-9', '1421-7', '1422-5', '1423-3', '1424-1', '1425-8', '1426-6', '1427-4', '1428-2', '1429-0', '1430-8', '1431-6', '1432-4', '1433-2', '1434-0', '1435-7', '1436-5', '1437-3', '1439-9', '1441-5', '1442-3', '1443-1', '1445-6', '1446-4', '1448-0', '1450-6', '1451-4', '1453-0', '1454-8', '1456-3', '1457-1', '1458-9', '1460-5', '1462-1', '1464-7', '1465-4', '1466-2', '1467-0', '1468-8', '1469-6', '1470-4', '1471-2', '1472-0', '1474-6', '1475-3', '1476-1', '1478-7', '1479-5', '1480-3', '1481-1', '1482-9', '1483-7', '1484-5', '1485-2', '1487-8', '1489-4', '1490-2', '1491-0', '1492-8', '1493-6', '1494-4', '1495-1', '1496-9', '1497-7', '1498-5', '1499-3', '1500-8', '1501-6', '1502-4', '1503-2', '1504-0', '1505-7', '1506-5', '1507-3', '1508-1', '1509-9', '1510-7', '1511-5', '1512-3', '1513-1', '1514-9', '1515-6', '1516-4', '1518-0', '1519-8', '1520-6', '1521-4', '1522-2', '1523-0', '1524-8', '1525-5', '1526-3', '1527-1', '1528-9', '1529-7', '1530-5', '1531-3', '1532-1', '1533-9', '1534-7', '1535-4', '1536-2', '1537-0', '1538-8', '1539-6', '1541-2', '1543-8', '1545-3', '1547-9', '1549-5', '1551-1', '1552-9', '1553-7', '1554-5', '1556-0', '1558-6', '1560-2', '1562-8', '1564-4', '1566-9', '1567-7', '1568-5', '1569-3', '1570-1', '1571-9', '1573-5', '1574-3', '1576-8', '1578-4', '1579-2', '1580-0', '1582-6', '1584-2', '1586-7', '1587-5', '1588-3', '1589-1', '1590-9', '1591-7', '1592-5', '1593-3', '1594-1', '1595-8', '1596-6', '1597-4', '1598-2', '1599-0', '1600-6', '1602-2', '1603-0', '1604-8', '1605-5', '1607-1', '1609-7', '1610-5', '1611-3', '1612-1', '1613-9', '1614-7', '1615-4', '1616-2', '1617-0', '1618-8', '1619-6', '1620-4', '1621-2', '1622-0', '1623-8', '1624-6', '1625-3', '1626-1', '1627-9', '1628-7', '1629-5', '1630-3', '1631-1', '1632-9', '1633-7', '1634-5', '1635-2', '1636-0', '1637-8', '1638-6', '1639-4', '1640-2', '1641-0', '1643-6', '1645-1', '1647-7', '1649-3', '1651-9', '1653-5', '1654-3', '1655-0', '1656-8', '1657-6', '1659-2', '1661-8', '1663-4', '1665-9', '1667-5', '1668-3', '1670-9', '1671-7', '1672-5', '1673-3', '1675-8', '1677-4', '1679-0', '1680-8', '1681-6', '1683-2', '1685-7', '1687-3', '1688-1', '1689-9', '1690-7', '1692-3', '1694-9', '1696-4', '1697-2', '1698-0', '1700-4', '1702-0', '1704-6', '1705-3', '1707-9', '1709-5', '1711-1', '1712-9', '1713-7', '1715-2', '1717-8', '1718-6', '1719-4', '1720-2', '1722-8', '1724-4', '1725-1', '1726-9', '1727-7', '1728-5', '1729-3', '1730-1', '1731-9', '1732-7', '1733-5', '1735-0', '1737-6', '1739-2', '1740-0', '1811-9', '1813-5', '1814-3', '1815-0', '1816-8', '1817-6', '1818-4', '1819-2', '1820-0', '1821-8', '1822-6', '1823-4', '1824-2', '1825-9', '1826-7', '1827-5', '1828-3', '1829-1', '1830-9', '1831-7', '1832-5', '1833-3', '1834-1', '1835-8', '1837-4', '1838-2', '1840-8', '1842-4', '1844-0', '1845-7', '1846-5', '1847-3', '1848-1', '1849-9', '1850-7', '1851-5', '1852-3', '1853-1', '1854-9', '1855-6', '1856-4', '1857-2', '1858-0', '1859-8', '1860-6', '1861-4', '1862-2', '1863-0', '1864-8', '1865-5', '1866-3', '1867-1', '1868-9', '1869-7', '1870-5', '1871-3', '1872-1', '1873-9', '1874-7', '1875-4', '1876-2', '1877-0', '1878-8', '1879-6', '1880-4', '1881-2', '1882-0', '1883-8', '1884-6', '1885-3', '1886-1', '1887-9', '1888-7', '1889-5', '1891-1', '1892-9', '1893-7', '1894-5', '1896-0', '1897-8', '1898-6', '1899-4', '1900-0', '1901-8', '1902-6', '1903-4', '1904-2', '1905-9', '1906-7', '1907-5', '1908-3', '1909-1', '1910-9', '1911-7', '1912-5', '1913-3', '1914-1', '1915-8', '1916-6', '1917-4', '1918-2', '1919-0', '1920-8', '1921-6', '1922-4', '1923-2', '1924-0', '1925-7', '1926-5', '1927-3', '1928-1', '1929-9', '1930-7', '1931-5', '1932-3', '1933-1', '1934-9', '1935-6', '1936-4', '1937-2', '1938-0', '1939-8', '1940-6', '1941-4', '1942-2', '1943-0', '1944-8', '1945-5', '1946-3', '1947-1', '1948-9', '1949-7', '1950-5', '1951-3', '1952-1', '1953-9', '1954-7', '1955-4', '1956-2', '1957-0', '1958-8', '1959-6', '1960-4', '1961-2', '1962-0', '1963-8', '1964-6', '1966-1', '1968-7', '1969-5', '1970-3', '1972-9', '1973-7', '1974-5', '1975-2', '1976-0', '1977-8', '1978-6', '1979-4', '1980-2', '1981-0', '1982-8', '1984-4', '1985-1', '1986-9', '1987-7', '1988-5', '1990-1', '1992-7', '1993-5', '1994-3', '1995-0', '1996-8', '1997-6', '1998-4', '1999-2', '2000-8', '2002-4', '2004-0', '2006-5', '2007-3', '2008-1', '2009-9', '2010-7', '2011-5', '2012-3', '2013-1', '2014-9', '2015-6', '2016-4', '2017-2', '2018-0', '2019-8', '2020-6', '2021-4', '2022-2', '2023-0', '2024-8', '2025-5', '2026-3', '2028-9', '2029-7', '2030-5', '2031-3', '2032-1', '2033-9', '2034-7', '2035-4', '2036-2', '2037-0', '2038-8', '2039-6', '2040-4', '2041-2', '2042-0', '2043-8', '2044-6', '2045-3', '2046-1', '2047-9', '2048-7', '2049-5', '2050-3', '2051-1', '2052-9', '2054-5', '2056-0', '2058-6', '2060-2', '2061-0', '2062-8', '2063-6', '2064-4', '2065-1', '2066-9', '2067-7', '2068-5', '2069-3', '2070-1', '2071-9', '2072-7', '2073-5', '2074-3', '2075-0', '2076-8', '2078-4', '2079-2', '2080-0', '2081-8', '2082-6', '2083-4', '2085-9', '2086-7', '2087-5', '2088-3', '2089-1', '2090-9', '2091-7', '2092-5', '2093-3', '2094-1', '2095-8', '2096-6', '2097-4', '2098-2', '2100-6', '2101-4', '2102-2', '2103-0', '2104-8', '2500-7', '2106-3', '2108-9', '2109-7', '2110-5', '2111-3', '2112-1', '2113-9', '2114-7', '2115-4', '2116-2', '2118-8', '2119-6', '2120-4', '2121-2', '2122-0', '2123-8', '2124-6', '2125-3', '2126-1', '2127-9', '2129-5', '2131-1'] }, 'type' => 'CodeableConcept', 'path' => 'ReferenceRange.meaning', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/referencerange-meaning' } }, + 'age' => { 'type' => 'Range', 'path' => 'ReferenceRange.age', 'min' => 0, 'max' => 1 }, + 'text' => { 'type' => 'string', 'path' => 'ReferenceRange.text', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -83,11 +83,11 @@ class Related < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Related.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Related.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Related.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/observation-relationshiptypes'=>['has-member', 'derived-from', 'sequel-to', 'replaces', 'qualified-by', 'interfered-by']}, 'type'=>'code', 'path'=>'Related.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-relationshiptypes'}}, - 'target' => {'type'=>'Reference', 'path'=>'Related.target', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Related.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Related.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Related.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/observation-relationshiptypes' => ['has-member', 'derived-from', 'sequel-to', 'replaces', 'qualified-by', 'interfered-by'] }, 'type' => 'code', 'path' => 'Related.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-relationshiptypes' } }, + 'target' => { 'type' => 'Reference', 'path' => 'Related.target', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -106,22 +106,22 @@ class Component < FHIR::DSTU2::Model 'value' => ['Quantity', 'CodeableConcept', 'string', 'Range', 'Ratio', 'SampledData', 'Attachment', 'time', 'dateTime', 'Period'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Component.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Component.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Component.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Component.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-codes'}}, - 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueString' => {'type'=>'string', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueRange' => {'type'=>'Range', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueRatio' => {'type'=>'Ratio', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueSampledData' => {'type'=>'SampledData', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueTime' => {'type'=>'time', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'valuePeriod' => {'type'=>'Period', 'path'=>'Component.value[x]', 'min'=>0, 'max'=>1}, - 'dataAbsentReason' => {'valid_codes'=>{'http://hl7.org/fhir/data-absent-reason'=>['unknown', 'asked', 'temp', 'not-asked', 'masked', 'unsupported', 'astext', 'error', 'NaN']}, 'type'=>'CodeableConcept', 'path'=>'Component.dataAbsentReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-valueabsentreason'}}, - 'referenceRange' => {'type'=>'Observation::ReferenceRange', 'path'=>'Component.referenceRange', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Component.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Component.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Component.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'CodeableConcept', 'path' => 'Component.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-codes' } }, + 'valueQuantity' => { 'type' => 'Quantity', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueString' => { 'type' => 'string', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRange' => { 'type' => 'Range', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRatio' => { 'type' => 'Ratio', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueSampledData' => { 'type' => 'SampledData', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAttachment' => { 'type' => 'Attachment', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueTime' => { 'type' => 'time', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDateTime' => { 'type' => 'dateTime', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'valuePeriod' => { 'type' => 'Period', 'path' => 'Component.value[x]', 'min' => 0, 'max' => 1 }, + 'dataAbsentReason' => { 'valid_codes' => { 'http://hl7.org/fhir/data-absent-reason' => ['unknown', 'asked', 'temp', 'not-asked', 'masked', 'unsupported', 'astext', 'error', 'NaN'] }, 'type' => 'CodeableConcept', 'path' => 'Component.dataAbsentReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-valueabsentreason' } }, + 'referenceRange' => { 'type' => 'Observation::ReferenceRange', 'path' => 'Component.referenceRange', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb b/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb index b1f18e56..5d840d74 100644 --- a/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb @@ -7,33 +7,33 @@ class OperationDefinition < FHIR::DSTU2::Model SEARCH_PARAMS = ['base', 'code', 'date', 'instance', 'kind', 'name', 'profile', 'publisher', 'status', 'system', 'type', 'url', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'OperationDefinition.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'OperationDefinition.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'OperationDefinition.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'OperationDefinition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'OperationDefinition.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'OperationDefinition.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'OperationDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'OperationDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'OperationDefinition.url', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'OperationDefinition.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'OperationDefinition.name', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'OperationDefinition.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/operation-kind'=>['operation', 'query']}, 'type'=>'code', 'path'=>'OperationDefinition.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/operation-kind'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'OperationDefinition.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'OperationDefinition.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'OperationDefinition::Contact', 'path'=>'OperationDefinition.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'OperationDefinition.date', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'OperationDefinition.description', 'min'=>0, 'max'=>1}, - 'requirements' => {'type'=>'string', 'path'=>'OperationDefinition.requirements', 'min'=>0, 'max'=>1}, - 'idempotent' => {'type'=>'boolean', 'path'=>'OperationDefinition.idempotent', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'OperationDefinition.code', 'min'=>1, 'max'=>1}, - 'notes' => {'type'=>'string', 'path'=>'OperationDefinition.notes', 'min'=>0, 'max'=>1}, - 'base' => {'type'=>'Reference', 'path'=>'OperationDefinition.base', 'min'=>0, 'max'=>1}, - 'system' => {'type'=>'boolean', 'path'=>'OperationDefinition.system', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'OperationDefinition.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'instance' => {'type'=>'boolean', 'path'=>'OperationDefinition.instance', 'min'=>1, 'max'=>1}, - 'parameter' => {'type'=>'OperationDefinition::Parameter', 'path'=>'OperationDefinition.parameter', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'OperationDefinition.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'OperationDefinition.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'OperationDefinition.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'OperationDefinition.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'OperationDefinition.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'OperationDefinition.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'OperationDefinition.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'OperationDefinition.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'OperationDefinition.url', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'OperationDefinition.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'OperationDefinition.name', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'OperationDefinition.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/operation-kind' => ['operation', 'query'] }, 'type' => 'code', 'path' => 'OperationDefinition.kind', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/operation-kind' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'OperationDefinition.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'OperationDefinition.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'OperationDefinition::Contact', 'path' => 'OperationDefinition.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'OperationDefinition.date', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'OperationDefinition.description', 'min' => 0, 'max' => 1 }, + 'requirements' => { 'type' => 'string', 'path' => 'OperationDefinition.requirements', 'min' => 0, 'max' => 1 }, + 'idempotent' => { 'type' => 'boolean', 'path' => 'OperationDefinition.idempotent', 'min' => 0, 'max' => 1 }, + 'code' => { 'type' => 'code', 'path' => 'OperationDefinition.code', 'min' => 1, 'max' => 1 }, + 'notes' => { 'type' => 'string', 'path' => 'OperationDefinition.notes', 'min' => 0, 'max' => 1 }, + 'base' => { 'type' => 'Reference', 'path' => 'OperationDefinition.base', 'min' => 0, 'max' => 1 }, + 'system' => { 'type' => 'boolean', 'path' => 'OperationDefinition.system', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'OperationDefinition.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'instance' => { 'type' => 'boolean', 'path' => 'OperationDefinition.instance', 'min' => 1, 'max' => 1 }, + 'parameter' => { 'type' => 'OperationDefinition::Parameter', 'path' => 'OperationDefinition.parameter', 'min' => 0, 'max' => Float::INFINITY } } class Contact < FHIR::DSTU2::Model @@ -42,11 +42,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -62,18 +62,18 @@ class Parameter < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Parameter.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Parameter.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Parameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'code', 'path'=>'Parameter.name', 'min'=>1, 'max'=>1}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/operation-parameter-use'=>['in', 'out']}, 'type'=>'code', 'path'=>'Parameter.use', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/operation-parameter-use'}}, - 'min' => {'type'=>'integer', 'path'=>'Parameter.min', 'min'=>1, 'max'=>1}, - 'max' => {'type'=>'string', 'path'=>'Parameter.max', 'min'=>1, 'max'=>1}, - 'documentation' => {'type'=>'string', 'path'=>'Parameter.documentation', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/search-param-type'=>['number', 'date', 'string', 'token', 'reference', 'composite', 'quantity', 'uri'], 'http://hl7.org/fhir/data-types'=>['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Parameter.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/operation-parameter-type'}}, - 'profile' => {'type'=>'Reference', 'path'=>'Parameter.profile', 'min'=>0, 'max'=>1}, - 'binding' => {'type'=>'OperationDefinition::Parameter::Binding', 'path'=>'Parameter.binding', 'min'=>0, 'max'=>1}, - 'part' => {'type'=>'OperationDefinition::Parameter', 'path'=>'Parameter.part', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Parameter.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Parameter.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Parameter.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'code', 'path' => 'Parameter.name', 'min' => 1, 'max' => 1 }, + 'use' => { 'valid_codes' => { 'http://hl7.org/fhir/operation-parameter-use' => ['in', 'out'] }, 'type' => 'code', 'path' => 'Parameter.use', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/operation-parameter-use' } }, + 'min' => { 'type' => 'integer', 'path' => 'Parameter.min', 'min' => 1, 'max' => 1 }, + 'max' => { 'type' => 'string', 'path' => 'Parameter.max', 'min' => 1, 'max' => 1 }, + 'documentation' => { 'type' => 'string', 'path' => 'Parameter.documentation', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/search-param-type' => ['number', 'date', 'string', 'token', 'reference', 'composite', 'quantity', 'uri'], 'http://hl7.org/fhir/data-types' => ['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Parameter.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/operation-parameter-type' } }, + 'profile' => { 'type' => 'Reference', 'path' => 'Parameter.profile', 'min' => 0, 'max' => 1 }, + 'binding' => { 'type' => 'OperationDefinition::Parameter::Binding', 'path' => 'Parameter.binding', 'min' => 0, 'max' => 1 }, + 'part' => { 'type' => 'OperationDefinition::Parameter', 'path' => 'Parameter.part', 'min' => 0, 'max' => Float::INFINITY } } class Binding < FHIR::DSTU2::Model @@ -85,12 +85,12 @@ class Binding < FHIR::DSTU2::Model 'valueSet' => ['uri', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Binding.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Binding.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Binding.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'strength' => {'valid_codes'=>{'http://hl7.org/fhir/binding-strength'=>['required', 'extensible', 'preferred', 'example']}, 'type'=>'code', 'path'=>'Binding.strength', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/binding-strength'}}, - 'valueSetUri' => {'type'=>'uri', 'path'=>'Binding.valueSet[x]', 'min'=>1, 'max'=>1}, - 'valueSetReference' => {'type'=>'Reference', 'path'=>'Binding.valueSet[x]', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Binding.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Binding.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Binding.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'strength' => { 'valid_codes' => { 'http://hl7.org/fhir/binding-strength' => ['required', 'extensible', 'preferred', 'example'] }, 'type' => 'code', 'path' => 'Binding.strength', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/binding-strength' } }, + 'valueSetUri' => { 'type' => 'uri', 'path' => 'Binding.valueSet[x]', 'min' => 1, 'max' => 1 }, + 'valueSetReference' => { 'type' => 'Reference', 'path' => 'Binding.valueSet[x]', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb b/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb index 6a839bf1..cb6fe7c4 100644 --- a/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb +++ b/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb @@ -7,15 +7,15 @@ class OperationOutcome < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'OperationOutcome.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'OperationOutcome.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'OperationOutcome.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'OperationOutcome.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'OperationOutcome.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'OperationOutcome.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'OperationOutcome.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'OperationOutcome.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'issue' => {'type'=>'OperationOutcome::Issue', 'path'=>'OperationOutcome.issue', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'OperationOutcome.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'OperationOutcome.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'OperationOutcome.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'OperationOutcome.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'OperationOutcome.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'OperationOutcome.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'OperationOutcome.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'OperationOutcome.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'issue' => { 'type' => 'OperationOutcome::Issue', 'path' => 'OperationOutcome.issue', 'min' => 1, 'max' => Float::INFINITY } } class Issue < FHIR::DSTU2::Model @@ -24,14 +24,14 @@ class Issue < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Issue.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Issue.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Issue.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'severity' => {'valid_codes'=>{'http://hl7.org/fhir/issue-severity'=>['fatal', 'error', 'warning', 'information']}, 'type'=>'code', 'path'=>'Issue.severity', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/issue-severity'}}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/issue-type'=>['invalid', 'structure', 'required', 'value', 'invariant', 'security', 'login', 'unknown', 'expired', 'forbidden', 'suppressed', 'processing', 'not-supported', 'duplicate', 'not-found', 'too-long', 'code-invalid', 'extension', 'too-costly', 'business-rule', 'conflict', 'incomplete', 'transient', 'lock-error', 'no-store', 'exception', 'timeout', 'throttled', 'informational']}, 'type'=>'code', 'path'=>'Issue.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/issue-type'}}, - 'details' => {'valid_codes'=>{'http://hl7.org/fhir/operation-outcome'=>['MSG_AUTH_REQUIRED', 'MSG_BAD_FORMAT', 'MSG_BAD_SYNTAX', 'MSG_CANT_PARSE_CONTENT', 'MSG_CANT_PARSE_ROOT', 'MSG_CREATED', 'MSG_DATE_FORMAT', 'MSG_DELETED', 'MSG_DELETED_DONE', 'MSG_DELETED_ID', 'MSG_DUPLICATE_ID', 'MSG_ERROR_PARSING', 'MSG_ID_INVALID', 'MSG_ID_TOO_LONG', 'MSG_INVALID_ID', 'MSG_JSON_OBJECT', 'MSG_LOCAL_FAIL', 'MSG_NO_MATCH', 'MSG_NO_EXIST', 'MSG_NO_MODULE', 'MSG_NO_SUMMARY', 'MSG_OP_NOT_ALLOWED', 'MSG_PARAM_CHAINED', 'MSG_PARAM_NO_REPEAT', 'MSG_PARAM_UNKNOWN', 'MSG_PARAM_INVALID', 'MSG_PARAM_MODIFIER_INVALID', 'MSG_RESOURCE_EXAMPLE_PROTECTED', 'MSG_RESOURCE_ID_FAIL', 'MSG_RESOURCE_NOT_ALLOWED', 'MSG_RESOURCE_REQUIRED', 'MSG_RESOURCE_ID_MISMATCH', 'MSG_RESOURCE_ID_MISSING', 'MSG_RESOURCE_TYPE_MISMATCH', 'MSG_SORT_UNKNOWN', 'MSG_TRANSACTION_DUPLICATE_ID', 'MSG_TRANSACTION_MISSING_ID', 'MSG_UNHANDLED_NODE_TYPE', 'MSG_UNKNOWN_CONTENT', 'MSG_UNKNOWN_OPERATION', 'MSG_UNKNOWN_TYPE', 'MSG_UPDATED', 'MSG_VERSION_AWARE', 'MSG_VERSION_AWARE_CONFLICT', 'MSG_VERSION_AWARE_URL', 'MSG_WRONG_NS', 'SEARCH_MULTIPLE', 'UPDATE_MULTIPLE_MATCHES', 'SEARCH_NONE']}, 'type'=>'CodeableConcept', 'path'=>'Issue.details', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/operation-outcome'}}, - 'diagnostics' => {'type'=>'string', 'path'=>'Issue.diagnostics', 'min'=>0, 'max'=>1}, - 'location' => {'type'=>'string', 'path'=>'Issue.location', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Issue.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Issue.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Issue.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'severity' => { 'valid_codes' => { 'http://hl7.org/fhir/issue-severity' => ['fatal', 'error', 'warning', 'information'] }, 'type' => 'code', 'path' => 'Issue.severity', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/issue-severity' } }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/issue-type' => ['invalid', 'structure', 'required', 'value', 'invariant', 'security', 'login', 'unknown', 'expired', 'forbidden', 'suppressed', 'processing', 'not-supported', 'duplicate', 'not-found', 'too-long', 'code-invalid', 'extension', 'too-costly', 'business-rule', 'conflict', 'incomplete', 'transient', 'lock-error', 'no-store', 'exception', 'timeout', 'throttled', 'informational'] }, 'type' => 'code', 'path' => 'Issue.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/issue-type' } }, + 'details' => { 'valid_codes' => { 'http://hl7.org/fhir/operation-outcome' => ['MSG_AUTH_REQUIRED', 'MSG_BAD_FORMAT', 'MSG_BAD_SYNTAX', 'MSG_CANT_PARSE_CONTENT', 'MSG_CANT_PARSE_ROOT', 'MSG_CREATED', 'MSG_DATE_FORMAT', 'MSG_DELETED', 'MSG_DELETED_DONE', 'MSG_DELETED_ID', 'MSG_DUPLICATE_ID', 'MSG_ERROR_PARSING', 'MSG_ID_INVALID', 'MSG_ID_TOO_LONG', 'MSG_INVALID_ID', 'MSG_JSON_OBJECT', 'MSG_LOCAL_FAIL', 'MSG_NO_MATCH', 'MSG_NO_EXIST', 'MSG_NO_MODULE', 'MSG_NO_SUMMARY', 'MSG_OP_NOT_ALLOWED', 'MSG_PARAM_CHAINED', 'MSG_PARAM_NO_REPEAT', 'MSG_PARAM_UNKNOWN', 'MSG_PARAM_INVALID', 'MSG_PARAM_MODIFIER_INVALID', 'MSG_RESOURCE_EXAMPLE_PROTECTED', 'MSG_RESOURCE_ID_FAIL', 'MSG_RESOURCE_NOT_ALLOWED', 'MSG_RESOURCE_REQUIRED', 'MSG_RESOURCE_ID_MISMATCH', 'MSG_RESOURCE_ID_MISSING', 'MSG_RESOURCE_TYPE_MISMATCH', 'MSG_SORT_UNKNOWN', 'MSG_TRANSACTION_DUPLICATE_ID', 'MSG_TRANSACTION_MISSING_ID', 'MSG_UNHANDLED_NODE_TYPE', 'MSG_UNKNOWN_CONTENT', 'MSG_UNKNOWN_OPERATION', 'MSG_UNKNOWN_TYPE', 'MSG_UPDATED', 'MSG_VERSION_AWARE', 'MSG_VERSION_AWARE_CONFLICT', 'MSG_VERSION_AWARE_URL', 'MSG_WRONG_NS', 'SEARCH_MULTIPLE', 'UPDATE_MULTIPLE_MATCHES', 'SEARCH_NONE'] }, 'type' => 'CodeableConcept', 'path' => 'Issue.details', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/operation-outcome' } }, + 'diagnostics' => { 'type' => 'string', 'path' => 'Issue.diagnostics', 'min' => 0, 'max' => 1 }, + 'location' => { 'type' => 'string', 'path' => 'Issue.location', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Order.rb b/lib/fhir_dstu2_models/fhir/resources/Order.rb index 056a6260..1015d894 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Order.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Order.rb @@ -10,23 +10,23 @@ class Order < FHIR::DSTU2::Model } SEARCH_PARAMS = ['code', 'date', 'fulfillment', 'identifier', 'request', 'who', 'date', 'detail', 'identifier', 'patient', 'source', 'subject', 'target', 'when', 'when_code', 'additive', 'datetime', 'encounter', 'formula', 'identifier', 'oraldiet', 'patient', 'provider', 'status', 'supplement', 'code', 'datewritten', 'encounter', 'identifier', 'medication', 'patient', 'prescriber', 'status', 'actor', 'bodysite', 'code', 'encounter', 'event-date', 'event-status', 'identifier', 'item-date', 'item-past-status', 'item-status', 'orderer', 'patient', 'specimen', 'status', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Order.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Order.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Order.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Order.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Order.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Order.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Order.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Order.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Order.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'Order.date', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'Order.subject', 'min'=>0, 'max'=>1}, - 'source' => {'type'=>'Reference', 'path'=>'Order.source', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'Reference', 'path'=>'Order.target', 'min'=>0, 'max'=>1}, - 'reasonCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Order.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'reasonReference' => {'type'=>'Reference', 'path'=>'Order.reason[x]', 'min'=>0, 'max'=>1}, - 'when' => {'type'=>'Order::When', 'path'=>'Order.when', 'min'=>0, 'max'=>1}, - 'detail' => {'type'=>'Reference', 'path'=>'Order.detail', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Order.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Order.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Order.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Order.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Order.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Order.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Order.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Order.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Order.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'Order.date', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'Order.subject', 'min' => 0, 'max' => 1 }, + 'source' => { 'type' => 'Reference', 'path' => 'Order.source', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'Reference', 'path' => 'Order.target', 'min' => 0, 'max' => 1 }, + 'reasonCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Order.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'reasonReference' => { 'type' => 'Reference', 'path' => 'Order.reason[x]', 'min' => 0, 'max' => 1 }, + 'when' => { 'type' => 'Order::When', 'path' => 'Order.when', 'min' => 0, 'max' => 1 }, + 'detail' => { 'type' => 'Reference', 'path' => 'Order.detail', 'min' => 1, 'max' => Float::INFINITY } } class When < FHIR::DSTU2::Model @@ -35,11 +35,11 @@ class When < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'When.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'When.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'When.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'type'=>'CodeableConcept', 'path'=>'When.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'schedule' => {'type'=>'Timing', 'path'=>'When.schedule', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'When.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'When.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'When.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'type' => 'CodeableConcept', 'path' => 'When.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'schedule' => { 'type' => 'Timing', 'path' => 'When.schedule', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb b/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb index b914e6e9..38f44725 100644 --- a/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb @@ -7,21 +7,21 @@ class OrderResponse < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'date', 'fulfillment', 'identifier', 'request', 'who'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'OrderResponse.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'OrderResponse.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'OrderResponse.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'OrderResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'OrderResponse.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'OrderResponse.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'OrderResponse.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'OrderResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'OrderResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'request' => {'type'=>'Reference', 'path'=>'OrderResponse.request', 'min'=>1, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'OrderResponse.date', 'min'=>0, 'max'=>1}, - 'who' => {'type'=>'Reference', 'path'=>'OrderResponse.who', 'min'=>0, 'max'=>1}, - 'orderStatus' => {'valid_codes'=>{'http://hl7.org/fhir/order-status'=>['pending', 'review', 'rejected', 'error', 'accepted', 'cancelled', 'replaced', 'aborted', 'completed']}, 'type'=>'code', 'path'=>'OrderResponse.orderStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/order-status'}}, - 'description' => {'type'=>'string', 'path'=>'OrderResponse.description', 'min'=>0, 'max'=>1}, - 'fulfillment' => {'type'=>'Reference', 'path'=>'OrderResponse.fulfillment', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'OrderResponse.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'OrderResponse.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'OrderResponse.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'OrderResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'OrderResponse.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'OrderResponse.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'OrderResponse.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'OrderResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'OrderResponse.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'request' => { 'type' => 'Reference', 'path' => 'OrderResponse.request', 'min' => 1, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'OrderResponse.date', 'min' => 0, 'max' => 1 }, + 'who' => { 'type' => 'Reference', 'path' => 'OrderResponse.who', 'min' => 0, 'max' => 1 }, + 'orderStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/order-status' => ['pending', 'review', 'rejected', 'error', 'accepted', 'cancelled', 'replaced', 'aborted', 'completed'] }, 'type' => 'code', 'path' => 'OrderResponse.orderStatus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/order-status' } }, + 'description' => { 'type' => 'string', 'path' => 'OrderResponse.description', 'min' => 0, 'max' => 1 }, + 'fulfillment' => { 'type' => 'Reference', 'path' => 'OrderResponse.fulfillment', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Organization.rb b/lib/fhir_dstu2_models/fhir/resources/Organization.rb index cc13283e..cd9d7589 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Organization.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Organization.rb @@ -7,22 +7,22 @@ class Organization < FHIR::DSTU2::Model SEARCH_PARAMS = ['active', 'address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'identifier', 'name', 'partof', 'phonetic', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Organization.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Organization.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Organization.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Organization.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Organization.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Organization.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Organization.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Organization.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Organization.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'active' => {'type'=>'boolean', 'path'=>'Organization.active', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/organization-type'=>['prov', 'dept', 'team', 'govt', 'ins', 'edu', 'reli', 'crs', 'cg', 'bus', 'other']}, 'type'=>'CodeableConcept', 'path'=>'Organization.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/organization-type'}}, - 'name' => {'type'=>'string', 'path'=>'Organization.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Organization.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'address' => {'type'=>'Address', 'path'=>'Organization.address', 'min'=>0, 'max'=>Float::INFINITY}, - 'partOf' => {'type'=>'Reference', 'path'=>'Organization.partOf', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'Organization::Contact', 'path'=>'Organization.contact', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Organization.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Organization.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Organization.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Organization.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Organization.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Organization.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Organization.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Organization.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Organization.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'active' => { 'type' => 'boolean', 'path' => 'Organization.active', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/organization-type' => ['prov', 'dept', 'team', 'govt', 'ins', 'edu', 'reli', 'crs', 'cg', 'bus', 'other'] }, 'type' => 'CodeableConcept', 'path' => 'Organization.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/organization-type' } }, + 'name' => { 'type' => 'string', 'path' => 'Organization.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Organization.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'address' => { 'type' => 'Address', 'path' => 'Organization.address', 'min' => 0, 'max' => Float::INFINITY }, + 'partOf' => { 'type' => 'Reference', 'path' => 'Organization.partOf', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'Organization::Contact', 'path' => 'Organization.contact', 'min' => 0, 'max' => Float::INFINITY } } class Contact < FHIR::DSTU2::Model @@ -31,13 +31,13 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'purpose' => {'valid_codes'=>{'http://hl7.org/fhir/contactentity-type'=>['BILL', 'ADMIN', 'HR', 'PAYOR', 'PATINF', 'PRESS']}, 'type'=>'CodeableConcept', 'path'=>'Contact.purpose', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/contactentity-type'}}, - 'name' => {'type'=>'HumanName', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'address' => {'type'=>'Address', 'path'=>'Contact.address', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'purpose' => { 'valid_codes' => { 'http://hl7.org/fhir/contactentity-type' => ['BILL', 'ADMIN', 'HR', 'PAYOR', 'PATINF', 'PRESS'] }, 'type' => 'CodeableConcept', 'path' => 'Contact.purpose', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/contactentity-type' } }, + 'name' => { 'type' => 'HumanName', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'address' => { 'type' => 'Address', 'path' => 'Contact.address', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Parameters.rb b/lib/fhir_dstu2_models/fhir/resources/Parameters.rb index 0df7aedf..1a5a808b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Parameters.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Parameters.rb @@ -7,11 +7,11 @@ class Parameters < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Parameters.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Parameters.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Parameters.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Parameters.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'parameter' => {'type'=>'Parameters::Parameter', 'path'=>'Parameters.parameter', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Parameters.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Parameters.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Parameters.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Parameters.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'parameter' => { 'type' => 'Parameters::Parameter', 'path' => 'Parameters.parameter', 'min' => 0, 'max' => Float::INFINITY } } class Parameter < FHIR::DSTU2::Model @@ -23,45 +23,45 @@ class Parameter < FHIR::DSTU2::Model 'value' => ['boolean', 'integer', 'decimal', 'base64Binary', 'instant', 'string', 'uri', 'date', 'dateTime', 'time', 'code', 'oid', 'id', 'unsignedInt', 'positiveInt', 'markdown', 'Annotation', 'Attachment', 'Identifier', 'CodeableConcept', 'Coding', 'Quantity', 'Range', 'Period', 'Ratio', 'SampledData', 'Signature', 'HumanName', 'Address', 'ContactPoint', 'Timing', 'Reference', 'Meta'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Parameter.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Parameter.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Parameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Parameter.name', 'min'=>1, 'max'=>1}, - 'valueBoolean' => {'type'=>'boolean', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueInteger' => {'type'=>'integer', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueDecimal' => {'type'=>'decimal', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueBase64Binary' => {'type'=>'base64Binary', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueInstant' => {'type'=>'instant', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueString' => {'type'=>'string', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueUri' => {'type'=>'uri', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueDate' => {'type'=>'date', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueTime' => {'type'=>'time', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueCode' => {'type'=>'code', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueOid' => {'type'=>'oid', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueId' => {'type'=>'id', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valuePositiveInt' => {'type'=>'positiveInt', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueMarkdown' => {'type'=>'markdown', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueAnnotation' => {'type'=>'Annotation', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueIdentifier' => {'type'=>'Identifier', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueCoding' => {'type'=>'Coding', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueRange' => {'type'=>'Range', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valuePeriod' => {'type'=>'Period', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueRatio' => {'type'=>'Ratio', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueSampledData' => {'type'=>'SampledData', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueSignature' => {'type'=>'Signature', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueHumanName' => {'type'=>'HumanName', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueAddress' => {'type'=>'Address', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueContactPoint' => {'type'=>'ContactPoint', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueTiming' => {'type'=>'Timing', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueReference' => {'type'=>'Reference', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueMeta' => {'type'=>'Meta', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'resource' => {'type'=>'Resource', 'path'=>'Parameter.resource', 'min'=>0, 'max'=>1}, - 'part' => {'type'=>'Parameters::Parameter', 'path'=>'Parameter.part', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Parameter.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Parameter.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Parameter.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Parameter.name', 'min' => 1, 'max' => 1 }, + 'valueBoolean' => { 'type' => 'boolean', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueInteger' => { 'type' => 'integer', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDecimal' => { 'type' => 'decimal', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueBase64Binary' => { 'type' => 'base64Binary', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueInstant' => { 'type' => 'instant', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueString' => { 'type' => 'string', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueUri' => { 'type' => 'uri', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDate' => { 'type' => 'date', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDateTime' => { 'type' => 'dateTime', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueTime' => { 'type' => 'time', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCode' => { 'type' => 'code', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueOid' => { 'type' => 'oid', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueId' => { 'type' => 'id', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valuePositiveInt' => { 'type' => 'positiveInt', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueMarkdown' => { 'type' => 'markdown', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAnnotation' => { 'type' => 'Annotation', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAttachment' => { 'type' => 'Attachment', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueIdentifier' => { 'type' => 'Identifier', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCoding' => { 'type' => 'Coding', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueQuantity' => { 'type' => 'Quantity', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRange' => { 'type' => 'Range', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valuePeriod' => { 'type' => 'Period', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRatio' => { 'type' => 'Ratio', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueSampledData' => { 'type' => 'SampledData', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueSignature' => { 'type' => 'Signature', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueHumanName' => { 'type' => 'HumanName', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAddress' => { 'type' => 'Address', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueContactPoint' => { 'type' => 'ContactPoint', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueTiming' => { 'type' => 'Timing', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueReference' => { 'type' => 'Reference', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueMeta' => { 'type' => 'Meta', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'resource' => { 'type' => 'Resource', 'path' => 'Parameter.resource', 'min' => 0, 'max' => 1 }, + 'part' => { 'type' => 'Parameters::Parameter', 'path' => 'Parameter.part', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Patient.rb b/lib/fhir_dstu2_models/fhir/resources/Patient.rb index a3c9d0a2..7016697f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Patient.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Patient.rb @@ -11,33 +11,33 @@ class Patient < FHIR::DSTU2::Model } SEARCH_PARAMS = ['active', 'address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'animal-breed', 'animal-species', 'birthdate', 'careprovider', 'deathdate', 'deceased', 'email', 'family', 'gender', 'given', 'identifier', 'language', 'link', 'name', 'organization', 'phone', 'phonetic', 'telecom'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Patient.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Patient.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Patient.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Patient.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Patient.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Patient.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Patient.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Patient.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Patient.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'active' => {'type'=>'boolean', 'path'=>'Patient.active', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'HumanName', 'path'=>'Patient.name', 'min'=>0, 'max'=>Float::INFINITY}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Patient.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'Patient.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}}, - 'birthDate' => {'type'=>'date', 'path'=>'Patient.birthDate', 'min'=>0, 'max'=>1}, - 'deceasedBoolean' => {'type'=>'boolean', 'path'=>'Patient.deceased[x]', 'min'=>0, 'max'=>1}, - 'deceasedDateTime' => {'type'=>'dateTime', 'path'=>'Patient.deceased[x]', 'min'=>0, 'max'=>1}, - 'address' => {'type'=>'Address', 'path'=>'Patient.address', 'min'=>0, 'max'=>Float::INFINITY}, - 'maritalStatus' => {'valid_codes'=>{'http://hl7.org/fhir/marital-status'=>['U'], 'http://hl7.org/fhir/v3/MaritalStatus'=>['A', 'D', 'I', 'L', 'M', 'P', 'S', 'T', 'U', 'W'], 'http://hl7.org/fhir/v3/NullFlavor'=>['NI', 'INV', 'DER', 'OTH', 'NINF', 'PINF', 'UNC', 'MSK', 'NA', 'UNK', 'ASKU', 'NAV', 'NASK', 'QS', 'TRC', 'NP']}, 'type'=>'CodeableConcept', 'path'=>'Patient.maritalStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/marital-status'}}, - 'multipleBirthBoolean' => {'type'=>'boolean', 'path'=>'Patient.multipleBirth[x]', 'min'=>0, 'max'=>1}, - 'multipleBirthInteger' => {'type'=>'integer', 'path'=>'Patient.multipleBirth[x]', 'min'=>0, 'max'=>1}, - 'photo' => {'type'=>'Attachment', 'path'=>'Patient.photo', 'min'=>0, 'max'=>Float::INFINITY}, - 'contact' => {'type'=>'Patient::Contact', 'path'=>'Patient.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'animal' => {'type'=>'Patient::Animal', 'path'=>'Patient.animal', 'min'=>0, 'max'=>1}, - 'communication' => {'type'=>'Patient::Communication', 'path'=>'Patient.communication', 'min'=>0, 'max'=>Float::INFINITY}, - 'careProvider' => {'type'=>'Reference', 'path'=>'Patient.careProvider', 'min'=>0, 'max'=>Float::INFINITY}, - 'managingOrganization' => {'type'=>'Reference', 'path'=>'Patient.managingOrganization', 'min'=>0, 'max'=>1}, - 'link' => {'type'=>'Patient::Link', 'path'=>'Patient.link', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Patient.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Patient.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Patient.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Patient.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Patient.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Patient.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Patient.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Patient.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Patient.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'active' => { 'type' => 'boolean', 'path' => 'Patient.active', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'HumanName', 'path' => 'Patient.name', 'min' => 0, 'max' => Float::INFINITY }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Patient.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'gender' => { 'valid_codes' => { 'http://hl7.org/fhir/administrative-gender' => ['male', 'female', 'other', 'unknown'] }, 'type' => 'code', 'path' => 'Patient.gender', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/administrative-gender' } }, + 'birthDate' => { 'type' => 'date', 'path' => 'Patient.birthDate', 'min' => 0, 'max' => 1 }, + 'deceasedBoolean' => { 'type' => 'boolean', 'path' => 'Patient.deceased[x]', 'min' => 0, 'max' => 1 }, + 'deceasedDateTime' => { 'type' => 'dateTime', 'path' => 'Patient.deceased[x]', 'min' => 0, 'max' => 1 }, + 'address' => { 'type' => 'Address', 'path' => 'Patient.address', 'min' => 0, 'max' => Float::INFINITY }, + 'maritalStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/marital-status' => ['U'], 'http://hl7.org/fhir/v3/MaritalStatus' => ['A', 'D', 'I', 'L', 'M', 'P', 'S', 'T', 'U', 'W'], 'http://hl7.org/fhir/v3/NullFlavor' => ['NI', 'INV', 'DER', 'OTH', 'NINF', 'PINF', 'UNC', 'MSK', 'NA', 'UNK', 'ASKU', 'NAV', 'NASK', 'QS', 'TRC', 'NP'] }, 'type' => 'CodeableConcept', 'path' => 'Patient.maritalStatus', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/marital-status' } }, + 'multipleBirthBoolean' => { 'type' => 'boolean', 'path' => 'Patient.multipleBirth[x]', 'min' => 0, 'max' => 1 }, + 'multipleBirthInteger' => { 'type' => 'integer', 'path' => 'Patient.multipleBirth[x]', 'min' => 0, 'max' => 1 }, + 'photo' => { 'type' => 'Attachment', 'path' => 'Patient.photo', 'min' => 0, 'max' => Float::INFINITY }, + 'contact' => { 'type' => 'Patient::Contact', 'path' => 'Patient.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'animal' => { 'type' => 'Patient::Animal', 'path' => 'Patient.animal', 'min' => 0, 'max' => 1 }, + 'communication' => { 'type' => 'Patient::Communication', 'path' => 'Patient.communication', 'min' => 0, 'max' => Float::INFINITY }, + 'careProvider' => { 'type' => 'Reference', 'path' => 'Patient.careProvider', 'min' => 0, 'max' => Float::INFINITY }, + 'managingOrganization' => { 'type' => 'Reference', 'path' => 'Patient.managingOrganization', 'min' => 0, 'max' => 1 }, + 'link' => { 'type' => 'Patient::Link', 'path' => 'Patient.link', 'min' => 0, 'max' => Float::INFINITY } } class Contact < FHIR::DSTU2::Model @@ -46,16 +46,16 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/patient-contact-relationship'=>['emergency', 'family', 'guardian', 'friend', 'partner', 'work', 'caregiver', 'agent', 'guarantor', 'owner', 'parent']}, 'type'=>'CodeableConcept', 'path'=>'Contact.relationship', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/patient-contact-relationship'}}, - 'name' => {'type'=>'HumanName', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'address' => {'type'=>'Address', 'path'=>'Contact.address', 'min'=>0, 'max'=>1}, - 'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'Contact.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}}, - 'organization' => {'type'=>'Reference', 'path'=>'Contact.organization', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Contact.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'relationship' => { 'valid_codes' => { 'http://hl7.org/fhir/patient-contact-relationship' => ['emergency', 'family', 'guardian', 'friend', 'partner', 'work', 'caregiver', 'agent', 'guarantor', 'owner', 'parent'] }, 'type' => 'CodeableConcept', 'path' => 'Contact.relationship', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/patient-contact-relationship' } }, + 'name' => { 'type' => 'HumanName', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'address' => { 'type' => 'Address', 'path' => 'Contact.address', 'min' => 0, 'max' => 1 }, + 'gender' => { 'valid_codes' => { 'http://hl7.org/fhir/administrative-gender' => ['male', 'female', 'other', 'unknown'] }, 'type' => 'code', 'path' => 'Contact.gender', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/administrative-gender' } }, + 'organization' => { 'type' => 'Reference', 'path' => 'Contact.organization', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'Contact.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -76,12 +76,12 @@ class Animal < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Animal.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Animal.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Animal.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'species' => {'valid_codes'=>{'http://hl7.org/fhir/animal-species'=>['canislf', 'ovisa', 'serinuscd']}, 'type'=>'CodeableConcept', 'path'=>'Animal.species', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/animal-species'}}, - 'breed' => {'valid_codes'=>{'http://hl7.org/fhir/animal-breed'=>['gsd', 'irt', 'tibmas', 'gret']}, 'type'=>'CodeableConcept', 'path'=>'Animal.breed', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/animal-breeds'}}, - 'genderStatus' => {'valid_codes'=>{'http://hl7.org/fhir/animal-genderstatus'=>['neutered', 'intact', 'unknown']}, 'type'=>'CodeableConcept', 'path'=>'Animal.genderStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/animal-genderstatus'}} + 'id' => { 'type' => 'id', 'path' => 'Animal.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Animal.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Animal.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'species' => { 'valid_codes' => { 'http://hl7.org/fhir/animal-species' => ['canislf', 'ovisa', 'serinuscd'] }, 'type' => 'CodeableConcept', 'path' => 'Animal.species', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/animal-species' } }, + 'breed' => { 'valid_codes' => { 'http://hl7.org/fhir/animal-breed' => ['gsd', 'irt', 'tibmas', 'gret'] }, 'type' => 'CodeableConcept', 'path' => 'Animal.breed', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/animal-breeds' } }, + 'genderStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/animal-genderstatus' => ['neutered', 'intact', 'unknown'] }, 'type' => 'CodeableConcept', 'path' => 'Animal.genderStatus', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/animal-genderstatus' } } } attr_accessor :id # 0-1 id @@ -98,11 +98,11 @@ class Communication < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Communication.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Communication.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Communication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'language' => {'type'=>'CodeableConcept', 'path'=>'Communication.language', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'preferred' => {'type'=>'boolean', 'path'=>'Communication.preferred', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Communication.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Communication.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Communication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'language' => { 'type' => 'CodeableConcept', 'path' => 'Communication.language', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'preferred' => { 'type' => 'boolean', 'path' => 'Communication.preferred', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -118,11 +118,11 @@ class Link < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Link.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Link.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Link.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'other' => {'type'=>'Reference', 'path'=>'Link.other', 'min'=>1, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/link-type'=>['replace', 'refer', 'seealso']}, 'type'=>'code', 'path'=>'Link.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/link-type'}} + 'id' => { 'type' => 'id', 'path' => 'Link.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Link.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Link.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'other' => { 'type' => 'Reference', 'path' => 'Link.other', 'min' => 1, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/link-type' => ['replace', 'refer', 'seealso'] }, 'type' => 'code', 'path' => 'Link.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/link-type' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb b/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb index 6d1104e0..c0c8d07a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb +++ b/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb @@ -7,24 +7,24 @@ class PaymentNotice < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'PaymentNotice.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'PaymentNotice.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'PaymentNotice.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'PaymentNotice.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'PaymentNotice.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'PaymentNotice.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'PaymentNotice.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'PaymentNotice.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'PaymentNotice.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'PaymentNotice.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'PaymentNotice.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'PaymentNotice.created', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'Reference', 'path'=>'PaymentNotice.target', 'min'=>0, 'max'=>1}, - 'provider' => {'type'=>'Reference', 'path'=>'PaymentNotice.provider', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'PaymentNotice.organization', 'min'=>0, 'max'=>1}, - 'request' => {'type'=>'Reference', 'path'=>'PaymentNotice.request', 'min'=>0, 'max'=>1}, - 'response' => {'type'=>'Reference', 'path'=>'PaymentNotice.response', 'min'=>0, 'max'=>1}, - 'paymentStatus' => {'valid_codes'=>{'http://hl7.org/fhir/paymentstatus'=>['paid', 'cleared']}, 'type'=>'Coding', 'path'=>'PaymentNotice.paymentStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-status'}} + 'id' => { 'type' => 'id', 'path' => 'PaymentNotice.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'PaymentNotice.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'PaymentNotice.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'PaymentNotice.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'PaymentNotice.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'PaymentNotice.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'PaymentNotice.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'PaymentNotice.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'PaymentNotice.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'PaymentNotice.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'PaymentNotice.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'PaymentNotice.created', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'Reference', 'path' => 'PaymentNotice.target', 'min' => 0, 'max' => 1 }, + 'provider' => { 'type' => 'Reference', 'path' => 'PaymentNotice.provider', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'PaymentNotice.organization', 'min' => 0, 'max' => 1 }, + 'request' => { 'type' => 'Reference', 'path' => 'PaymentNotice.request', 'min' => 0, 'max' => 1 }, + 'response' => { 'type' => 'Reference', 'path' => 'PaymentNotice.response', 'min' => 0, 'max' => 1 }, + 'paymentStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/paymentstatus' => ['paid', 'cleared'] }, 'type' => 'Coding', 'path' => 'PaymentNotice.paymentStatus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/payment-status' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb b/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb index 0f765dba..c19b78f6 100644 --- a/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb +++ b/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb @@ -7,29 +7,29 @@ class PaymentReconciliation < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'PaymentReconciliation.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'PaymentReconciliation.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'PaymentReconciliation.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'PaymentReconciliation.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'PaymentReconciliation.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'PaymentReconciliation.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'PaymentReconciliation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'PaymentReconciliation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'PaymentReconciliation.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'request' => {'type'=>'Reference', 'path'=>'PaymentReconciliation.request', 'min'=>0, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['complete', 'error']}, 'type'=>'code', 'path'=>'PaymentReconciliation.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome'}}, - 'disposition' => {'type'=>'string', 'path'=>'PaymentReconciliation.disposition', 'min'=>0, 'max'=>1}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'PaymentReconciliation.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'PaymentReconciliation.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'PaymentReconciliation.created', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'PaymentReconciliation.period', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'PaymentReconciliation.organization', 'min'=>0, 'max'=>1}, - 'requestProvider' => {'type'=>'Reference', 'path'=>'PaymentReconciliation.requestProvider', 'min'=>0, 'max'=>1}, - 'requestOrganization' => {'type'=>'Reference', 'path'=>'PaymentReconciliation.requestOrganization', 'min'=>0, 'max'=>1}, - 'detail' => {'type'=>'PaymentReconciliation::Detail', 'path'=>'PaymentReconciliation.detail', 'min'=>0, 'max'=>Float::INFINITY}, - 'form' => {'valid_codes'=>{'http://hl7.org/fhir/forms-codes'=>['1', '2']}, 'type'=>'Coding', 'path'=>'PaymentReconciliation.form', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/forms'}}, - 'total' => {'type'=>'Quantity', 'path'=>'PaymentReconciliation.total', 'min'=>1, 'max'=>1}, - 'note' => {'type'=>'PaymentReconciliation::Note', 'path'=>'PaymentReconciliation.note', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'PaymentReconciliation.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'PaymentReconciliation.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'PaymentReconciliation.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'PaymentReconciliation.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'PaymentReconciliation.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'PaymentReconciliation.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'PaymentReconciliation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'PaymentReconciliation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'PaymentReconciliation.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'request' => { 'type' => 'Reference', 'path' => 'PaymentReconciliation.request', 'min' => 0, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/remittance-outcome' => ['complete', 'error'] }, 'type' => 'code', 'path' => 'PaymentReconciliation.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/remittance-outcome' } }, + 'disposition' => { 'type' => 'string', 'path' => 'PaymentReconciliation.disposition', 'min' => 0, 'max' => 1 }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'PaymentReconciliation.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'PaymentReconciliation.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'PaymentReconciliation.created', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'PaymentReconciliation.period', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'PaymentReconciliation.organization', 'min' => 0, 'max' => 1 }, + 'requestProvider' => { 'type' => 'Reference', 'path' => 'PaymentReconciliation.requestProvider', 'min' => 0, 'max' => 1 }, + 'requestOrganization' => { 'type' => 'Reference', 'path' => 'PaymentReconciliation.requestOrganization', 'min' => 0, 'max' => 1 }, + 'detail' => { 'type' => 'PaymentReconciliation::Detail', 'path' => 'PaymentReconciliation.detail', 'min' => 0, 'max' => Float::INFINITY }, + 'form' => { 'valid_codes' => { 'http://hl7.org/fhir/forms-codes' => ['1', '2'] }, 'type' => 'Coding', 'path' => 'PaymentReconciliation.form', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/forms' } }, + 'total' => { 'type' => 'Quantity', 'path' => 'PaymentReconciliation.total', 'min' => 1, 'max' => 1 }, + 'note' => { 'type' => 'PaymentReconciliation::Note', 'path' => 'PaymentReconciliation.note', 'min' => 0, 'max' => Float::INFINITY } } class Detail < FHIR::DSTU2::Model @@ -38,16 +38,16 @@ class Detail < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/payment-type'=>['payment', 'adjustment', 'advance']}, 'type'=>'Coding', 'path'=>'Detail.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-type'}}, - 'request' => {'type'=>'Reference', 'path'=>'Detail.request', 'min'=>0, 'max'=>1}, - 'responce' => {'type'=>'Reference', 'path'=>'Detail.responce', 'min'=>0, 'max'=>1}, - 'submitter' => {'type'=>'Reference', 'path'=>'Detail.submitter', 'min'=>0, 'max'=>1}, - 'payee' => {'type'=>'Reference', 'path'=>'Detail.payee', 'min'=>0, 'max'=>1}, - 'date' => {'type'=>'date', 'path'=>'Detail.date', 'min'=>0, 'max'=>1}, - 'amount' => {'type'=>'Quantity', 'path'=>'Detail.amount', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Detail.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Detail.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Detail.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/payment-type' => ['payment', 'adjustment', 'advance'] }, 'type' => 'Coding', 'path' => 'Detail.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/payment-type' } }, + 'request' => { 'type' => 'Reference', 'path' => 'Detail.request', 'min' => 0, 'max' => 1 }, + 'responce' => { 'type' => 'Reference', 'path' => 'Detail.responce', 'min' => 0, 'max' => 1 }, + 'submitter' => { 'type' => 'Reference', 'path' => 'Detail.submitter', 'min' => 0, 'max' => 1 }, + 'payee' => { 'type' => 'Reference', 'path' => 'Detail.payee', 'min' => 0, 'max' => 1 }, + 'date' => { 'type' => 'date', 'path' => 'Detail.date', 'min' => 0, 'max' => 1 }, + 'amount' => { 'type' => 'Quantity', 'path' => 'Detail.amount', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -68,11 +68,11 @@ class Note < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Note.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Note.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Note.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/note-type'=>['display', 'print', 'printoper']}, 'type'=>'Coding', 'path'=>'Note.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/note-type'}}, - 'text' => {'type'=>'string', 'path'=>'Note.text', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Note.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Note.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Note.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/note-type' => ['display', 'print', 'printoper'] }, 'type' => 'Coding', 'path' => 'Note.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/note-type' } }, + 'text' => { 'type' => 'string', 'path' => 'Note.text', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Person.rb b/lib/fhir_dstu2_models/fhir/resources/Person.rb index e76441cc..1e358d5b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Person.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Person.rb @@ -7,24 +7,24 @@ class Person < FHIR::DSTU2::Model SEARCH_PARAMS = ['address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'birthdate', 'email', 'gender', 'identifier', 'name', 'patient', 'phone', 'phonetic', 'telecom', 'address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'birthdate', 'email', 'gender', 'identifier', 'link', 'name', 'organization', 'patient', 'phone', 'phonetic', 'practitioner', 'relatedperson', 'telecom'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Person.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Person.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Person.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Person.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Person.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Person.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Person.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Person.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Person.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'HumanName', 'path'=>'Person.name', 'min'=>0, 'max'=>Float::INFINITY}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Person.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'Person.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}}, - 'birthDate' => {'type'=>'date', 'path'=>'Person.birthDate', 'min'=>0, 'max'=>1}, - 'address' => {'type'=>'Address', 'path'=>'Person.address', 'min'=>0, 'max'=>Float::INFINITY}, - 'photo' => {'type'=>'Attachment', 'path'=>'Person.photo', 'min'=>0, 'max'=>1}, - 'managingOrganization' => {'type'=>'Reference', 'path'=>'Person.managingOrganization', 'min'=>0, 'max'=>1}, - 'active' => {'type'=>'boolean', 'path'=>'Person.active', 'min'=>0, 'max'=>1}, - 'link' => {'type'=>'Person::Link', 'path'=>'Person.link', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Person.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Person.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Person.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Person.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Person.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Person.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Person.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Person.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Person.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'HumanName', 'path' => 'Person.name', 'min' => 0, 'max' => Float::INFINITY }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Person.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'gender' => { 'valid_codes' => { 'http://hl7.org/fhir/administrative-gender' => ['male', 'female', 'other', 'unknown'] }, 'type' => 'code', 'path' => 'Person.gender', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/administrative-gender' } }, + 'birthDate' => { 'type' => 'date', 'path' => 'Person.birthDate', 'min' => 0, 'max' => 1 }, + 'address' => { 'type' => 'Address', 'path' => 'Person.address', 'min' => 0, 'max' => Float::INFINITY }, + 'photo' => { 'type' => 'Attachment', 'path' => 'Person.photo', 'min' => 0, 'max' => 1 }, + 'managingOrganization' => { 'type' => 'Reference', 'path' => 'Person.managingOrganization', 'min' => 0, 'max' => 1 }, + 'active' => { 'type' => 'boolean', 'path' => 'Person.active', 'min' => 0, 'max' => 1 }, + 'link' => { 'type' => 'Person::Link', 'path' => 'Person.link', 'min' => 0, 'max' => Float::INFINITY } } class Link < FHIR::DSTU2::Model @@ -33,11 +33,11 @@ class Link < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Link.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Link.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Link.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'target' => {'type'=>'Reference', 'path'=>'Link.target', 'min'=>1, 'max'=>1}, - 'assurance' => {'valid_codes'=>{'http://hl7.org/fhir/identity-assuranceLevel'=>['level1', 'level2', 'level3', 'level4']}, 'type'=>'code', 'path'=>'Link.assurance', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/identity-assuranceLevel'}} + 'id' => { 'type' => 'id', 'path' => 'Link.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Link.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Link.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'target' => { 'type' => 'Reference', 'path' => 'Link.target', 'min' => 1, 'max' => 1 }, + 'assurance' => { 'valid_codes' => { 'http://hl7.org/fhir/identity-assuranceLevel' => ['level1', 'level2', 'level3', 'level4'] }, 'type' => 'code', 'path' => 'Link.assurance', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/identity-assuranceLevel' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb b/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb index 409e81a7..be5c47da 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb @@ -7,25 +7,25 @@ class Practitioner < FHIR::DSTU2::Model SEARCH_PARAMS = ['address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'communication', 'email', 'family', 'gender', 'given', 'identifier', 'location', 'name', 'organization', 'phone', 'phonetic', 'role', 'specialty', 'telecom'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Practitioner.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Practitioner.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Practitioner.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Practitioner.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Practitioner.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Practitioner.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Practitioner.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Practitioner.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Practitioner.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'active' => {'type'=>'boolean', 'path'=>'Practitioner.active', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'HumanName', 'path'=>'Practitioner.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Practitioner.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'address' => {'type'=>'Address', 'path'=>'Practitioner.address', 'min'=>0, 'max'=>Float::INFINITY}, - 'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'Practitioner.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}}, - 'birthDate' => {'type'=>'date', 'path'=>'Practitioner.birthDate', 'min'=>0, 'max'=>1}, - 'photo' => {'type'=>'Attachment', 'path'=>'Practitioner.photo', 'min'=>0, 'max'=>Float::INFINITY}, - 'practitionerRole' => {'type'=>'Practitioner::PractitionerRole', 'path'=>'Practitioner.practitionerRole', 'min'=>0, 'max'=>Float::INFINITY}, - 'qualification' => {'type'=>'Practitioner::Qualification', 'path'=>'Practitioner.qualification', 'min'=>0, 'max'=>Float::INFINITY}, - 'communication' => {'type'=>'CodeableConcept', 'path'=>'Practitioner.communication', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}} + 'id' => { 'type' => 'id', 'path' => 'Practitioner.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Practitioner.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Practitioner.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Practitioner.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Practitioner.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Practitioner.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Practitioner.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Practitioner.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Practitioner.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'active' => { 'type' => 'boolean', 'path' => 'Practitioner.active', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'HumanName', 'path' => 'Practitioner.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Practitioner.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'address' => { 'type' => 'Address', 'path' => 'Practitioner.address', 'min' => 0, 'max' => Float::INFINITY }, + 'gender' => { 'valid_codes' => { 'http://hl7.org/fhir/administrative-gender' => ['male', 'female', 'other', 'unknown'] }, 'type' => 'code', 'path' => 'Practitioner.gender', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/administrative-gender' } }, + 'birthDate' => { 'type' => 'date', 'path' => 'Practitioner.birthDate', 'min' => 0, 'max' => 1 }, + 'photo' => { 'type' => 'Attachment', 'path' => 'Practitioner.photo', 'min' => 0, 'max' => Float::INFINITY }, + 'practitionerRole' => { 'type' => 'Practitioner::PractitionerRole', 'path' => 'Practitioner.practitionerRole', 'min' => 0, 'max' => Float::INFINITY }, + 'qualification' => { 'type' => 'Practitioner::Qualification', 'path' => 'Practitioner.qualification', 'min' => 0, 'max' => Float::INFINITY }, + 'communication' => { 'type' => 'CodeableConcept', 'path' => 'Practitioner.communication', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } } } class PractitionerRole < FHIR::DSTU2::Model @@ -34,15 +34,15 @@ class PractitionerRole < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'PractitionerRole.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'PractitionerRole.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'PractitionerRole.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'managingOrganization' => {'type'=>'Reference', 'path'=>'PractitionerRole.managingOrganization', 'min'=>0, 'max'=>1}, - 'role' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-role'=>['doctor', 'nurse', 'pharmacist', 'researcher', 'teacher', 'ict']}, 'type'=>'CodeableConcept', 'path'=>'PractitionerRole.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-role'}}, - 'specialty' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'PractitionerRole.specialty', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-specialty'}}, - 'period' => {'type'=>'Period', 'path'=>'PractitionerRole.period', 'min'=>0, 'max'=>1}, - 'location' => {'type'=>'Reference', 'path'=>'PractitionerRole.location', 'min'=>0, 'max'=>Float::INFINITY}, - 'healthcareService' => {'type'=>'Reference', 'path'=>'PractitionerRole.healthcareService', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'PractitionerRole.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'PractitionerRole.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'PractitionerRole.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'managingOrganization' => { 'type' => 'Reference', 'path' => 'PractitionerRole.managingOrganization', 'min' => 0, 'max' => 1 }, + 'role' => { 'valid_codes' => { 'http://hl7.org/fhir/practitioner-role' => ['doctor', 'nurse', 'pharmacist', 'researcher', 'teacher', 'ict'] }, 'type' => 'CodeableConcept', 'path' => 'PractitionerRole.role', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/practitioner-role' } }, + 'specialty' => { 'valid_codes' => { 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'PractitionerRole.specialty', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/practitioner-specialty' } }, + 'period' => { 'type' => 'Period', 'path' => 'PractitionerRole.period', 'min' => 0, 'max' => 1 }, + 'location' => { 'type' => 'Reference', 'path' => 'PractitionerRole.location', 'min' => 0, 'max' => Float::INFINITY }, + 'healthcareService' => { 'type' => 'Reference', 'path' => 'PractitionerRole.healthcareService', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -62,13 +62,13 @@ class Qualification < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Qualification.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Qualification.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Qualification.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Qualification.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://www.abs.gov.au/ausstats/abs@.nsf/mf/1220.0'=>['100000', '111000', '111111', '111200', '111211', '111212', '111300', '111311', '111312', '111399', '121000', '121111', '121200', '121211', '121212', '121213', '121214', '121215', '121216', '121217', '121218', '121221', '121299', '121300', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121321', '121322', '121399', '121411', '130000', '131100', '131111', '131112', '132000', '132111', '132211', '132311', '132411', '132511', '133000', '133100', '133111', '133112', '133211', '133300', '133311', '133312', '133411', '133500', '133511', '133512', '133513', '133611', '134000', '134111', '134200', '134211', '134212', '134213', '134214', '134299', '134311', '134400', '134411', '134412', '134499', '135100', '135111', '135112', '135199', '139000', '139100', '139111', '139112', '139113', '139211', '139900', '139911', '139912', '139913', '139914', '139915', '139999', '140000', '141000', '141111', '141211', '141311', '141411', '141900', '141911', '141999', '142100', '142111', '142112', '142113', '142114', '142115', '142116', '149000', '149100', '149111', '149112', '149113', '149200', '149211', '149212', '149311', '149400', '149411', '149412', '149413', '149900', '149911', '149912', '149913', '149914', '149999', '200000', '210000', '211000', '211100', '211111', '211112', '211113', '211199', '211200', '211211', '211212', '211213', '211214', '211299', '211311', '211400', '211411', '211412', '211413', '211499', '212000', '212100', '212111', '212112', '212113', '212114', '212200', '212211', '212212', '212300', '212311', '212312', '212313', '212314', '212315', '212316', '212317', '212318', '212399', '212400', '212411', '212412', '212413', '212414', '212415', '212416', '212499', '220000', '221000', '221100', '221111', '221112', '221113', '221200', '221211', '221212', '221213', '221214', '222000', '222100', '222111', '222112', '222113', '222199', '222200', '222211', '222212', '222213', '222299', '222300', '222311', '222312', '223000', '223100', '223111', '223112', '223113', '223211', '223311', '224000', '224100', '224111', '224112', '224113', '224200', '224211', '224212', '224213', '224214', '224311', '224400', '224411', '224412', '224500', '224511', '224512', '224611', '224700', '224711', '224712', '224900', '224911', '224912', '224913', '224914', '224999', '225000', '225100', '225111', '225112', '225113', '225200', '225211', '225212', '225213', '225311', '225400', '225411', '225412', '225499', '230000', '231000', '231100', '231111', '231112', '231113', '231114', '231199', '231200', '231211', '231212', '231213', '231214', '231215', '231299', '232000', '232100', '232111', '232112', '232200', '232211', '232212', '232300', '232311', '232312', '232313', '232400', '232411', '232412', '232413', '232414', '232511', '232611', '233000', '233100', '233111', '233112', '233200', '233211', '233212', '233213', '233214', '233215', '233311', '233411', '233500', '233511', '233512', '233513', '233600', '233611', '233612', '233900', '233911', '233912', '233913', '233914', '233915', '233916', '233999', '234000', '234100', '234111', '234112', '234113', '234200', '234211', '234212', '234213', '234300', '234311', '234312', '234313', '234314', '234399', '234400', '234411', '234412', '234500', '234511', '234512', '234513', '234514', '234515', '234516', '234517', '234518', '234599', '234611', '234711', '234900', '234911', '234912', '234913', '234914', '234999', '240000', '241000', '241111', '241213', '241311', '241411', '241500', '241511', '241512', '241513', '241599', '242000', '242100', '242111', '242112', '242211', '249000', '249100', '249111', '249112', '249200', '249211', '249212', '249213', '249214', '249299', '249311', '250000', '251000', '251111', '251200', '251211', '251212', '251213', '251214', '251300', '251311', '251312', '251400', '251411', '251412', '251500', '251511', '251512', '251513', '251900', '251911', '251912', '251999', '252000', '252100', '252111', '252112', '252200', '252211', '252212', '252213', '252214', '252299', '252300', '252311', '252312', '252411', '252511', '252611', '252700', '252711', '252712', '253000', '253100', '253111', '253112', '253211', '253300', '253311', '253312', '253313', '253314', '253315', '253316', '253317', '253318', '253321', '253322', '253323', '253324', '253399', '253411', '253500', '253511', '253512', '253513', '253514', '253515', '253516', '253517', '253518', '253521', '253900', '253911', '253912', '253913', '253914', '253915', '253916', '253999', '254000', '254111', '254200', '254211', '254212', '254311', '254400', '254411', '254412', '254413', '254414', '254415', '254416', '254417', '254418', '254421', '254422', '254423', '254424', '254499', '260000', '261000', '261100', '261111', '261112', '261200', '261211', '261212', '261300', '261311', '261312', '261313', '261399', '262100', '262111', '262112', '262113', '263000', '263100', '263111', '263112', '263113', '263200', '263211', '263212', '263213', '263299', '263300', '263311', '263312', '270000', '271000', '271111', '271200', '271211', '271212', '271213', '271299', '271311', '272000', '272100', '272111', '272112', '272113', '272114', '272115', '272199', '272211', '272300', '272311', '272312', '272313', '272314', '272399', '272400', '272411', '272412', '272413', '272499', '272511', '272600', '272611', '272612', '272613', '300000', '310000', '311000', '311111', '311200', '311211', '311212', '311213', '311214', '311215', '311299', '311300', '311311', '311312', '311313', '311399', '311400', '311411', '311412', '311413', '311414', '311499', '312000', '312100', '312111', '312112', '312113', '312114', '312115', '312116', '312200', '312211', '312212', '312300', '312311', '312312', '312400', '312411', '312412', '312500', '312511', '312512', '312611', '312900', '312911', '312912', '312913', '312999', '313000', '313100', '313111', '313112', '313113', '313199', '313200', '313211', '313212', '313213', '313214', '320000', '321000', '321111', '321200', '321211', '321212', '321213', '321214', '322000', '322100', '322111', '322112', '322113', '322114', '322115', '322211', '322300', '322311', '322312', '322313', '323000', '323100', '323111', '323112', '323113', '323200', '323211', '323212', '323213', '323214', '323215', '323299', '323300', '323311', '323312', '323313', '323314', '323315', '323316', '323400', '323411', '323412', '324000', '324111', '324200', '324211', '324212', '324311', '330000', '331000', '331100', '331111', '331112', '331211', '331212', '331213', '332000', '332111', '332211', '333000', '333111', '333200', '333211', '333212', '333311', '333411', '334100', '334111', '334112', '334113', '334114', '334115', '340000', '341100', '341111', '341112', '341113', '342000', '342111', '342200', '342211', '342212', '342300', '342311', '342312', '342313', '342314', '342315', '342400', '342411', '342412', '342413', '342414', '351000', '351100', '351111', '351112', '351211', '351311', '351411', '360000', '361000', '361100', '361111', '361112', '361113', '361114', '361199', '361211', '361311', '362000', '362111', '362200', '362211', '362212', '362213', '362311', '362411', '390000', '391111', '392000', '392100', '392111', '392112', '392211', '392300', '392311', '392312', '393000', '393100', '393111', '393112', '393113', '393114', '393200', '393211', '393212', '393213', '393299', '393311', '394000', '394111', '394200', '394211', '394212', '394213', '394214', '394299', '399000', '399100', '399111', '399112', '399200', '399211', '399212', '399213', '399300', '399311', '399312', '399411', '399500', '399511', '399512', '399513', '399514', '399515', '399516', '399517', '399599', '399611', '399900', '399911', '399912', '399913', '399914', '399915', '399916', '399917', '399999', '400000', '411000', '411100', '411111', '411112', '411200', '411211', '411212', '411213', '411214', '411311', '411400', '411411', '411412', '411511', '411611', '411700', '411711', '411712', '411713', '411714', '411715', '411716', '420000', '421100', '421111', '421112', '421113', '421114', '422100', '422111', '422112', '422115', '422116', '423000', '423111', '423211', '423300', '423311', '423312', '423313', '423314', '423400', '423411', '423412', '423413', '431000', '431100', '431111', '431112', '431211', '431311', '431411', '431511', '431900', '431911', '431912', '431999', '440000', '441000', '441111', '441200', '441211', '441212', '441300', '441311', '441312', '442000', '442111', '442200', '442211', '442212', '442213', '442214', '442215', '442216', '442217', '442299', '450000', '451000', '451111', '451211', '451300', '451311', '451399', '451400', '451411', '451412', '451500', '451511', '451512', '451600', '451611', '451612', '451700', '451711', '451799', '451800', '451811', '451812', '451813', '451899', '452000', '452111', '452200', '452211', '452212', '452213', '452214', '452215', '452216', '452217', '452299', '452300', '452311', '452312', '452313', '452314', '452315', '452316', '452317', '452318', '452321', '452322', '452323', '452400', '452411', '452412', '452413', '452414', '452499', '500000', '510000', '511100', '511111', '511112', '512000', '512111', '512200', '512211', '512299', '521000', '521111', '521200', '521211', '521212', '530000', '531111', '532100', '532111', '532112', '532113', '540000', '541000', '541100', '541111', '541112', '541211', '542100', '542111', '542112', '542113', '542114', '550000', '551000', '551100', '551111', '551112', '551211', '551311', '552000', '552111', '552211', '552300', '552311', '552312', '552313', '552314', '561000', '561100', '561111', '561112', '561113', '561199', '561200', '561211', '561212', '561311', '561400', '561411', '561412', '561511', '561611', '561900', '561911', '561912', '561913', '561999', '590000', '591000', '591100', '591111', '591112', '591113', '591114', '591115', '591116', '591200', '591211', '591212', '599000', '599100', '599111', '599112', '599200', '599211', '599212', '599213', '599214', '599215', '599311', '599411', '599500', '599511', '599512', '599513', '599514', '599515', '599516', '599517', '599518', '599521', '599599', '599600', '599611', '599612', '599613', '599711', '599900', '599911', '599912', '599913', '599914', '599999', '600000', '610000', '611000', '611100', '611111', '611112', '611211', '611300', '611311', '611312', '611313', '611314', '611399', '612100', '612111', '612112', '612113', '612114', '612115', '621000', '621111', '621211', '621300', '621311', '621312', '621411', '621511', '621611', '621700', '621711', '621712', '621713', '621900', '621911', '621912', '621999', '630000', '631100', '631111', '631112', '639000', '639100', '639111', '639112', '639200', '639211', '639212', '639311', '639400', '639411', '639412', '639511', '639911', '700000', '710000', '711000', '711100', '711111', '711112', '711113', '711114', '711199', '711211', '711300', '711311', '711312', '711411', '711500', '711511', '711512', '711513', '711514', '711515', '711516', '711599', '711611', '711700', '711711', '711712', '711713', '711714', '711715', '711716', '711799', '711900', '711911', '711912', '711913', '711914', '711999', '712000', '712111', '712200', '712211', '712212', '712213', '712311', '712900', '712911', '712912', '712913', '712914', '712915', '712916', '712917', '712918', '712921', '712922', '712999', '721000', '721100', '721111', '721112', '721200', '721211', '721212', '721213', '721214', '721215', '721216', '721311', '721900', '721911', '721912', '721913', '721914', '721915', '721916', '721999', '730000', '731000', '731100', '731111', '731112', '731199', '731200', '731211', '731212', '731213', '731300', '731311', '731312', '732111', '733100', '733111', '733112', '733113', '733114', '733115', '741111', '800000', '811000', '811111', '811211', '811311', '811400', '811411', '811412', '811500', '811511', '811512', '811513', '811600', '811611', '811612', '811699', '821000', '821100', '821111', '821112', '821113', '821114', '821211', '821311', '821400', '821411', '821412', '821511', '821611', '821700', '821711', '821712', '821713', '821714', '821900', '821911', '821912', '821913', '821914', '821915', '830000', '831000', '831100', '831111', '831112', '831113', '831114', '831115', '831116', '831117', '831118', '831199', '831200', '831211', '831212', '831300', '831311', '831312', '831313', '832000', '832100', '832111', '832112', '832113', '832114', '832115', '832199', '832211', '839000', '839111', '839200', '839211', '839212', '839300', '839311', '839312', '839313', '839400', '839411', '839412', '839413', '839900', '839911', '839912', '839913', '839914', '839915', '839916', '839917', '839999', '841000', '841111', '841200', '841211', '841212', '841213', '841214', '841215', '841216', '841299', '841300', '841311', '841312', '841313', '841400', '841411', '841412', '841500', '841511', '841512', '841513', '841514', '841515', '841516', '841517', '841599', '841611', '841900', '841911', '841912', '841999', '851000', '851111', '851200', '851211', '851299', '851311', '890000', '891000', '891100', '891111', '891112', '891113', '891211', '899000', '899111', '899200', '899211', '899212', '899311', '899400', '899411', '899412', '899413', '899414', '899415', '899500', '899511', '899512', '899611', '899711', '899900', '899911', '899912', '899913', '899914', '899915', '899916', '899917', '899918', '899921', '899922', '899999']}, 'type'=>'CodeableConcept', 'path'=>'Qualification.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/anzsco-occupations'}}, - 'period' => {'type'=>'Period', 'path'=>'Qualification.period', 'min'=>0, 'max'=>1}, - 'issuer' => {'type'=>'Reference', 'path'=>'Qualification.issuer', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Qualification.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Qualification.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Qualification.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Qualification.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://www.abs.gov.au/ausstats/abs@.nsf/mf/1220.0' => ['100000', '111000', '111111', '111200', '111211', '111212', '111300', '111311', '111312', '111399', '121000', '121111', '121200', '121211', '121212', '121213', '121214', '121215', '121216', '121217', '121218', '121221', '121299', '121300', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121321', '121322', '121399', '121411', '130000', '131100', '131111', '131112', '132000', '132111', '132211', '132311', '132411', '132511', '133000', '133100', '133111', '133112', '133211', '133300', '133311', '133312', '133411', '133500', '133511', '133512', '133513', '133611', '134000', '134111', '134200', '134211', '134212', '134213', '134214', '134299', '134311', '134400', '134411', '134412', '134499', '135100', '135111', '135112', '135199', '139000', '139100', '139111', '139112', '139113', '139211', '139900', '139911', '139912', '139913', '139914', '139915', '139999', '140000', '141000', '141111', '141211', '141311', '141411', '141900', '141911', '141999', '142100', '142111', '142112', '142113', '142114', '142115', '142116', '149000', '149100', '149111', '149112', '149113', '149200', '149211', '149212', '149311', '149400', '149411', '149412', '149413', '149900', '149911', '149912', '149913', '149914', '149999', '200000', '210000', '211000', '211100', '211111', '211112', '211113', '211199', '211200', '211211', '211212', '211213', '211214', '211299', '211311', '211400', '211411', '211412', '211413', '211499', '212000', '212100', '212111', '212112', '212113', '212114', '212200', '212211', '212212', '212300', '212311', '212312', '212313', '212314', '212315', '212316', '212317', '212318', '212399', '212400', '212411', '212412', '212413', '212414', '212415', '212416', '212499', '220000', '221000', '221100', '221111', '221112', '221113', '221200', '221211', '221212', '221213', '221214', '222000', '222100', '222111', '222112', '222113', '222199', '222200', '222211', '222212', '222213', '222299', '222300', '222311', '222312', '223000', '223100', '223111', '223112', '223113', '223211', '223311', '224000', '224100', '224111', '224112', '224113', '224200', '224211', '224212', '224213', '224214', '224311', '224400', '224411', '224412', '224500', '224511', '224512', '224611', '224700', '224711', '224712', '224900', '224911', '224912', '224913', '224914', '224999', '225000', '225100', '225111', '225112', '225113', '225200', '225211', '225212', '225213', '225311', '225400', '225411', '225412', '225499', '230000', '231000', '231100', '231111', '231112', '231113', '231114', '231199', '231200', '231211', '231212', '231213', '231214', '231215', '231299', '232000', '232100', '232111', '232112', '232200', '232211', '232212', '232300', '232311', '232312', '232313', '232400', '232411', '232412', '232413', '232414', '232511', '232611', '233000', '233100', '233111', '233112', '233200', '233211', '233212', '233213', '233214', '233215', '233311', '233411', '233500', '233511', '233512', '233513', '233600', '233611', '233612', '233900', '233911', '233912', '233913', '233914', '233915', '233916', '233999', '234000', '234100', '234111', '234112', '234113', '234200', '234211', '234212', '234213', '234300', '234311', '234312', '234313', '234314', '234399', '234400', '234411', '234412', '234500', '234511', '234512', '234513', '234514', '234515', '234516', '234517', '234518', '234599', '234611', '234711', '234900', '234911', '234912', '234913', '234914', '234999', '240000', '241000', '241111', '241213', '241311', '241411', '241500', '241511', '241512', '241513', '241599', '242000', '242100', '242111', '242112', '242211', '249000', '249100', '249111', '249112', '249200', '249211', '249212', '249213', '249214', '249299', '249311', '250000', '251000', '251111', '251200', '251211', '251212', '251213', '251214', '251300', '251311', '251312', '251400', '251411', '251412', '251500', '251511', '251512', '251513', '251900', '251911', '251912', '251999', '252000', '252100', '252111', '252112', '252200', '252211', '252212', '252213', '252214', '252299', '252300', '252311', '252312', '252411', '252511', '252611', '252700', '252711', '252712', '253000', '253100', '253111', '253112', '253211', '253300', '253311', '253312', '253313', '253314', '253315', '253316', '253317', '253318', '253321', '253322', '253323', '253324', '253399', '253411', '253500', '253511', '253512', '253513', '253514', '253515', '253516', '253517', '253518', '253521', '253900', '253911', '253912', '253913', '253914', '253915', '253916', '253999', '254000', '254111', '254200', '254211', '254212', '254311', '254400', '254411', '254412', '254413', '254414', '254415', '254416', '254417', '254418', '254421', '254422', '254423', '254424', '254499', '260000', '261000', '261100', '261111', '261112', '261200', '261211', '261212', '261300', '261311', '261312', '261313', '261399', '262100', '262111', '262112', '262113', '263000', '263100', '263111', '263112', '263113', '263200', '263211', '263212', '263213', '263299', '263300', '263311', '263312', '270000', '271000', '271111', '271200', '271211', '271212', '271213', '271299', '271311', '272000', '272100', '272111', '272112', '272113', '272114', '272115', '272199', '272211', '272300', '272311', '272312', '272313', '272314', '272399', '272400', '272411', '272412', '272413', '272499', '272511', '272600', '272611', '272612', '272613', '300000', '310000', '311000', '311111', '311200', '311211', '311212', '311213', '311214', '311215', '311299', '311300', '311311', '311312', '311313', '311399', '311400', '311411', '311412', '311413', '311414', '311499', '312000', '312100', '312111', '312112', '312113', '312114', '312115', '312116', '312200', '312211', '312212', '312300', '312311', '312312', '312400', '312411', '312412', '312500', '312511', '312512', '312611', '312900', '312911', '312912', '312913', '312999', '313000', '313100', '313111', '313112', '313113', '313199', '313200', '313211', '313212', '313213', '313214', '320000', '321000', '321111', '321200', '321211', '321212', '321213', '321214', '322000', '322100', '322111', '322112', '322113', '322114', '322115', '322211', '322300', '322311', '322312', '322313', '323000', '323100', '323111', '323112', '323113', '323200', '323211', '323212', '323213', '323214', '323215', '323299', '323300', '323311', '323312', '323313', '323314', '323315', '323316', '323400', '323411', '323412', '324000', '324111', '324200', '324211', '324212', '324311', '330000', '331000', '331100', '331111', '331112', '331211', '331212', '331213', '332000', '332111', '332211', '333000', '333111', '333200', '333211', '333212', '333311', '333411', '334100', '334111', '334112', '334113', '334114', '334115', '340000', '341100', '341111', '341112', '341113', '342000', '342111', '342200', '342211', '342212', '342300', '342311', '342312', '342313', '342314', '342315', '342400', '342411', '342412', '342413', '342414', '351000', '351100', '351111', '351112', '351211', '351311', '351411', '360000', '361000', '361100', '361111', '361112', '361113', '361114', '361199', '361211', '361311', '362000', '362111', '362200', '362211', '362212', '362213', '362311', '362411', '390000', '391111', '392000', '392100', '392111', '392112', '392211', '392300', '392311', '392312', '393000', '393100', '393111', '393112', '393113', '393114', '393200', '393211', '393212', '393213', '393299', '393311', '394000', '394111', '394200', '394211', '394212', '394213', '394214', '394299', '399000', '399100', '399111', '399112', '399200', '399211', '399212', '399213', '399300', '399311', '399312', '399411', '399500', '399511', '399512', '399513', '399514', '399515', '399516', '399517', '399599', '399611', '399900', '399911', '399912', '399913', '399914', '399915', '399916', '399917', '399999', '400000', '411000', '411100', '411111', '411112', '411200', '411211', '411212', '411213', '411214', '411311', '411400', '411411', '411412', '411511', '411611', '411700', '411711', '411712', '411713', '411714', '411715', '411716', '420000', '421100', '421111', '421112', '421113', '421114', '422100', '422111', '422112', '422115', '422116', '423000', '423111', '423211', '423300', '423311', '423312', '423313', '423314', '423400', '423411', '423412', '423413', '431000', '431100', '431111', '431112', '431211', '431311', '431411', '431511', '431900', '431911', '431912', '431999', '440000', '441000', '441111', '441200', '441211', '441212', '441300', '441311', '441312', '442000', '442111', '442200', '442211', '442212', '442213', '442214', '442215', '442216', '442217', '442299', '450000', '451000', '451111', '451211', '451300', '451311', '451399', '451400', '451411', '451412', '451500', '451511', '451512', '451600', '451611', '451612', '451700', '451711', '451799', '451800', '451811', '451812', '451813', '451899', '452000', '452111', '452200', '452211', '452212', '452213', '452214', '452215', '452216', '452217', '452299', '452300', '452311', '452312', '452313', '452314', '452315', '452316', '452317', '452318', '452321', '452322', '452323', '452400', '452411', '452412', '452413', '452414', '452499', '500000', '510000', '511100', '511111', '511112', '512000', '512111', '512200', '512211', '512299', '521000', '521111', '521200', '521211', '521212', '530000', '531111', '532100', '532111', '532112', '532113', '540000', '541000', '541100', '541111', '541112', '541211', '542100', '542111', '542112', '542113', '542114', '550000', '551000', '551100', '551111', '551112', '551211', '551311', '552000', '552111', '552211', '552300', '552311', '552312', '552313', '552314', '561000', '561100', '561111', '561112', '561113', '561199', '561200', '561211', '561212', '561311', '561400', '561411', '561412', '561511', '561611', '561900', '561911', '561912', '561913', '561999', '590000', '591000', '591100', '591111', '591112', '591113', '591114', '591115', '591116', '591200', '591211', '591212', '599000', '599100', '599111', '599112', '599200', '599211', '599212', '599213', '599214', '599215', '599311', '599411', '599500', '599511', '599512', '599513', '599514', '599515', '599516', '599517', '599518', '599521', '599599', '599600', '599611', '599612', '599613', '599711', '599900', '599911', '599912', '599913', '599914', '599999', '600000', '610000', '611000', '611100', '611111', '611112', '611211', '611300', '611311', '611312', '611313', '611314', '611399', '612100', '612111', '612112', '612113', '612114', '612115', '621000', '621111', '621211', '621300', '621311', '621312', '621411', '621511', '621611', '621700', '621711', '621712', '621713', '621900', '621911', '621912', '621999', '630000', '631100', '631111', '631112', '639000', '639100', '639111', '639112', '639200', '639211', '639212', '639311', '639400', '639411', '639412', '639511', '639911', '700000', '710000', '711000', '711100', '711111', '711112', '711113', '711114', '711199', '711211', '711300', '711311', '711312', '711411', '711500', '711511', '711512', '711513', '711514', '711515', '711516', '711599', '711611', '711700', '711711', '711712', '711713', '711714', '711715', '711716', '711799', '711900', '711911', '711912', '711913', '711914', '711999', '712000', '712111', '712200', '712211', '712212', '712213', '712311', '712900', '712911', '712912', '712913', '712914', '712915', '712916', '712917', '712918', '712921', '712922', '712999', '721000', '721100', '721111', '721112', '721200', '721211', '721212', '721213', '721214', '721215', '721216', '721311', '721900', '721911', '721912', '721913', '721914', '721915', '721916', '721999', '730000', '731000', '731100', '731111', '731112', '731199', '731200', '731211', '731212', '731213', '731300', '731311', '731312', '732111', '733100', '733111', '733112', '733113', '733114', '733115', '741111', '800000', '811000', '811111', '811211', '811311', '811400', '811411', '811412', '811500', '811511', '811512', '811513', '811600', '811611', '811612', '811699', '821000', '821100', '821111', '821112', '821113', '821114', '821211', '821311', '821400', '821411', '821412', '821511', '821611', '821700', '821711', '821712', '821713', '821714', '821900', '821911', '821912', '821913', '821914', '821915', '830000', '831000', '831100', '831111', '831112', '831113', '831114', '831115', '831116', '831117', '831118', '831199', '831200', '831211', '831212', '831300', '831311', '831312', '831313', '832000', '832100', '832111', '832112', '832113', '832114', '832115', '832199', '832211', '839000', '839111', '839200', '839211', '839212', '839300', '839311', '839312', '839313', '839400', '839411', '839412', '839413', '839900', '839911', '839912', '839913', '839914', '839915', '839916', '839917', '839999', '841000', '841111', '841200', '841211', '841212', '841213', '841214', '841215', '841216', '841299', '841300', '841311', '841312', '841313', '841400', '841411', '841412', '841500', '841511', '841512', '841513', '841514', '841515', '841516', '841517', '841599', '841611', '841900', '841911', '841912', '841999', '851000', '851111', '851200', '851211', '851299', '851311', '890000', '891000', '891100', '891111', '891112', '891113', '891211', '899000', '899111', '899200', '899211', '899212', '899311', '899400', '899411', '899412', '899413', '899414', '899415', '899500', '899511', '899512', '899611', '899711', '899900', '899911', '899912', '899913', '899914', '899915', '899916', '899917', '899918', '899921', '899922', '899999'] }, 'type' => 'CodeableConcept', 'path' => 'Qualification.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/anzsco-occupations' } }, + 'period' => { 'type' => 'Period', 'path' => 'Qualification.period', 'min' => 0, 'max' => 1 }, + 'issuer' => { 'type' => 'Reference', 'path' => 'Qualification.issuer', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Procedure.rb b/lib/fhir_dstu2_models/fhir/resources/Procedure.rb index 78bf3ab5..d465f838 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Procedure.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Procedure.rb @@ -11,37 +11,37 @@ class Procedure < FHIR::DSTU2::Model } SEARCH_PARAMS = ['encounter', 'identifier', 'orderer', 'patient', 'performer', 'subject', 'code', 'date', 'encounter', 'identifier', 'location', 'patient', 'performer', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Procedure.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Procedure.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Procedure.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Procedure.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Procedure.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Procedure.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Procedure.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Procedure.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Procedure.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'Procedure.subject', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/procedure-status'=>['in-progress', 'aborted', 'completed', 'entered-in-error']}, 'type'=>'code', 'path'=>'Procedure.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-status'}}, - 'category' => {'valid_codes'=>{'http://snomed.info/sct'=>['24642003', '409063005', '409073007', '387713003', '103693007', '46947000']}, 'type'=>'CodeableConcept', 'path'=>'Procedure.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-category'}}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-code'}}, - 'notPerformed' => {'type'=>'boolean', 'path'=>'Procedure.notPerformed', 'min'=>0, 'max'=>1}, - 'reasonNotPerformed' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.reasonNotPerformed', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-not-performed-reason'}}, - 'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.bodySite', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}}, - 'reasonCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-reason'}}, - 'reasonReference' => {'type'=>'Reference', 'path'=>'Procedure.reason[x]', 'min'=>0, 'max'=>1}, - 'performer' => {'type'=>'Procedure::Performer', 'path'=>'Procedure.performer', 'min'=>0, 'max'=>Float::INFINITY}, - 'performedDateTime' => {'type'=>'dateTime', 'path'=>'Procedure.performed[x]', 'min'=>0, 'max'=>1}, - 'performedPeriod' => {'type'=>'Period', 'path'=>'Procedure.performed[x]', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'Procedure.encounter', 'min'=>0, 'max'=>1}, - 'location' => {'type'=>'Reference', 'path'=>'Procedure.location', 'min'=>0, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://snomed.info/sct'=>['385669000', '385671000', '385670004']}, 'type'=>'CodeableConcept', 'path'=>'Procedure.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-outcome'}}, - 'report' => {'type'=>'Reference', 'path'=>'Procedure.report', 'min'=>0, 'max'=>Float::INFINITY}, - 'complication' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.complication', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, - 'followUp' => {'valid_codes'=>{'http://snomed.info/sct'=>['18949003', '30549001', '241031001', '35963001', '225164002', '447346005', '229506003', '274441001', '394725008', '359825008']}, 'type'=>'CodeableConcept', 'path'=>'Procedure.followUp', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-followup'}}, - 'request' => {'type'=>'Reference', 'path'=>'Procedure.request', 'min'=>0, 'max'=>1}, - 'notes' => {'type'=>'Annotation', 'path'=>'Procedure.notes', 'min'=>0, 'max'=>Float::INFINITY}, - 'focalDevice' => {'type'=>'Procedure::FocalDevice', 'path'=>'Procedure.focalDevice', 'min'=>0, 'max'=>Float::INFINITY}, - 'used' => {'type'=>'Reference', 'path'=>'Procedure.used', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Procedure.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Procedure.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Procedure.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Procedure.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Procedure.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Procedure.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Procedure.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Procedure.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Procedure.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'Procedure.subject', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-status' => ['in-progress', 'aborted', 'completed', 'entered-in-error'] }, 'type' => 'code', 'path' => 'Procedure.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-status' } }, + 'category' => { 'valid_codes' => { 'http://snomed.info/sct' => ['24642003', '409063005', '409073007', '387713003', '103693007', '46947000'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-category' } }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-code' } }, + 'notPerformed' => { 'type' => 'boolean', 'path' => 'Procedure.notPerformed', 'min' => 0, 'max' => 1 }, + 'reasonNotPerformed' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.reasonNotPerformed', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-not-performed-reason' } }, + 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.bodySite', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, + 'reasonCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-reason' } }, + 'reasonReference' => { 'type' => 'Reference', 'path' => 'Procedure.reason[x]', 'min' => 0, 'max' => 1 }, + 'performer' => { 'type' => 'Procedure::Performer', 'path' => 'Procedure.performer', 'min' => 0, 'max' => Float::INFINITY }, + 'performedDateTime' => { 'type' => 'dateTime', 'path' => 'Procedure.performed[x]', 'min' => 0, 'max' => 1 }, + 'performedPeriod' => { 'type' => 'Period', 'path' => 'Procedure.performed[x]', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'Procedure.encounter', 'min' => 0, 'max' => 1 }, + 'location' => { 'type' => 'Reference', 'path' => 'Procedure.location', 'min' => 0, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://snomed.info/sct' => ['385669000', '385671000', '385670004'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-outcome' } }, + 'report' => { 'type' => 'Reference', 'path' => 'Procedure.report', 'min' => 0, 'max' => Float::INFINITY }, + 'complication' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.complication', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, + 'followUp' => { 'valid_codes' => { 'http://snomed.info/sct' => ['18949003', '30549001', '241031001', '35963001', '225164002', '447346005', '229506003', '274441001', '394725008', '359825008'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.followUp', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-followup' } }, + 'request' => { 'type' => 'Reference', 'path' => 'Procedure.request', 'min' => 0, 'max' => 1 }, + 'notes' => { 'type' => 'Annotation', 'path' => 'Procedure.notes', 'min' => 0, 'max' => Float::INFINITY }, + 'focalDevice' => { 'type' => 'Procedure::FocalDevice', 'path' => 'Procedure.focalDevice', 'min' => 0, 'max' => Float::INFINITY }, + 'used' => { 'type' => 'Reference', 'path' => 'Procedure.used', 'min' => 0, 'max' => Float::INFINITY } } class Performer < FHIR::DSTU2::Model @@ -50,11 +50,11 @@ class Performer < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Performer.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Performer.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Performer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'actor' => {'type'=>'Reference', 'path'=>'Performer.actor', 'min'=>0, 'max'=>1}, - 'role' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Performer.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/performer-role'}} + 'id' => { 'type' => 'id', 'path' => 'Performer.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Performer.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Performer.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'actor' => { 'type' => 'Reference', 'path' => 'Performer.actor', 'min' => 0, 'max' => 1 }, + 'role' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Performer.role', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/performer-role' } } } attr_accessor :id # 0-1 id @@ -70,11 +70,11 @@ class FocalDevice < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'FocalDevice.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'FocalDevice.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'FocalDevice.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'action' => {'valid_codes'=>{'http://hl7.org/fhir/device-action'=>['implanted', 'explanted', 'manipulated']}, 'type'=>'CodeableConcept', 'path'=>'FocalDevice.action', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/device-action'}}, - 'manipulated' => {'type'=>'Reference', 'path'=>'FocalDevice.manipulated', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'FocalDevice.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'FocalDevice.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'FocalDevice.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'action' => { 'valid_codes' => { 'http://hl7.org/fhir/device-action' => ['implanted', 'explanted', 'manipulated'] }, 'type' => 'CodeableConcept', 'path' => 'FocalDevice.action', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/device-action' } }, + 'manipulated' => { 'type' => 'Reference', 'path' => 'FocalDevice.manipulated', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb b/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb index d4caafd6..123f6af2 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb @@ -12,32 +12,32 @@ class ProcedureRequest < FHIR::DSTU2::Model } SEARCH_PARAMS = ['encounter', 'identifier', 'orderer', 'patient', 'performer', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ProcedureRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ProcedureRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ProcedureRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ProcedureRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ProcedureRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ProcedureRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ProcedureRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ProcedureRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ProcedureRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'ProcedureRequest.subject', 'min'=>1, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-code'}}, - 'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.bodySite', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}}, - 'reasonCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-reason'}}, - 'reasonReference' => {'type'=>'Reference', 'path'=>'ProcedureRequest.reason[x]', 'min'=>0, 'max'=>1}, - 'scheduledDateTime' => {'type'=>'dateTime', 'path'=>'ProcedureRequest.scheduled[x]', 'min'=>0, 'max'=>1}, - 'scheduledPeriod' => {'type'=>'Period', 'path'=>'ProcedureRequest.scheduled[x]', 'min'=>0, 'max'=>1}, - 'scheduledTiming' => {'type'=>'Timing', 'path'=>'ProcedureRequest.scheduled[x]', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'ProcedureRequest.encounter', 'min'=>0, 'max'=>1}, - 'performer' => {'type'=>'Reference', 'path'=>'ProcedureRequest.performer', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/procedure-request-status'=>['proposed', 'draft', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'aborted']}, 'type'=>'code', 'path'=>'ProcedureRequest.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-request-status'}}, - 'notes' => {'type'=>'Annotation', 'path'=>'ProcedureRequest.notes', 'min'=>0, 'max'=>Float::INFINITY}, - 'asNeededBoolean' => {'type'=>'boolean', 'path'=>'ProcedureRequest.asNeeded[x]', 'min'=>0, 'max'=>1}, - 'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'orderedOn' => {'type'=>'dateTime', 'path'=>'ProcedureRequest.orderedOn', 'min'=>0, 'max'=>1}, - 'orderer' => {'type'=>'Reference', 'path'=>'ProcedureRequest.orderer', 'min'=>0, 'max'=>1}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/procedure-request-priority'=>['routine', 'urgent', 'stat', 'asap']}, 'type'=>'code', 'path'=>'ProcedureRequest.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-request-priority'}} + 'id' => { 'type' => 'id', 'path' => 'ProcedureRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ProcedureRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ProcedureRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ProcedureRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ProcedureRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ProcedureRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ProcedureRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProcedureRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ProcedureRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.subject', 'min' => 1, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-code' } }, + 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.bodySite', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, + 'reasonCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-reason' } }, + 'reasonReference' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.reason[x]', 'min' => 0, 'max' => 1 }, + 'scheduledDateTime' => { 'type' => 'dateTime', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'scheduledPeriod' => { 'type' => 'Period', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'scheduledTiming' => { 'type' => 'Timing', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.encounter', 'min' => 0, 'max' => 1 }, + 'performer' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.performer', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-request-status' => ['proposed', 'draft', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'aborted'] }, 'type' => 'code', 'path' => 'ProcedureRequest.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-request-status' } }, + 'notes' => { 'type' => 'Annotation', 'path' => 'ProcedureRequest.notes', 'min' => 0, 'max' => Float::INFINITY }, + 'asNeededBoolean' => { 'type' => 'boolean', 'path' => 'ProcedureRequest.asNeeded[x]', 'min' => 0, 'max' => 1 }, + 'asNeededCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.asNeeded[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'orderedOn' => { 'type' => 'dateTime', 'path' => 'ProcedureRequest.orderedOn', 'min' => 0, 'max' => 1 }, + 'orderer' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.orderer', 'min' => 0, 'max' => 1 }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-request-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'code', 'path' => 'ProcedureRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-request-priority' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb b/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb index 5a8868ad..124d259e 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb @@ -7,30 +7,30 @@ class ProcessRequest < FHIR::DSTU2::Model SEARCH_PARAMS = ['action', 'identifier', 'organization', 'provider'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ProcessRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ProcessRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ProcessRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ProcessRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ProcessRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ProcessRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ProcessRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ProcessRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'action' => {'valid_codes'=>{'http://hl7.org/fhir/actionlist'=>['cancel', 'poll', 'reprocess', 'status']}, 'type'=>'code', 'path'=>'ProcessRequest.action', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/actionlist'}}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ProcessRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ProcessRequest.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ProcessRequest.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'ProcessRequest.created', 'min'=>0, 'max'=>1}, - 'target' => {'type'=>'Reference', 'path'=>'ProcessRequest.target', 'min'=>0, 'max'=>1}, - 'provider' => {'type'=>'Reference', 'path'=>'ProcessRequest.provider', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'ProcessRequest.organization', 'min'=>0, 'max'=>1}, - 'request' => {'type'=>'Reference', 'path'=>'ProcessRequest.request', 'min'=>0, 'max'=>1}, - 'response' => {'type'=>'Reference', 'path'=>'ProcessRequest.response', 'min'=>0, 'max'=>1}, - 'nullify' => {'type'=>'boolean', 'path'=>'ProcessRequest.nullify', 'min'=>0, 'max'=>1}, - 'reference' => {'type'=>'string', 'path'=>'ProcessRequest.reference', 'min'=>0, 'max'=>1}, - 'item' => {'type'=>'ProcessRequest::Item', 'path'=>'ProcessRequest.item', 'min'=>0, 'max'=>Float::INFINITY}, - 'include' => {'type'=>'string', 'path'=>'ProcessRequest.include', 'min'=>0, 'max'=>Float::INFINITY}, - 'exclude' => {'type'=>'string', 'path'=>'ProcessRequest.exclude', 'min'=>0, 'max'=>Float::INFINITY}, - 'period' => {'type'=>'Period', 'path'=>'ProcessRequest.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ProcessRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ProcessRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ProcessRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ProcessRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ProcessRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ProcessRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ProcessRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProcessRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'action' => { 'valid_codes' => { 'http://hl7.org/fhir/actionlist' => ['cancel', 'poll', 'reprocess', 'status'] }, 'type' => 'code', 'path' => 'ProcessRequest.action', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/actionlist' } }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ProcessRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ProcessRequest.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ProcessRequest.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'ProcessRequest.created', 'min' => 0, 'max' => 1 }, + 'target' => { 'type' => 'Reference', 'path' => 'ProcessRequest.target', 'min' => 0, 'max' => 1 }, + 'provider' => { 'type' => 'Reference', 'path' => 'ProcessRequest.provider', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'ProcessRequest.organization', 'min' => 0, 'max' => 1 }, + 'request' => { 'type' => 'Reference', 'path' => 'ProcessRequest.request', 'min' => 0, 'max' => 1 }, + 'response' => { 'type' => 'Reference', 'path' => 'ProcessRequest.response', 'min' => 0, 'max' => 1 }, + 'nullify' => { 'type' => 'boolean', 'path' => 'ProcessRequest.nullify', 'min' => 0, 'max' => 1 }, + 'reference' => { 'type' => 'string', 'path' => 'ProcessRequest.reference', 'min' => 0, 'max' => 1 }, + 'item' => { 'type' => 'ProcessRequest::Item', 'path' => 'ProcessRequest.item', 'min' => 0, 'max' => Float::INFINITY }, + 'include' => { 'type' => 'string', 'path' => 'ProcessRequest.include', 'min' => 0, 'max' => Float::INFINITY }, + 'exclude' => { 'type' => 'string', 'path' => 'ProcessRequest.exclude', 'min' => 0, 'max' => Float::INFINITY }, + 'period' => { 'type' => 'Period', 'path' => 'ProcessRequest.period', 'min' => 0, 'max' => 1 } } class Item < FHIR::DSTU2::Model @@ -39,10 +39,10 @@ class Item < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Item.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Item.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Item.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'sequenceLinkId' => {'type'=>'integer', 'path'=>'Item.sequenceLinkId', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Item.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Item.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Item.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'sequenceLinkId' => { 'type' => 'integer', 'path' => 'Item.sequenceLinkId', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb b/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb index 3f8cdb65..36ec3d0f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb @@ -7,27 +7,27 @@ class ProcessResponse < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier', 'organization', 'request', 'requestorganization', 'requestprovider'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ProcessResponse.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ProcessResponse.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ProcessResponse.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ProcessResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ProcessResponse.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ProcessResponse.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ProcessResponse.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ProcessResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ProcessResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'request' => {'type'=>'Reference', 'path'=>'ProcessResponse.request', 'min'=>0, 'max'=>1}, - 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/processoutcomecodes'=>['complete', 'pended', 'error']}, 'type'=>'Coding', 'path'=>'ProcessResponse.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/process-outcome'}}, - 'disposition' => {'type'=>'string', 'path'=>'ProcessResponse.disposition', 'min'=>0, 'max'=>1}, - 'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ProcessResponse.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ProcessResponse.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}}, - 'created' => {'type'=>'dateTime', 'path'=>'ProcessResponse.created', 'min'=>0, 'max'=>1}, - 'organization' => {'type'=>'Reference', 'path'=>'ProcessResponse.organization', 'min'=>0, 'max'=>1}, - 'requestProvider' => {'type'=>'Reference', 'path'=>'ProcessResponse.requestProvider', 'min'=>0, 'max'=>1}, - 'requestOrganization' => {'type'=>'Reference', 'path'=>'ProcessResponse.requestOrganization', 'min'=>0, 'max'=>1}, - 'form' => {'valid_codes'=>{'http://hl7.org/fhir/forms-codes'=>['1', '2']}, 'type'=>'Coding', 'path'=>'ProcessResponse.form', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/forms'}}, - 'notes' => {'type'=>'ProcessResponse::Notes', 'path'=>'ProcessResponse.notes', 'min'=>0, 'max'=>Float::INFINITY}, - 'error' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication-error'=>['A001', 'A002']}, 'type'=>'Coding', 'path'=>'ProcessResponse.error', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication-error'}} + 'id' => { 'type' => 'id', 'path' => 'ProcessResponse.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ProcessResponse.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ProcessResponse.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ProcessResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ProcessResponse.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ProcessResponse.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ProcessResponse.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProcessResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ProcessResponse.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'request' => { 'type' => 'Reference', 'path' => 'ProcessResponse.request', 'min' => 0, 'max' => 1 }, + 'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/processoutcomecodes' => ['complete', 'pended', 'error'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/process-outcome' } }, + 'disposition' => { 'type' => 'string', 'path' => 'ProcessResponse.disposition', 'min' => 0, 'max' => 1 }, + 'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }, + 'created' => { 'type' => 'dateTime', 'path' => 'ProcessResponse.created', 'min' => 0, 'max' => 1 }, + 'organization' => { 'type' => 'Reference', 'path' => 'ProcessResponse.organization', 'min' => 0, 'max' => 1 }, + 'requestProvider' => { 'type' => 'Reference', 'path' => 'ProcessResponse.requestProvider', 'min' => 0, 'max' => 1 }, + 'requestOrganization' => { 'type' => 'Reference', 'path' => 'ProcessResponse.requestOrganization', 'min' => 0, 'max' => 1 }, + 'form' => { 'valid_codes' => { 'http://hl7.org/fhir/forms-codes' => ['1', '2'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.form', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/forms' } }, + 'notes' => { 'type' => 'ProcessResponse::Notes', 'path' => 'ProcessResponse.notes', 'min' => 0, 'max' => Float::INFINITY }, + 'error' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication-error' => ['A001', 'A002'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.error', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication-error' } } } class Notes < FHIR::DSTU2::Model @@ -36,11 +36,11 @@ class Notes < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Notes.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Notes.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Notes.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/note-type'=>['display', 'print', 'printoper']}, 'type'=>'Coding', 'path'=>'Notes.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/note-type'}}, - 'text' => {'type'=>'string', 'path'=>'Notes.text', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Notes.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Notes.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Notes.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/note-type' => ['display', 'print', 'printoper'] }, 'type' => 'Coding', 'path' => 'Notes.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/note-type' } }, + 'text' => { 'type' => 'string', 'path' => 'Notes.text', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Provenance.rb b/lib/fhir_dstu2_models/fhir/resources/Provenance.rb index 270eb2a4..4ee4b5f9 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Provenance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Provenance.rb @@ -7,24 +7,24 @@ class Provenance < FHIR::DSTU2::Model SEARCH_PARAMS = ['agent', 'end', 'entity', 'entitytype', 'location', 'patient', 'sigtype', 'start', 'target', 'userid'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Provenance.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Provenance.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Provenance.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Provenance.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Provenance.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Provenance.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Provenance.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Provenance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'target' => {'type'=>'Reference', 'path'=>'Provenance.target', 'min'=>1, 'max'=>Float::INFINITY}, - 'period' => {'type'=>'Period', 'path'=>'Provenance.period', 'min'=>0, 'max'=>1}, - 'recorded' => {'type'=>'instant', 'path'=>'Provenance.recorded', 'min'=>1, 'max'=>1}, - 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'CodeableConcept', 'path'=>'Provenance.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse'}}, - 'activity' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActStatus'=>['normal', 'aborted', 'active', 'cancelled', 'completed', 'held', 'new', 'suspended', 'nullified', 'obsolete'], 'http://hl7.org/fhir/v3/DocumentCompletion'=>['AU', 'DI', 'DO', 'IN', 'IP', 'LA', 'NU', 'PA', 'UC']}, 'type'=>'CodeableConcept', 'path'=>'Provenance.activity', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ProvenanceEventCurrentState'}}, - 'location' => {'type'=>'Reference', 'path'=>'Provenance.location', 'min'=>0, 'max'=>1}, - 'policy' => {'type'=>'uri', 'path'=>'Provenance.policy', 'min'=>0, 'max'=>Float::INFINITY}, - 'agent' => {'type'=>'Provenance::Agent', 'path'=>'Provenance.agent', 'min'=>0, 'max'=>Float::INFINITY}, - 'entity' => {'type'=>'Provenance::Entity', 'path'=>'Provenance.entity', 'min'=>0, 'max'=>Float::INFINITY}, - 'signature' => {'type'=>'Signature', 'path'=>'Provenance.signature', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Provenance.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Provenance.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Provenance.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Provenance.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Provenance.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Provenance.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Provenance.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Provenance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'target' => { 'type' => 'Reference', 'path' => 'Provenance.target', 'min' => 1, 'max' => Float::INFINITY }, + 'period' => { 'type' => 'Period', 'path' => 'Provenance.period', 'min' => 0, 'max' => 1 }, + 'recorded' => { 'type' => 'instant', 'path' => 'Provenance.recorded', 'min' => 1, 'max' => 1 }, + 'reason' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'] }, 'type' => 'CodeableConcept', 'path' => 'Provenance.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse' } }, + 'activity' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ActStatus' => ['normal', 'aborted', 'active', 'cancelled', 'completed', 'held', 'new', 'suspended', 'nullified', 'obsolete'], 'http://hl7.org/fhir/v3/DocumentCompletion' => ['AU', 'DI', 'DO', 'IN', 'IP', 'LA', 'NU', 'PA', 'UC'] }, 'type' => 'CodeableConcept', 'path' => 'Provenance.activity', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ProvenanceEventCurrentState' } }, + 'location' => { 'type' => 'Reference', 'path' => 'Provenance.location', 'min' => 0, 'max' => 1 }, + 'policy' => { 'type' => 'uri', 'path' => 'Provenance.policy', 'min' => 0, 'max' => Float::INFINITY }, + 'agent' => { 'type' => 'Provenance::Agent', 'path' => 'Provenance.agent', 'min' => 0, 'max' => Float::INFINITY }, + 'entity' => { 'type' => 'Provenance::Entity', 'path' => 'Provenance.entity', 'min' => 0, 'max' => Float::INFINITY }, + 'signature' => { 'type' => 'Signature', 'path' => 'Provenance.signature', 'min' => 0, 'max' => Float::INFINITY } } class Agent < FHIR::DSTU2::Model @@ -33,13 +33,13 @@ class Agent < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Agent.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Agent.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Agent.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'role' => {'valid_codes'=>{'http://hl7.org/fhir/provenance-participant-role'=>['enterer', 'performer', 'author', 'verifier', 'legal', 'attester', 'informant', 'custodian', 'assembler', 'composer']}, 'type'=>'Coding', 'path'=>'Agent.role', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/provenance-agent-role'}}, - 'actor' => {'type'=>'Reference', 'path'=>'Agent.actor', 'min'=>0, 'max'=>1}, - 'userId' => {'type'=>'Identifier', 'path'=>'Agent.userId', 'min'=>0, 'max'=>1}, - 'relatedAgent' => {'type'=>'Provenance::Agent::RelatedAgent', 'path'=>'Agent.relatedAgent', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Agent.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Agent.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Agent.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'role' => { 'valid_codes' => { 'http://hl7.org/fhir/provenance-participant-role' => ['enterer', 'performer', 'author', 'verifier', 'legal', 'attester', 'informant', 'custodian', 'assembler', 'composer'] }, 'type' => 'Coding', 'path' => 'Agent.role', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/provenance-agent-role' } }, + 'actor' => { 'type' => 'Reference', 'path' => 'Agent.actor', 'min' => 0, 'max' => 1 }, + 'userId' => { 'type' => 'Identifier', 'path' => 'Agent.userId', 'min' => 0, 'max' => 1 }, + 'relatedAgent' => { 'type' => 'Provenance::Agent::RelatedAgent', 'path' => 'Agent.relatedAgent', 'min' => 0, 'max' => Float::INFINITY } } class RelatedAgent < FHIR::DSTU2::Model @@ -48,11 +48,11 @@ class RelatedAgent < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'RelatedAgent.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'RelatedAgent.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'RelatedAgent.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RoleLinkType'=>['REL', 'BACKUP', 'CONT', 'DIRAUTH', 'IDENT', 'INDAUTH', 'PART', 'REPL']}, 'type'=>'CodeableConcept', 'path'=>'RelatedAgent.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-RoleLinkType'}}, - 'target' => {'type'=>'uri', 'path'=>'RelatedAgent.target', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'RelatedAgent.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'RelatedAgent.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RelatedAgent.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/RoleLinkType' => ['REL', 'BACKUP', 'CONT', 'DIRAUTH', 'IDENT', 'INDAUTH', 'PART', 'REPL'] }, 'type' => 'CodeableConcept', 'path' => 'RelatedAgent.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-RoleLinkType' } }, + 'target' => { 'type' => 'uri', 'path' => 'RelatedAgent.target', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -77,14 +77,14 @@ class Entity < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Entity.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Entity.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Entity.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'role' => {'valid_codes'=>{'http://hl7.org/fhir/provenance-entity-role'=>['derivation', 'revision', 'quotation', 'source']}, 'type'=>'code', 'path'=>'Entity.role', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/provenance-entity-role'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'Coding', 'path'=>'Entity.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'reference' => {'type'=>'uri', 'path'=>'Entity.reference', 'min'=>1, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'Entity.display', 'min'=>0, 'max'=>1}, - 'agent' => {'type'=>'Provenance::Agent', 'path'=>'Entity.agent', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Entity.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Entity.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Entity.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'role' => { 'valid_codes' => { 'http://hl7.org/fhir/provenance-entity-role' => ['derivation', 'revision', 'quotation', 'source'] }, 'type' => 'code', 'path' => 'Entity.role', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/provenance-entity-role' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'Coding', 'path' => 'Entity.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'reference' => { 'type' => 'uri', 'path' => 'Entity.reference', 'min' => 1, 'max' => 1 }, + 'display' => { 'type' => 'string', 'path' => 'Entity.display', 'min' => 0, 'max' => 1 }, + 'agent' => { 'type' => 'Provenance::Agent', 'path' => 'Entity.agent', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb b/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb index b5d6feba..1df16bed 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb @@ -7,22 +7,22 @@ class Questionnaire < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'date', 'identifier', 'publisher', 'status', 'title', 'version', 'author', 'authored', 'encounter', 'patient', 'questionnaire', 'source', 'status', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Questionnaire.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Questionnaire.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Questionnaire.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Questionnaire.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Questionnaire.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Questionnaire.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Questionnaire.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Questionnaire.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Questionnaire.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'version' => {'type'=>'string', 'path'=>'Questionnaire.version', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/questionnaire-status'=>['draft', 'published', 'retired']}, 'type'=>'code', 'path'=>'Questionnaire.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/questionnaire-status'}}, - 'date' => {'type'=>'dateTime', 'path'=>'Questionnaire.date', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'Questionnaire.publisher', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Questionnaire.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'subjectType' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Questionnaire.subjectType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'group' => {'type'=>'Questionnaire::Group', 'path'=>'Questionnaire.group', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Questionnaire.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Questionnaire.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Questionnaire.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Questionnaire.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Questionnaire.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Questionnaire.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Questionnaire.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Questionnaire.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Questionnaire.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'version' => { 'type' => 'string', 'path' => 'Questionnaire.version', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/questionnaire-status' => ['draft', 'published', 'retired'] }, 'type' => 'code', 'path' => 'Questionnaire.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/questionnaire-status' } }, + 'date' => { 'type' => 'dateTime', 'path' => 'Questionnaire.date', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'Questionnaire.publisher', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Questionnaire.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'subjectType' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Questionnaire.subjectType', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'group' => { 'type' => 'Questionnaire::Group', 'path' => 'Questionnaire.group', 'min' => 1, 'max' => 1 } } class Group < FHIR::DSTU2::Model @@ -31,17 +31,17 @@ class Group < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Group.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Group.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Group.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'linkId' => {'type'=>'string', 'path'=>'Group.linkId', 'min'=>0, 'max'=>1}, - 'title' => {'type'=>'string', 'path'=>'Group.title', 'min'=>0, 'max'=>1}, - 'concept' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'Coding', 'path'=>'Group.concept', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/questionnaire-questions'}}, - 'text' => {'type'=>'string', 'path'=>'Group.text', 'min'=>0, 'max'=>1}, - 'required' => {'type'=>'boolean', 'path'=>'Group.required', 'min'=>0, 'max'=>1}, - 'repeats' => {'type'=>'boolean', 'path'=>'Group.repeats', 'min'=>0, 'max'=>1}, - 'group' => {'type'=>'Questionnaire::Group', 'path'=>'Group.group', 'min'=>0, 'max'=>Float::INFINITY}, - 'question' => {'type'=>'Questionnaire::Group::Question', 'path'=>'Group.question', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Group.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Group.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Group.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'linkId' => { 'type' => 'string', 'path' => 'Group.linkId', 'min' => 0, 'max' => 1 }, + 'title' => { 'type' => 'string', 'path' => 'Group.title', 'min' => 0, 'max' => 1 }, + 'concept' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'Coding', 'path' => 'Group.concept', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/questionnaire-questions' } }, + 'text' => { 'type' => 'string', 'path' => 'Group.text', 'min' => 0, 'max' => 1 }, + 'required' => { 'type' => 'boolean', 'path' => 'Group.required', 'min' => 0, 'max' => 1 }, + 'repeats' => { 'type' => 'boolean', 'path' => 'Group.repeats', 'min' => 0, 'max' => 1 }, + 'group' => { 'type' => 'Questionnaire::Group', 'path' => 'Group.group', 'min' => 0, 'max' => Float::INFINITY }, + 'question' => { 'type' => 'Questionnaire::Group::Question', 'path' => 'Group.question', 'min' => 0, 'max' => Float::INFINITY } } class Question < FHIR::DSTU2::Model @@ -50,18 +50,18 @@ class Question < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Question.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Question.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Question.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'linkId' => {'type'=>'string', 'path'=>'Question.linkId', 'min'=>0, 'max'=>1}, - 'concept' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'Coding', 'path'=>'Question.concept', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/questionnaire-questions'}}, - 'text' => {'type'=>'string', 'path'=>'Question.text', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/answer-format'=>['boolean', 'decimal', 'integer', 'date', 'dateTime', 'instant', 'time', 'string', 'text', 'url', 'choice', 'open-choice', 'attachment', 'reference', 'quantity']}, 'type'=>'code', 'path'=>'Question.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/answer-format'}}, - 'required' => {'type'=>'boolean', 'path'=>'Question.required', 'min'=>0, 'max'=>1}, - 'repeats' => {'type'=>'boolean', 'path'=>'Question.repeats', 'min'=>0, 'max'=>1}, - 'options' => {'type'=>'Reference', 'path'=>'Question.options', 'min'=>0, 'max'=>1}, - 'option' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'Coding', 'path'=>'Question.option', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/questionnaire-answers'}}, - 'group' => {'type'=>'Questionnaire::Group', 'path'=>'Question.group', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Question.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Question.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Question.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'linkId' => { 'type' => 'string', 'path' => 'Question.linkId', 'min' => 0, 'max' => 1 }, + 'concept' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'Coding', 'path' => 'Question.concept', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/questionnaire-questions' } }, + 'text' => { 'type' => 'string', 'path' => 'Question.text', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/answer-format' => ['boolean', 'decimal', 'integer', 'date', 'dateTime', 'instant', 'time', 'string', 'text', 'url', 'choice', 'open-choice', 'attachment', 'reference', 'quantity'] }, 'type' => 'code', 'path' => 'Question.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/answer-format' } }, + 'required' => { 'type' => 'boolean', 'path' => 'Question.required', 'min' => 0, 'max' => 1 }, + 'repeats' => { 'type' => 'boolean', 'path' => 'Question.repeats', 'min' => 0, 'max' => 1 }, + 'options' => { 'type' => 'Reference', 'path' => 'Question.options', 'min' => 0, 'max' => 1 }, + 'option' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'Coding', 'path' => 'Question.option', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/questionnaire-answers' } }, + 'group' => { 'type' => 'Questionnaire::Group', 'path' => 'Question.group', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb b/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb index f1233870..6a454b06 100644 --- a/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb +++ b/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb @@ -7,23 +7,23 @@ class QuestionnaireResponse < FHIR::DSTU2::Model SEARCH_PARAMS = ['author', 'authored', 'encounter', 'patient', 'questionnaire', 'source', 'status', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'QuestionnaireResponse.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'QuestionnaireResponse.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'QuestionnaireResponse.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'QuestionnaireResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'QuestionnaireResponse.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'QuestionnaireResponse.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'QuestionnaireResponse.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'QuestionnaireResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'QuestionnaireResponse.identifier', 'min'=>0, 'max'=>1}, - 'questionnaire' => {'type'=>'Reference', 'path'=>'QuestionnaireResponse.questionnaire', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/questionnaire-answers-status'=>['in-progress', 'completed', 'amended']}, 'type'=>'code', 'path'=>'QuestionnaireResponse.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/questionnaire-answers-status'}}, - 'subject' => {'type'=>'Reference', 'path'=>'QuestionnaireResponse.subject', 'min'=>0, 'max'=>1}, - 'author' => {'type'=>'Reference', 'path'=>'QuestionnaireResponse.author', 'min'=>0, 'max'=>1}, - 'authored' => {'type'=>'dateTime', 'path'=>'QuestionnaireResponse.authored', 'min'=>0, 'max'=>1}, - 'source' => {'type'=>'Reference', 'path'=>'QuestionnaireResponse.source', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'QuestionnaireResponse.encounter', 'min'=>0, 'max'=>1}, - 'group' => {'type'=>'QuestionnaireResponse::Group', 'path'=>'QuestionnaireResponse.group', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'QuestionnaireResponse.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'QuestionnaireResponse.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'QuestionnaireResponse.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'QuestionnaireResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'QuestionnaireResponse.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'QuestionnaireResponse.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'QuestionnaireResponse.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'QuestionnaireResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'QuestionnaireResponse.identifier', 'min' => 0, 'max' => 1 }, + 'questionnaire' => { 'type' => 'Reference', 'path' => 'QuestionnaireResponse.questionnaire', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/questionnaire-answers-status' => ['in-progress', 'completed', 'amended'] }, 'type' => 'code', 'path' => 'QuestionnaireResponse.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/questionnaire-answers-status' } }, + 'subject' => { 'type' => 'Reference', 'path' => 'QuestionnaireResponse.subject', 'min' => 0, 'max' => 1 }, + 'author' => { 'type' => 'Reference', 'path' => 'QuestionnaireResponse.author', 'min' => 0, 'max' => 1 }, + 'authored' => { 'type' => 'dateTime', 'path' => 'QuestionnaireResponse.authored', 'min' => 0, 'max' => 1 }, + 'source' => { 'type' => 'Reference', 'path' => 'QuestionnaireResponse.source', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'QuestionnaireResponse.encounter', 'min' => 0, 'max' => 1 }, + 'group' => { 'type' => 'QuestionnaireResponse::Group', 'path' => 'QuestionnaireResponse.group', 'min' => 0, 'max' => 1 } } class Group < FHIR::DSTU2::Model @@ -32,15 +32,15 @@ class Group < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Group.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Group.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Group.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'linkId' => {'type'=>'string', 'path'=>'Group.linkId', 'min'=>0, 'max'=>1}, - 'title' => {'type'=>'string', 'path'=>'Group.title', 'min'=>0, 'max'=>1}, - 'text' => {'type'=>'string', 'path'=>'Group.text', 'min'=>0, 'max'=>1}, - 'subject' => {'type'=>'Reference', 'path'=>'Group.subject', 'min'=>0, 'max'=>1}, - 'group' => {'type'=>'QuestionnaireResponse::Group', 'path'=>'Group.group', 'min'=>0, 'max'=>Float::INFINITY}, - 'question' => {'type'=>'QuestionnaireResponse::Group::Question', 'path'=>'Group.question', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Group.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Group.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Group.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'linkId' => { 'type' => 'string', 'path' => 'Group.linkId', 'min' => 0, 'max' => 1 }, + 'title' => { 'type' => 'string', 'path' => 'Group.title', 'min' => 0, 'max' => 1 }, + 'text' => { 'type' => 'string', 'path' => 'Group.text', 'min' => 0, 'max' => 1 }, + 'subject' => { 'type' => 'Reference', 'path' => 'Group.subject', 'min' => 0, 'max' => 1 }, + 'group' => { 'type' => 'QuestionnaireResponse::Group', 'path' => 'Group.group', 'min' => 0, 'max' => Float::INFINITY }, + 'question' => { 'type' => 'QuestionnaireResponse::Group::Question', 'path' => 'Group.question', 'min' => 0, 'max' => Float::INFINITY } } class Question < FHIR::DSTU2::Model @@ -49,12 +49,12 @@ class Question < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Question.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Question.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Question.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'linkId' => {'type'=>'string', 'path'=>'Question.linkId', 'min'=>0, 'max'=>1}, - 'text' => {'type'=>'string', 'path'=>'Question.text', 'min'=>0, 'max'=>1}, - 'answer' => {'type'=>'QuestionnaireResponse::Group::Question::Answer', 'path'=>'Question.answer', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Question.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Question.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Question.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'linkId' => { 'type' => 'string', 'path' => 'Question.linkId', 'min' => 0, 'max' => 1 }, + 'text' => { 'type' => 'string', 'path' => 'Question.text', 'min' => 0, 'max' => 1 }, + 'answer' => { 'type' => 'QuestionnaireResponse::Group::Question::Answer', 'path' => 'Question.answer', 'min' => 0, 'max' => Float::INFINITY } } class Answer < FHIR::DSTU2::Model @@ -66,23 +66,23 @@ class Answer < FHIR::DSTU2::Model 'value' => ['boolean', 'decimal', 'integer', 'date', 'dateTime', 'instant', 'time', 'string', 'uri', 'Attachment', 'Coding', 'Quantity', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Answer.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Answer.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Answer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'valueBoolean' => {'type'=>'boolean', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueDecimal' => {'type'=>'decimal', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueInteger' => {'type'=>'integer', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueDate' => {'type'=>'date', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueInstant' => {'type'=>'instant', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueTime' => {'type'=>'time', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueString' => {'type'=>'string', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueUri' => {'type'=>'uri', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueCoding' => {'type'=>'Coding', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'valueReference' => {'type'=>'Reference', 'path'=>'Answer.value[x]', 'min'=>0, 'max'=>1}, - 'group' => {'type'=>'QuestionnaireResponse::Group', 'path'=>'Answer.group', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Answer.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Answer.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Answer.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'valueBoolean' => { 'type' => 'boolean', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDecimal' => { 'type' => 'decimal', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueInteger' => { 'type' => 'integer', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDate' => { 'type' => 'date', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDateTime' => { 'type' => 'dateTime', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueInstant' => { 'type' => 'instant', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueTime' => { 'type' => 'time', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueString' => { 'type' => 'string', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueUri' => { 'type' => 'uri', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAttachment' => { 'type' => 'Attachment', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCoding' => { 'type' => 'Coding', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'valueQuantity' => { 'type' => 'Quantity', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'valueReference' => { 'type' => 'Reference', 'path' => 'Answer.value[x]', 'min' => 0, 'max' => 1 }, + 'group' => { 'type' => 'QuestionnaireResponse::Group', 'path' => 'Answer.group', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb b/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb index 2bc2c4a0..3c15576d 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb @@ -7,30 +7,30 @@ class ReferralRequest < FHIR::DSTU2::Model SEARCH_PARAMS = ['date', 'patient', 'priority', 'recipient', 'requester', 'specialty', 'status', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ReferralRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ReferralRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ReferralRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ReferralRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ReferralRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ReferralRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ReferralRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ReferralRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/referralstatus'=>['draft', 'requested', 'active', 'cancelled', 'accepted', 'rejected', 'completed']}, 'type'=>'code', 'path'=>'ReferralRequest.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/referralstatus'}}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ReferralRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'ReferralRequest.date', 'min'=>0, 'max'=>1}, - 'type' => {'type'=>'CodeableConcept', 'path'=>'ReferralRequest.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'specialty' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'ReferralRequest.specialty', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-specialty'}}, - 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-order-priority'=>['routine', 'urgent', 'stat', 'asap']}, 'type'=>'CodeableConcept', 'path'=>'ReferralRequest.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-priority'}}, - 'patient' => {'type'=>'Reference', 'path'=>'ReferralRequest.patient', 'min'=>0, 'max'=>1}, - 'requester' => {'type'=>'Reference', 'path'=>'ReferralRequest.requester', 'min'=>0, 'max'=>1}, - 'recipient' => {'type'=>'Reference', 'path'=>'ReferralRequest.recipient', 'min'=>0, 'max'=>Float::INFINITY}, - 'encounter' => {'type'=>'Reference', 'path'=>'ReferralRequest.encounter', 'min'=>0, 'max'=>1}, - 'dateSent' => {'type'=>'dateTime', 'path'=>'ReferralRequest.dateSent', 'min'=>0, 'max'=>1}, - 'reason' => {'type'=>'CodeableConcept', 'path'=>'ReferralRequest.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'description' => {'type'=>'string', 'path'=>'ReferralRequest.description', 'min'=>0, 'max'=>1}, - 'serviceRequested' => {'valid_codes'=>{'http://snomed.info/sct'=>['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004']}, 'type'=>'CodeableConcept', 'path'=>'ReferralRequest.serviceRequested', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-practice-codes'}}, - 'supportingInformation' => {'type'=>'Reference', 'path'=>'ReferralRequest.supportingInformation', 'min'=>0, 'max'=>Float::INFINITY}, - 'fulfillmentTime' => {'type'=>'Period', 'path'=>'ReferralRequest.fulfillmentTime', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ReferralRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ReferralRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ReferralRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ReferralRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ReferralRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ReferralRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ReferralRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ReferralRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/referralstatus' => ['draft', 'requested', 'active', 'cancelled', 'accepted', 'rejected', 'completed'] }, 'type' => 'code', 'path' => 'ReferralRequest.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/referralstatus' } }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ReferralRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'ReferralRequest.date', 'min' => 0, 'max' => 1 }, + 'type' => { 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'specialty' => { 'valid_codes' => { 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.specialty', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/practitioner-specialty' } }, + 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-priority' } }, + 'patient' => { 'type' => 'Reference', 'path' => 'ReferralRequest.patient', 'min' => 0, 'max' => 1 }, + 'requester' => { 'type' => 'Reference', 'path' => 'ReferralRequest.requester', 'min' => 0, 'max' => 1 }, + 'recipient' => { 'type' => 'Reference', 'path' => 'ReferralRequest.recipient', 'min' => 0, 'max' => Float::INFINITY }, + 'encounter' => { 'type' => 'Reference', 'path' => 'ReferralRequest.encounter', 'min' => 0, 'max' => 1 }, + 'dateSent' => { 'type' => 'dateTime', 'path' => 'ReferralRequest.dateSent', 'min' => 0, 'max' => 1 }, + 'reason' => { 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.reason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'description' => { 'type' => 'string', 'path' => 'ReferralRequest.description', 'min' => 0, 'max' => 1 }, + 'serviceRequested' => { 'valid_codes' => { 'http://snomed.info/sct' => ['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004'] }, 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.serviceRequested', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-practice-codes' } }, + 'supportingInformation' => { 'type' => 'Reference', 'path' => 'ReferralRequest.supportingInformation', 'min' => 0, 'max' => Float::INFINITY }, + 'fulfillmentTime' => { 'type' => 'Period', 'path' => 'ReferralRequest.fulfillmentTime', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb b/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb index 241872fd..3cc4c8be 100644 --- a/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb +++ b/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb @@ -7,24 +7,24 @@ class RelatedPerson < FHIR::DSTU2::Model SEARCH_PARAMS = ['address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'birthdate', 'email', 'gender', 'identifier', 'name', 'patient', 'phone', 'phonetic', 'telecom'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'RelatedPerson.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'RelatedPerson.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'RelatedPerson.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'RelatedPerson.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'RelatedPerson.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'RelatedPerson.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'RelatedPerson.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'RelatedPerson.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'RelatedPerson.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'RelatedPerson.patient', 'min'=>1, 'max'=>1}, - 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RoleCode'=>['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', 'FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_ServiceDeliveryLocationRoleType', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR'], 'http://hl7.org/fhir/patient-contact-relationship'=>['emergency', 'family', 'guardian', 'friend', 'partner', 'work', 'caregiver', 'agent', 'guarantor', 'owner', 'parent']}, 'type'=>'CodeableConcept', 'path'=>'RelatedPerson.relationship', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype'}}, - 'name' => {'type'=>'HumanName', 'path'=>'RelatedPerson.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'RelatedPerson.telecom', 'min'=>0, 'max'=>Float::INFINITY}, - 'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'RelatedPerson.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}}, - 'birthDate' => {'type'=>'date', 'path'=>'RelatedPerson.birthDate', 'min'=>0, 'max'=>1}, - 'address' => {'type'=>'Address', 'path'=>'RelatedPerson.address', 'min'=>0, 'max'=>Float::INFINITY}, - 'photo' => {'type'=>'Attachment', 'path'=>'RelatedPerson.photo', 'min'=>0, 'max'=>Float::INFINITY}, - 'period' => {'type'=>'Period', 'path'=>'RelatedPerson.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'RelatedPerson.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'RelatedPerson.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'RelatedPerson.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'RelatedPerson.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'RelatedPerson.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'RelatedPerson.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'RelatedPerson.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RelatedPerson.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'RelatedPerson.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'RelatedPerson.patient', 'min' => 1, 'max' => 1 }, + 'relationship' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/RoleCode' => ['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', 'FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_ServiceDeliveryLocationRoleType', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR'], 'http://hl7.org/fhir/patient-contact-relationship' => ['emergency', 'family', 'guardian', 'friend', 'partner', 'work', 'caregiver', 'agent', 'guarantor', 'owner', 'parent'] }, 'type' => 'CodeableConcept', 'path' => 'RelatedPerson.relationship', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype' } }, + 'name' => { 'type' => 'HumanName', 'path' => 'RelatedPerson.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'RelatedPerson.telecom', 'min' => 0, 'max' => Float::INFINITY }, + 'gender' => { 'valid_codes' => { 'http://hl7.org/fhir/administrative-gender' => ['male', 'female', 'other', 'unknown'] }, 'type' => 'code', 'path' => 'RelatedPerson.gender', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/administrative-gender' } }, + 'birthDate' => { 'type' => 'date', 'path' => 'RelatedPerson.birthDate', 'min' => 0, 'max' => 1 }, + 'address' => { 'type' => 'Address', 'path' => 'RelatedPerson.address', 'min' => 0, 'max' => Float::INFINITY }, + 'photo' => { 'type' => 'Attachment', 'path' => 'RelatedPerson.photo', 'min' => 0, 'max' => Float::INFINITY }, + 'period' => { 'type' => 'Period', 'path' => 'RelatedPerson.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Resource.rb b/lib/fhir_dstu2_models/fhir/resources/Resource.rb index d4ffe7de..5710f5ce 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Resource.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Resource.rb @@ -7,10 +7,10 @@ class Resource < FHIR::DSTU2::Model SEARCH_PARAMS = ['_id', '_lastUpdated', '_profile', '_security', '_tag'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Resource.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Resource.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Resource.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Resource.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}} + 'id' => { 'type' => 'id', 'path' => 'Resource.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Resource.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Resource.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Resource.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb b/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb index 3143c390..53853e9c 100644 --- a/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb +++ b/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb @@ -7,24 +7,24 @@ class RiskAssessment < FHIR::DSTU2::Model SEARCH_PARAMS = ['condition', 'date', 'encounter', 'identifier', 'method', 'patient', 'performer', 'subject'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'RiskAssessment.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'RiskAssessment.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'RiskAssessment.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'RiskAssessment.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'RiskAssessment.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'RiskAssessment.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'RiskAssessment.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'RiskAssessment.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'RiskAssessment.subject', 'min'=>0, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'RiskAssessment.date', 'min'=>0, 'max'=>1}, - 'condition' => {'type'=>'Reference', 'path'=>'RiskAssessment.condition', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'RiskAssessment.encounter', 'min'=>0, 'max'=>1}, - 'performer' => {'type'=>'Reference', 'path'=>'RiskAssessment.performer', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'RiskAssessment.identifier', 'min'=>0, 'max'=>1}, - 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'RiskAssessment.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'basis' => {'type'=>'Reference', 'path'=>'RiskAssessment.basis', 'min'=>0, 'max'=>Float::INFINITY}, - 'prediction' => {'type'=>'RiskAssessment::Prediction', 'path'=>'RiskAssessment.prediction', 'min'=>0, 'max'=>Float::INFINITY}, - 'mitigation' => {'type'=>'string', 'path'=>'RiskAssessment.mitigation', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'RiskAssessment.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'RiskAssessment.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'RiskAssessment.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'RiskAssessment.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'RiskAssessment.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'RiskAssessment.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'RiskAssessment.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RiskAssessment.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'RiskAssessment.subject', 'min' => 0, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'RiskAssessment.date', 'min' => 0, 'max' => 1 }, + 'condition' => { 'type' => 'Reference', 'path' => 'RiskAssessment.condition', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'RiskAssessment.encounter', 'min' => 0, 'max' => 1 }, + 'performer' => { 'type' => 'Reference', 'path' => 'RiskAssessment.performer', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'RiskAssessment.identifier', 'min' => 0, 'max' => 1 }, + 'method' => { 'local_name' => 'local_method', 'type' => 'CodeableConcept', 'path' => 'RiskAssessment.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'basis' => { 'type' => 'Reference', 'path' => 'RiskAssessment.basis', 'min' => 0, 'max' => Float::INFINITY }, + 'prediction' => { 'type' => 'RiskAssessment::Prediction', 'path' => 'RiskAssessment.prediction', 'min' => 0, 'max' => Float::INFINITY }, + 'mitigation' => { 'type' => 'string', 'path' => 'RiskAssessment.mitigation', 'min' => 0, 'max' => 1 } } class Prediction < FHIR::DSTU2::Model @@ -37,17 +37,17 @@ class Prediction < FHIR::DSTU2::Model 'when' => ['Period', 'Range'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Prediction.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Prediction.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Prediction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'outcome' => {'type'=>'CodeableConcept', 'path'=>'Prediction.outcome', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, - 'probabilityDecimal' => {'type'=>'decimal', 'path'=>'Prediction.probability[x]', 'min'=>0, 'max'=>1}, - 'probabilityRange' => {'type'=>'Range', 'path'=>'Prediction.probability[x]', 'min'=>0, 'max'=>1}, - 'probabilityCodeableConcept' => {'valid_codes'=>{'http://hl7.org/fhir/risk-probability'=>['negligible', 'low', 'moderate', 'high', 'certain']}, 'type'=>'CodeableConcept', 'path'=>'Prediction.probability[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/risk-probability'}}, - 'relativeRisk' => {'type'=>'decimal', 'path'=>'Prediction.relativeRisk', 'min'=>0, 'max'=>1}, - 'whenPeriod' => {'type'=>'Period', 'path'=>'Prediction.when[x]', 'min'=>0, 'max'=>1}, - 'whenRange' => {'type'=>'Range', 'path'=>'Prediction.when[x]', 'min'=>0, 'max'=>1}, - 'rationale' => {'type'=>'string', 'path'=>'Prediction.rationale', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Prediction.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Prediction.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Prediction.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'outcome' => { 'type' => 'CodeableConcept', 'path' => 'Prediction.outcome', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, + 'probabilityDecimal' => { 'type' => 'decimal', 'path' => 'Prediction.probability[x]', 'min' => 0, 'max' => 1 }, + 'probabilityRange' => { 'type' => 'Range', 'path' => 'Prediction.probability[x]', 'min' => 0, 'max' => 1 }, + 'probabilityCodeableConcept' => { 'valid_codes' => { 'http://hl7.org/fhir/risk-probability' => ['negligible', 'low', 'moderate', 'high', 'certain'] }, 'type' => 'CodeableConcept', 'path' => 'Prediction.probability[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/risk-probability' } }, + 'relativeRisk' => { 'type' => 'decimal', 'path' => 'Prediction.relativeRisk', 'min' => 0, 'max' => 1 }, + 'whenPeriod' => { 'type' => 'Period', 'path' => 'Prediction.when[x]', 'min' => 0, 'max' => 1 }, + 'whenRange' => { 'type' => 'Range', 'path' => 'Prediction.when[x]', 'min' => 0, 'max' => 1 }, + 'rationale' => { 'type' => 'string', 'path' => 'Prediction.rationale', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Schedule.rb b/lib/fhir_dstu2_models/fhir/resources/Schedule.rb index 58327c07..7072897f 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Schedule.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Schedule.rb @@ -7,19 +7,19 @@ class Schedule < FHIR::DSTU2::Model SEARCH_PARAMS = ['actor', 'date', 'identifier', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Schedule.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Schedule.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Schedule.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Schedule.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Schedule.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Schedule.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Schedule.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Schedule.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Schedule.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004']}, 'type'=>'CodeableConcept', 'path'=>'Schedule.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-practice-codes'}}, - 'actor' => {'type'=>'Reference', 'path'=>'Schedule.actor', 'min'=>1, 'max'=>1}, - 'planningHorizon' => {'type'=>'Period', 'path'=>'Schedule.planningHorizon', 'min'=>0, 'max'=>1}, - 'comment' => {'type'=>'string', 'path'=>'Schedule.comment', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Schedule.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Schedule.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Schedule.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Schedule.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Schedule.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Schedule.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Schedule.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Schedule.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Schedule.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => ['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004'] }, 'type' => 'CodeableConcept', 'path' => 'Schedule.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-practice-codes' } }, + 'actor' => { 'type' => 'Reference', 'path' => 'Schedule.actor', 'min' => 1, 'max' => 1 }, + 'planningHorizon' => { 'type' => 'Period', 'path' => 'Schedule.planningHorizon', 'min' => 0, 'max' => 1 }, + 'comment' => { 'type' => 'string', 'path' => 'Schedule.comment', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb b/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb index 7503ac81..ae08f3f4 100644 --- a/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb +++ b/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb @@ -7,29 +7,29 @@ class SearchParameter < FHIR::DSTU2::Model SEARCH_PARAMS = ['base', 'code', 'description', 'name', 'target', 'type', 'url'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'SearchParameter.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'SearchParameter.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'SearchParameter.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'SearchParameter.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'SearchParameter.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'SearchParameter.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'SearchParameter.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'SearchParameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'SearchParameter.url', 'min'=>1, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'SearchParameter.name', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'SearchParameter.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'SearchParameter.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'SearchParameter.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'SearchParameter::Contact', 'path'=>'SearchParameter.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'SearchParameter.date', 'min'=>0, 'max'=>1}, - 'requirements' => {'type'=>'string', 'path'=>'SearchParameter.requirements', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'SearchParameter.code', 'min'=>1, 'max'=>1}, - 'base' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'SearchParameter.base', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/search-param-type'=>['number', 'date', 'string', 'token', 'reference', 'composite', 'quantity', 'uri']}, 'type'=>'code', 'path'=>'SearchParameter.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/search-param-type'}}, - 'description' => {'type'=>'string', 'path'=>'SearchParameter.description', 'min'=>1, 'max'=>1}, - 'xpath' => {'type'=>'string', 'path'=>'SearchParameter.xpath', 'min'=>0, 'max'=>1}, - 'xpathUsage' => {'valid_codes'=>{'http://hl7.org/fhir/search-xpath-usage'=>['normal', 'phonetic', 'nearby', 'distance', 'other']}, 'type'=>'code', 'path'=>'SearchParameter.xpathUsage', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/search-xpath-usage'}}, - 'target' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'SearchParameter.target', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}} + 'id' => { 'type' => 'id', 'path' => 'SearchParameter.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'SearchParameter.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'SearchParameter.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'SearchParameter.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'SearchParameter.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'SearchParameter.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'SearchParameter.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'SearchParameter.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'SearchParameter.url', 'min' => 1, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'SearchParameter.name', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'SearchParameter.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'SearchParameter.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'SearchParameter.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'SearchParameter::Contact', 'path' => 'SearchParameter.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'SearchParameter.date', 'min' => 0, 'max' => 1 }, + 'requirements' => { 'type' => 'string', 'path' => 'SearchParameter.requirements', 'min' => 0, 'max' => 1 }, + 'code' => { 'type' => 'code', 'path' => 'SearchParameter.code', 'min' => 1, 'max' => 1 }, + 'base' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'SearchParameter.base', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/search-param-type' => ['number', 'date', 'string', 'token', 'reference', 'composite', 'quantity', 'uri'] }, 'type' => 'code', 'path' => 'SearchParameter.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/search-param-type' } }, + 'description' => { 'type' => 'string', 'path' => 'SearchParameter.description', 'min' => 1, 'max' => 1 }, + 'xpath' => { 'type' => 'string', 'path' => 'SearchParameter.xpath', 'min' => 0, 'max' => 1 }, + 'xpathUsage' => { 'valid_codes' => { 'http://hl7.org/fhir/search-xpath-usage' => ['normal', 'phonetic', 'nearby', 'distance', 'other'] }, 'type' => 'code', 'path' => 'SearchParameter.xpathUsage', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/search-xpath-usage' } }, + 'target' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'SearchParameter.target', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } } } class Contact < FHIR::DSTU2::Model @@ -38,11 +38,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Slot.rb b/lib/fhir_dstu2_models/fhir/resources/Slot.rb index 4d06e7de..13d516b2 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Slot.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Slot.rb @@ -7,22 +7,22 @@ class Slot < FHIR::DSTU2::Model SEARCH_PARAMS = ['fb-type', 'identifier', 'schedule', 'slot-type', 'start'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Slot.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Slot.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Slot.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Slot.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Slot.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Slot.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Slot.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Slot.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Slot.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004']}, 'type'=>'CodeableConcept', 'path'=>'Slot.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-practice-codes'}}, - 'schedule' => {'type'=>'Reference', 'path'=>'Slot.schedule', 'min'=>1, 'max'=>1}, - 'freeBusyType' => {'valid_codes'=>{'http://hl7.org/fhir/slotstatus'=>['busy', 'free', 'busy-unavailable', 'busy-tentative']}, 'type'=>'code', 'path'=>'Slot.freeBusyType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/slotstatus'}}, - 'start' => {'type'=>'instant', 'path'=>'Slot.start', 'min'=>1, 'max'=>1}, - 'end' => {'type'=>'instant', 'path'=>'Slot.end', 'min'=>1, 'max'=>1}, - 'overbooked' => {'type'=>'boolean', 'path'=>'Slot.overbooked', 'min'=>0, 'max'=>1}, - 'comment' => {'type'=>'string', 'path'=>'Slot.comment', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Slot.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Slot.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Slot.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Slot.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Slot.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Slot.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Slot.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Slot.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Slot.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => ['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004'] }, 'type' => 'CodeableConcept', 'path' => 'Slot.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-practice-codes' } }, + 'schedule' => { 'type' => 'Reference', 'path' => 'Slot.schedule', 'min' => 1, 'max' => 1 }, + 'freeBusyType' => { 'valid_codes' => { 'http://hl7.org/fhir/slotstatus' => ['busy', 'free', 'busy-unavailable', 'busy-tentative'] }, 'type' => 'code', 'path' => 'Slot.freeBusyType', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/slotstatus' } }, + 'start' => { 'type' => 'instant', 'path' => 'Slot.start', 'min' => 1, 'max' => 1 }, + 'end' => { 'type' => 'instant', 'path' => 'Slot.end', 'min' => 1, 'max' => 1 }, + 'overbooked' => { 'type' => 'boolean', 'path' => 'Slot.overbooked', 'min' => 0, 'max' => 1 }, + 'comment' => { 'type' => 'string', 'path' => 'Slot.comment', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Specimen.rb b/lib/fhir_dstu2_models/fhir/resources/Specimen.rb index 4f4c91fa..f913411a 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Specimen.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Specimen.rb @@ -7,24 +7,24 @@ class Specimen < FHIR::DSTU2::Model SEARCH_PARAMS = ['accession', 'bodysite', 'collected', 'collector', 'container', 'container-id', 'identifier', 'parent', 'patient', 'subject', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Specimen.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Specimen.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Specimen.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Specimen.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Specimen.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Specimen.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Specimen.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Specimen.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Specimen.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/specimen-status'=>['available', 'unavailable', 'unsatisfactory', 'entered-in-error']}, 'type'=>'code', 'path'=>'Specimen.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/specimen-status'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v2/0487'=>['...', 'ABS', 'ACNE', 'ACNFLD', 'AIRS', 'ALL', 'AMN', 'AMP', 'ANGI', 'ARTC', 'ASERU', 'ASP', 'ATTE', 'AUTOA', 'AUTOC', 'AUTP', 'BBL', 'BCYST', 'BDY', 'BIFL', 'BITE', 'BLD', 'BLDA', 'BLDCO', 'BLDV', 'BLEB', 'BLIST', 'BOIL', 'BON', 'BONE', 'BOWL', 'BPH', 'BPU', 'BRN', 'BRSH', 'BRTH', 'BRUS', 'BUB', 'BULLA', 'BX', 'CALC', 'CARBU', 'CAT', 'CBITE', 'CDM', 'CLIPP', 'CNJT', 'CNL', 'COL', 'CONE', 'CSCR', 'CSERU', 'CSF', 'CSITE', 'CSMY', 'CST', 'CSVR', 'CTP', 'CUR', 'CVM', 'CVPS', 'CVPT', 'CYN', 'CYST', 'DBITE', 'DCS', 'DEC', 'DEION', 'DIA', 'DIAF', 'DISCHG', 'DIV', 'DRN', 'DRNG', 'DRNGP', 'DUFL', 'EARW', 'EBRUSH', 'EEYE', 'EFF', 'EFFUS', 'EFOD', 'EISO', 'ELT', 'ENVIR', 'EOS', 'EOTH', 'ESOI', 'ESOS', 'ETA', 'ETTP', 'ETTUB', 'EWHI', 'EXG', 'EXS', 'EXUDTE', 'FAW', 'FBLOOD', 'FGA', 'FIB', 'FIST', 'FLD', 'FLT', 'FLU', 'FLUID', 'FOLEY', 'FRS', 'FSCLP', 'FUR', 'GAS', 'GASA', 'GASAN', 'GASBR', 'GASD', 'GAST', 'GENL', 'GENV', 'GRAFT', 'GRAFTS', 'GRANU', 'GROSH', 'GSOL', 'GSPEC', 'GT', 'GTUBE', 'HAR', 'HBITE', 'HBLUD', 'HEMAQ', 'HEMO', 'HERNI', 'HEV', 'HIC', 'HYDC', 'IBITE', 'ICYST', 'IDC', 'IHG', 'ILEO', 'ILLEG', 'IMP', 'INCI', 'INFIL', 'INS', 'INTRD', 'ISLT', 'IT', 'IUD', 'IVCAT', 'IVFLD', 'IVTIP', 'JEJU', 'JNTFLD', 'JP', 'KELOI', 'KIDFLD', 'LAVG', 'LAVGG', 'LAVGP', 'LAVPG', 'LENS1', 'LENS2', 'LESN', 'LIQ', 'LIQO', 'LNA', 'LNV', 'LSAC', 'LYM', 'MAC', 'MAHUR', 'MAR', 'MASS', 'MBLD', 'MEC', 'MILK', 'MLK', 'MUCOS', 'MUCUS', 'NAIL', 'NASDR', 'NEDL', 'NEPH', 'NGASP', 'NGAST', 'NGS', 'NODUL', 'NSECR', 'ORH', 'ORL', 'OTH', 'PACEM', 'PAFL', 'PCFL', 'PDSIT', 'PDTS', 'PELVA', 'PENIL', 'PERIA', 'PILOC', 'PINS', 'PIS', 'PLAN', 'PLAS', 'PLB', 'PLC', 'PLEVS', 'PLR', 'PMN', 'PND', 'POL', 'POPGS', 'POPLG', 'POPLV', 'PORTA', 'PPP', 'PROST', 'PRP', 'PSC', 'PUNCT', 'PUS', 'PUSFR', 'PUST', 'QC3', 'RANDU', 'RBC', 'RBITE', 'RECT', 'RECTA', 'RENALC', 'RENC', 'RES', 'SAL', 'SCAR', 'SCLV', 'SCROA', 'SECRE', 'SER', 'SHU', 'SHUNF', 'SHUNT', 'SITE', 'SKBP', 'SKN', 'SMM', 'SMN', 'SNV', 'SPRM', 'SPRP', 'SPRPB', 'SPS', 'SPT', 'SPTC', 'SPTT', 'SPUT1', 'SPUTIN', 'SPUTSP', 'STER', 'STL', 'STONE', 'SUBMA', 'SUBMX', 'SUMP', 'SUP', 'SUTUR', 'SWGZ', 'SWT', 'TASP', 'TEAR', 'THRB', 'TISS', 'TISU', 'TLC', 'TRAC', 'TRANS', 'TSERU', 'TSTES', 'TTRA', 'TUBES', 'TUMOR', 'TZANC', 'UDENT', 'UMED', 'UR', 'URC', 'URINB', 'URINC', 'URINM', 'URINN', 'URINP', 'URNS', 'URT', 'USCOP', 'USPEC', 'USUB', 'VASTIP', 'VENT', 'VITF', 'VOM', 'WASH', 'WASI', 'WAT', 'WB', 'WBC', 'WEN', 'WICK', 'WND', 'WNDA', 'WNDD', 'WNDE', 'WORM', 'WRT', 'WWA', 'WWO', 'WWT']}, 'type'=>'CodeableConcept', 'path'=>'Specimen.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v2-0487'}}, - 'parent' => {'type'=>'Reference', 'path'=>'Specimen.parent', 'min'=>0, 'max'=>Float::INFINITY}, - 'subject' => {'type'=>'Reference', 'path'=>'Specimen.subject', 'min'=>1, 'max'=>1}, - 'accessionIdentifier' => {'type'=>'Identifier', 'path'=>'Specimen.accessionIdentifier', 'min'=>0, 'max'=>1}, - 'receivedTime' => {'type'=>'dateTime', 'path'=>'Specimen.receivedTime', 'min'=>0, 'max'=>1}, - 'collection' => {'type'=>'Specimen::Collection', 'path'=>'Specimen.collection', 'min'=>0, 'max'=>1}, - 'treatment' => {'type'=>'Specimen::Treatment', 'path'=>'Specimen.treatment', 'min'=>0, 'max'=>Float::INFINITY}, - 'container' => {'type'=>'Specimen::Container', 'path'=>'Specimen.container', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Specimen.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Specimen.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Specimen.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Specimen.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Specimen.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Specimen.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Specimen.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Specimen.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Specimen.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/specimen-status' => ['available', 'unavailable', 'unsatisfactory', 'entered-in-error'] }, 'type' => 'code', 'path' => 'Specimen.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/specimen-status' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/v2/0487' => ['...', 'ABS', 'ACNE', 'ACNFLD', 'AIRS', 'ALL', 'AMN', 'AMP', 'ANGI', 'ARTC', 'ASERU', 'ASP', 'ATTE', 'AUTOA', 'AUTOC', 'AUTP', 'BBL', 'BCYST', 'BDY', 'BIFL', 'BITE', 'BLD', 'BLDA', 'BLDCO', 'BLDV', 'BLEB', 'BLIST', 'BOIL', 'BON', 'BONE', 'BOWL', 'BPH', 'BPU', 'BRN', 'BRSH', 'BRTH', 'BRUS', 'BUB', 'BULLA', 'BX', 'CALC', 'CARBU', 'CAT', 'CBITE', 'CDM', 'CLIPP', 'CNJT', 'CNL', 'COL', 'CONE', 'CSCR', 'CSERU', 'CSF', 'CSITE', 'CSMY', 'CST', 'CSVR', 'CTP', 'CUR', 'CVM', 'CVPS', 'CVPT', 'CYN', 'CYST', 'DBITE', 'DCS', 'DEC', 'DEION', 'DIA', 'DIAF', 'DISCHG', 'DIV', 'DRN', 'DRNG', 'DRNGP', 'DUFL', 'EARW', 'EBRUSH', 'EEYE', 'EFF', 'EFFUS', 'EFOD', 'EISO', 'ELT', 'ENVIR', 'EOS', 'EOTH', 'ESOI', 'ESOS', 'ETA', 'ETTP', 'ETTUB', 'EWHI', 'EXG', 'EXS', 'EXUDTE', 'FAW', 'FBLOOD', 'FGA', 'FIB', 'FIST', 'FLD', 'FLT', 'FLU', 'FLUID', 'FOLEY', 'FRS', 'FSCLP', 'FUR', 'GAS', 'GASA', 'GASAN', 'GASBR', 'GASD', 'GAST', 'GENL', 'GENV', 'GRAFT', 'GRAFTS', 'GRANU', 'GROSH', 'GSOL', 'GSPEC', 'GT', 'GTUBE', 'HAR', 'HBITE', 'HBLUD', 'HEMAQ', 'HEMO', 'HERNI', 'HEV', 'HIC', 'HYDC', 'IBITE', 'ICYST', 'IDC', 'IHG', 'ILEO', 'ILLEG', 'IMP', 'INCI', 'INFIL', 'INS', 'INTRD', 'ISLT', 'IT', 'IUD', 'IVCAT', 'IVFLD', 'IVTIP', 'JEJU', 'JNTFLD', 'JP', 'KELOI', 'KIDFLD', 'LAVG', 'LAVGG', 'LAVGP', 'LAVPG', 'LENS1', 'LENS2', 'LESN', 'LIQ', 'LIQO', 'LNA', 'LNV', 'LSAC', 'LYM', 'MAC', 'MAHUR', 'MAR', 'MASS', 'MBLD', 'MEC', 'MILK', 'MLK', 'MUCOS', 'MUCUS', 'NAIL', 'NASDR', 'NEDL', 'NEPH', 'NGASP', 'NGAST', 'NGS', 'NODUL', 'NSECR', 'ORH', 'ORL', 'OTH', 'PACEM', 'PAFL', 'PCFL', 'PDSIT', 'PDTS', 'PELVA', 'PENIL', 'PERIA', 'PILOC', 'PINS', 'PIS', 'PLAN', 'PLAS', 'PLB', 'PLC', 'PLEVS', 'PLR', 'PMN', 'PND', 'POL', 'POPGS', 'POPLG', 'POPLV', 'PORTA', 'PPP', 'PROST', 'PRP', 'PSC', 'PUNCT', 'PUS', 'PUSFR', 'PUST', 'QC3', 'RANDU', 'RBC', 'RBITE', 'RECT', 'RECTA', 'RENALC', 'RENC', 'RES', 'SAL', 'SCAR', 'SCLV', 'SCROA', 'SECRE', 'SER', 'SHU', 'SHUNF', 'SHUNT', 'SITE', 'SKBP', 'SKN', 'SMM', 'SMN', 'SNV', 'SPRM', 'SPRP', 'SPRPB', 'SPS', 'SPT', 'SPTC', 'SPTT', 'SPUT1', 'SPUTIN', 'SPUTSP', 'STER', 'STL', 'STONE', 'SUBMA', 'SUBMX', 'SUMP', 'SUP', 'SUTUR', 'SWGZ', 'SWT', 'TASP', 'TEAR', 'THRB', 'TISS', 'TISU', 'TLC', 'TRAC', 'TRANS', 'TSERU', 'TSTES', 'TTRA', 'TUBES', 'TUMOR', 'TZANC', 'UDENT', 'UMED', 'UR', 'URC', 'URINB', 'URINC', 'URINM', 'URINN', 'URINP', 'URNS', 'URT', 'USCOP', 'USPEC', 'USUB', 'VASTIP', 'VENT', 'VITF', 'VOM', 'WASH', 'WASI', 'WAT', 'WB', 'WBC', 'WEN', 'WICK', 'WND', 'WNDA', 'WNDD', 'WNDE', 'WORM', 'WRT', 'WWA', 'WWO', 'WWT'] }, 'type' => 'CodeableConcept', 'path' => 'Specimen.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v2-0487' } }, + 'parent' => { 'type' => 'Reference', 'path' => 'Specimen.parent', 'min' => 0, 'max' => Float::INFINITY }, + 'subject' => { 'type' => 'Reference', 'path' => 'Specimen.subject', 'min' => 1, 'max' => 1 }, + 'accessionIdentifier' => { 'type' => 'Identifier', 'path' => 'Specimen.accessionIdentifier', 'min' => 0, 'max' => 1 }, + 'receivedTime' => { 'type' => 'dateTime', 'path' => 'Specimen.receivedTime', 'min' => 0, 'max' => 1 }, + 'collection' => { 'type' => 'Specimen::Collection', 'path' => 'Specimen.collection', 'min' => 0, 'max' => 1 }, + 'treatment' => { 'type' => 'Specimen::Treatment', 'path' => 'Specimen.treatment', 'min' => 0, 'max' => Float::INFINITY }, + 'container' => { 'type' => 'Specimen::Container', 'path' => 'Specimen.container', 'min' => 0, 'max' => Float::INFINITY } } class Collection < FHIR::DSTU2::Model @@ -36,16 +36,16 @@ class Collection < FHIR::DSTU2::Model 'collected' => ['dateTime', 'Period'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Collection.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Collection.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Collection.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'collector' => {'type'=>'Reference', 'path'=>'Collection.collector', 'min'=>0, 'max'=>1}, - 'comment' => {'type'=>'string', 'path'=>'Collection.comment', 'min'=>0, 'max'=>Float::INFINITY}, - 'collectedDateTime' => {'type'=>'dateTime', 'path'=>'Collection.collected[x]', 'min'=>0, 'max'=>1}, - 'collectedPeriod' => {'type'=>'Period', 'path'=>'Collection.collected[x]', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Collection.quantity', 'min'=>0, 'max'=>1}, - 'method' => {'local_name'=>'local_method', 'valid_codes'=>{'http://snomed.info/sct'=>['119295008', '413651001', '360020006', '430823004', '16404004', '67889009', '29240004', '45710003', '7800008', '258431006', '20255002', '386147002', '278450005'], 'http://hl7.org/fhir/v2/0488'=>['ANP', 'BAP', 'BCAE', 'BCAN', 'BCPD', 'BIO', 'CAP', 'CATH', 'CVP', 'EPLA', 'ESWA', 'FNA', 'KOFFP', 'LNA', 'LNV', 'MARTL', 'ML11', 'MLP', 'NYP', 'PACE', 'PIN', 'PNA', 'PRIME', 'PUMP', 'QC5', 'SCLP', 'SCRAPS', 'SHA', 'SWA', 'SWD', 'TMAN', 'TMCH', 'TMM4', 'TMMY', 'TMOT', 'TMP', 'TMPV', 'TMSC', 'TMUP', 'TMVI', 'VENIP', 'WOOD']}, 'type'=>'CodeableConcept', 'path'=>'Collection.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/specimen-collection-method'}}, - 'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Collection.bodySite', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}} + 'id' => { 'type' => 'id', 'path' => 'Collection.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Collection.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Collection.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'collector' => { 'type' => 'Reference', 'path' => 'Collection.collector', 'min' => 0, 'max' => 1 }, + 'comment' => { 'type' => 'string', 'path' => 'Collection.comment', 'min' => 0, 'max' => Float::INFINITY }, + 'collectedDateTime' => { 'type' => 'dateTime', 'path' => 'Collection.collected[x]', 'min' => 0, 'max' => 1 }, + 'collectedPeriod' => { 'type' => 'Period', 'path' => 'Collection.collected[x]', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Collection.quantity', 'min' => 0, 'max' => 1 }, + 'method' => { 'local_name' => 'local_method', 'valid_codes' => { 'http://snomed.info/sct' => ['119295008', '413651001', '360020006', '430823004', '16404004', '67889009', '29240004', '45710003', '7800008', '258431006', '20255002', '386147002', '278450005'], 'http://hl7.org/fhir/v2/0488' => ['ANP', 'BAP', 'BCAE', 'BCAN', 'BCPD', 'BIO', 'CAP', 'CATH', 'CVP', 'EPLA', 'ESWA', 'FNA', 'KOFFP', 'LNA', 'LNV', 'MARTL', 'ML11', 'MLP', 'NYP', 'PACE', 'PIN', 'PNA', 'PRIME', 'PUMP', 'QC5', 'SCLP', 'SCRAPS', 'SHA', 'SWA', 'SWD', 'TMAN', 'TMCH', 'TMM4', 'TMMY', 'TMOT', 'TMP', 'TMPV', 'TMSC', 'TMUP', 'TMVI', 'VENIP', 'WOOD'] }, 'type' => 'CodeableConcept', 'path' => 'Collection.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/specimen-collection-method' } }, + 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Collection.bodySite', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } } } attr_accessor :id # 0-1 id @@ -66,12 +66,12 @@ class Treatment < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Treatment.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Treatment.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Treatment.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'description' => {'type'=>'string', 'path'=>'Treatment.description', 'min'=>0, 'max'=>1}, - 'procedure' => {'valid_codes'=>{'http://hl7.org/fhir/v2/0373'=>['ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL']}, 'type'=>'CodeableConcept', 'path'=>'Treatment.procedure', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/specimen-treatment-procedure'}}, - 'additive' => {'type'=>'Reference', 'path'=>'Treatment.additive', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Treatment.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Treatment.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Treatment.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'description' => { 'type' => 'string', 'path' => 'Treatment.description', 'min' => 0, 'max' => 1 }, + 'procedure' => { 'valid_codes' => { 'http://hl7.org/fhir/v2/0373' => ['ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL'] }, 'type' => 'CodeableConcept', 'path' => 'Treatment.procedure', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/specimen-treatment-procedure' } }, + 'additive' => { 'type' => 'Reference', 'path' => 'Treatment.additive', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -91,16 +91,16 @@ class Container < FHIR::DSTU2::Model 'additive' => ['CodeableConcept', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Container.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Container.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Container.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Container.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'description' => {'type'=>'string', 'path'=>'Container.description', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Container.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/specimen-container-type'}}, - 'capacity' => {'type'=>'Quantity', 'path'=>'Container.capacity', 'min'=>0, 'max'=>1}, - 'specimenQuantity' => {'type'=>'Quantity', 'path'=>'Container.specimenQuantity', 'min'=>0, 'max'=>1}, - 'additiveCodeableConcept' => {'valid_codes'=>{'http://hl7.org/fhir/v2/0371'=>['ACDA', 'ACDB', 'ACET', 'AMIES', 'BACTM', 'BF10', 'BOR', 'BOUIN', 'BSKM', 'C32', 'C38', 'CARS', 'CARY', 'CHLTM', 'CTAD', 'EDTK', 'EDTK15', 'EDTK75', 'EDTN', 'ENT', 'ENT+', 'F10', 'FDP', 'FL10', 'FL100', 'HCL6', 'HEPA', 'HEPL', 'HEPN', 'HNO3', 'JKM', 'KARN', 'KOX', 'LIA', 'M4', 'M4RT', 'M5', 'MICHTM', 'MMDTM', 'NAF', 'NAPS', 'NONE', 'PAGE', 'PHENOL', 'PVA', 'RLM', 'SILICA', 'SPS', 'SST', 'STUTM', 'THROM', 'THYMOL', 'THYO', 'TOLU', 'URETM', 'VIRTM', 'WEST']}, 'type'=>'CodeableConcept', 'path'=>'Container.additive[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v2-0371'}}, - 'additiveReference' => {'type'=>'Reference', 'path'=>'Container.additive[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Container.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Container.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Container.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Container.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'description' => { 'type' => 'string', 'path' => 'Container.description', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Container.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/specimen-container-type' } }, + 'capacity' => { 'type' => 'Quantity', 'path' => 'Container.capacity', 'min' => 0, 'max' => 1 }, + 'specimenQuantity' => { 'type' => 'Quantity', 'path' => 'Container.specimenQuantity', 'min' => 0, 'max' => 1 }, + 'additiveCodeableConcept' => { 'valid_codes' => { 'http://hl7.org/fhir/v2/0371' => ['ACDA', 'ACDB', 'ACET', 'AMIES', 'BACTM', 'BF10', 'BOR', 'BOUIN', 'BSKM', 'C32', 'C38', 'CARS', 'CARY', 'CHLTM', 'CTAD', 'EDTK', 'EDTK15', 'EDTK75', 'EDTN', 'ENT', 'ENT+', 'F10', 'FDP', 'FL10', 'FL100', 'HCL6', 'HEPA', 'HEPL', 'HEPN', 'HNO3', 'JKM', 'KARN', 'KOX', 'LIA', 'M4', 'M4RT', 'M5', 'MICHTM', 'MMDTM', 'NAF', 'NAPS', 'NONE', 'PAGE', 'PHENOL', 'PVA', 'RLM', 'SILICA', 'SPS', 'SST', 'STUTM', 'THROM', 'THYMOL', 'THYO', 'TOLU', 'URETM', 'VIRTM', 'WEST'] }, 'type' => 'CodeableConcept', 'path' => 'Container.additive[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v2-0371' } }, + 'additiveReference' => { 'type' => 'Reference', 'path' => 'Container.additive[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb b/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb index faf91bf0..5f065a3b 100644 --- a/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb +++ b/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb @@ -7,39 +7,39 @@ class StructureDefinition < FHIR::DSTU2::Model SEARCH_PARAMS = ['abstract', 'base', 'base-path', 'code', 'context', 'context-type', 'date', 'description', 'display', 'experimental', 'ext-context', 'identifier', 'kind', 'name', 'path', 'publisher', 'status', 'type', 'url', 'valueset', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'StructureDefinition.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'StructureDefinition.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'StructureDefinition.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'StructureDefinition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'StructureDefinition.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'StructureDefinition.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'StructureDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'StructureDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'StructureDefinition.url', 'min'=>1, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'StructureDefinition.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'version' => {'type'=>'string', 'path'=>'StructureDefinition.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'StructureDefinition.name', 'min'=>1, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'StructureDefinition.display', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'StructureDefinition.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'StructureDefinition.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'StructureDefinition.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'StructureDefinition::Contact', 'path'=>'StructureDefinition.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'StructureDefinition.date', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'StructureDefinition.description', 'min'=>0, 'max'=>1}, - 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'StructureDefinition.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, - 'requirements' => {'type'=>'string', 'path'=>'StructureDefinition.requirements', 'min'=>0, 'max'=>1}, - 'copyright' => {'type'=>'string', 'path'=>'StructureDefinition.copyright', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[], 'http://loinc.org'=>[]}, 'type'=>'Coding', 'path'=>'StructureDefinition.code', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/profile-code'}}, - 'fhirVersion' => {'type'=>'id', 'path'=>'StructureDefinition.fhirVersion', 'min'=>0, 'max'=>1}, - 'mapping' => {'type'=>'StructureDefinition::Mapping', 'path'=>'StructureDefinition.mapping', 'min'=>0, 'max'=>Float::INFINITY}, - 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/structure-definition-kind'=>['datatype', 'resource', 'logical']}, 'type'=>'code', 'path'=>'StructureDefinition.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/structure-definition-kind'}}, - 'constrainedType' => {'valid_codes'=>{'http://hl7.org/fhir/data-types'=>['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'StructureDefinition.constrainedType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/defined-types'}}, - 'abstract' => {'type'=>'boolean', 'path'=>'StructureDefinition.abstract', 'min'=>1, 'max'=>1}, - 'contextType' => {'valid_codes'=>{'http://hl7.org/fhir/extension-context'=>['resource', 'datatype', 'mapping', 'extension']}, 'type'=>'code', 'path'=>'StructureDefinition.contextType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/extension-context'}}, - 'context' => {'type'=>'string', 'path'=>'StructureDefinition.context', 'min'=>0, 'max'=>Float::INFINITY}, - 'base' => {'type'=>'uri', 'path'=>'StructureDefinition.base', 'min'=>0, 'max'=>1}, - 'snapshot' => {'type'=>'StructureDefinition::Snapshot', 'path'=>'StructureDefinition.snapshot', 'min'=>0, 'max'=>1}, - 'differential' => {'type'=>'StructureDefinition::Differential', 'path'=>'StructureDefinition.differential', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'StructureDefinition.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'StructureDefinition.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'StructureDefinition.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'StructureDefinition.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'StructureDefinition.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'StructureDefinition.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'StructureDefinition.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'StructureDefinition.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'StructureDefinition.url', 'min' => 1, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'StructureDefinition.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'version' => { 'type' => 'string', 'path' => 'StructureDefinition.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'StructureDefinition.name', 'min' => 1, 'max' => 1 }, + 'display' => { 'type' => 'string', 'path' => 'StructureDefinition.display', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'StructureDefinition.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'StructureDefinition.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'StructureDefinition.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'StructureDefinition::Contact', 'path' => 'StructureDefinition.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'StructureDefinition.date', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'StructureDefinition.description', 'min' => 0, 'max' => 1 }, + 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'StructureDefinition.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, + 'requirements' => { 'type' => 'string', 'path' => 'StructureDefinition.requirements', 'min' => 0, 'max' => 1 }, + 'copyright' => { 'type' => 'string', 'path' => 'StructureDefinition.copyright', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [], 'http://loinc.org' => [] }, 'type' => 'Coding', 'path' => 'StructureDefinition.code', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/profile-code' } }, + 'fhirVersion' => { 'type' => 'id', 'path' => 'StructureDefinition.fhirVersion', 'min' => 0, 'max' => 1 }, + 'mapping' => { 'type' => 'StructureDefinition::Mapping', 'path' => 'StructureDefinition.mapping', 'min' => 0, 'max' => Float::INFINITY }, + 'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/structure-definition-kind' => ['datatype', 'resource', 'logical'] }, 'type' => 'code', 'path' => 'StructureDefinition.kind', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/structure-definition-kind' } }, + 'constrainedType' => { 'valid_codes' => { 'http://hl7.org/fhir/data-types' => ['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'StructureDefinition.constrainedType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/defined-types' } }, + 'abstract' => { 'type' => 'boolean', 'path' => 'StructureDefinition.abstract', 'min' => 1, 'max' => 1 }, + 'contextType' => { 'valid_codes' => { 'http://hl7.org/fhir/extension-context' => ['resource', 'datatype', 'mapping', 'extension'] }, 'type' => 'code', 'path' => 'StructureDefinition.contextType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/extension-context' } }, + 'context' => { 'type' => 'string', 'path' => 'StructureDefinition.context', 'min' => 0, 'max' => Float::INFINITY }, + 'base' => { 'type' => 'uri', 'path' => 'StructureDefinition.base', 'min' => 0, 'max' => 1 }, + 'snapshot' => { 'type' => 'StructureDefinition::Snapshot', 'path' => 'StructureDefinition.snapshot', 'min' => 0, 'max' => 1 }, + 'differential' => { 'type' => 'StructureDefinition::Differential', 'path' => 'StructureDefinition.differential', 'min' => 0, 'max' => 1 } } class Contact < FHIR::DSTU2::Model @@ -48,11 +48,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -68,13 +68,13 @@ class Mapping < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Mapping.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Mapping.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Mapping.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identity' => {'type'=>'id', 'path'=>'Mapping.identity', 'min'=>1, 'max'=>1}, - 'uri' => {'type'=>'uri', 'path'=>'Mapping.uri', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'Mapping.name', 'min'=>0, 'max'=>1}, - 'comments' => {'type'=>'string', 'path'=>'Mapping.comments', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Mapping.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Mapping.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Mapping.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identity' => { 'type' => 'id', 'path' => 'Mapping.identity', 'min' => 1, 'max' => 1 }, + 'uri' => { 'type' => 'uri', 'path' => 'Mapping.uri', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'Mapping.name', 'min' => 0, 'max' => 1 }, + 'comments' => { 'type' => 'string', 'path' => 'Mapping.comments', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -92,10 +92,10 @@ class Snapshot < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Snapshot.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Snapshot.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Snapshot.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'element' => {'type'=>'ElementDefinition', 'path'=>'Snapshot.element', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Snapshot.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Snapshot.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Snapshot.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'element' => { 'type' => 'ElementDefinition', 'path' => 'Snapshot.element', 'min' => 1, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -110,10 +110,10 @@ class Differential < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Differential.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Differential.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Differential.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'element' => {'type'=>'ElementDefinition', 'path'=>'Differential.element', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Differential.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Differential.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Differential.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'element' => { 'type' => 'ElementDefinition', 'path' => 'Differential.element', 'min' => 1, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Subscription.rb b/lib/fhir_dstu2_models/fhir/resources/Subscription.rb index 75425d33..fbd75074 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Subscription.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Subscription.rb @@ -7,22 +7,22 @@ class Subscription < FHIR::DSTU2::Model SEARCH_PARAMS = ['contact', 'criteria', 'payload', 'status', 'tag', 'type', 'url'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Subscription.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Subscription.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Subscription.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Subscription.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Subscription.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Subscription.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Subscription.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Subscription.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'criteria' => {'type'=>'string', 'path'=>'Subscription.criteria', 'min'=>1, 'max'=>1}, - 'contact' => {'type'=>'ContactPoint', 'path'=>'Subscription.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'reason' => {'type'=>'string', 'path'=>'Subscription.reason', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/subscription-status'=>['requested', 'active', 'error', 'off']}, 'type'=>'code', 'path'=>'Subscription.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/subscription-status'}}, - 'error' => {'type'=>'string', 'path'=>'Subscription.error', 'min'=>0, 'max'=>1}, - 'channel' => {'type'=>'Subscription::Channel', 'path'=>'Subscription.channel', 'min'=>1, 'max'=>1}, - 'end' => {'type'=>'instant', 'path'=>'Subscription.end', 'min'=>0, 'max'=>1}, - 'tag' => {'valid_codes'=>{'http://hl7.org/fhir/subscription-tag'=>['queued', 'delivered']}, 'type'=>'Coding', 'path'=>'Subscription.tag', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/subscription-tag'}} + 'id' => { 'type' => 'id', 'path' => 'Subscription.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Subscription.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Subscription.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Subscription.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Subscription.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Subscription.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Subscription.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Subscription.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'criteria' => { 'type' => 'string', 'path' => 'Subscription.criteria', 'min' => 1, 'max' => 1 }, + 'contact' => { 'type' => 'ContactPoint', 'path' => 'Subscription.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'reason' => { 'type' => 'string', 'path' => 'Subscription.reason', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/subscription-status' => ['requested', 'active', 'error', 'off'] }, 'type' => 'code', 'path' => 'Subscription.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/subscription-status' } }, + 'error' => { 'type' => 'string', 'path' => 'Subscription.error', 'min' => 0, 'max' => 1 }, + 'channel' => { 'type' => 'Subscription::Channel', 'path' => 'Subscription.channel', 'min' => 1, 'max' => 1 }, + 'end' => { 'type' => 'instant', 'path' => 'Subscription.end', 'min' => 0, 'max' => 1 }, + 'tag' => { 'valid_codes' => { 'http://hl7.org/fhir/subscription-tag' => ['queued', 'delivered'] }, 'type' => 'Coding', 'path' => 'Subscription.tag', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/subscription-tag' } } } class Channel < FHIR::DSTU2::Model @@ -31,13 +31,13 @@ class Channel < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Channel.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Channel.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Channel.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/subscription-channel-type'=>['rest-hook', 'websocket', 'email', 'sms', 'message']}, 'type'=>'code', 'path'=>'Channel.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/subscription-channel-type'}}, - 'endpoint' => {'type'=>'uri', 'path'=>'Channel.endpoint', 'min'=>0, 'max'=>1}, - 'payload' => {'type'=>'string', 'path'=>'Channel.payload', 'min'=>1, 'max'=>1}, - 'header' => {'type'=>'string', 'path'=>'Channel.header', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Channel.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Channel.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Channel.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/subscription-channel-type' => ['rest-hook', 'websocket', 'email', 'sms', 'message'] }, 'type' => 'code', 'path' => 'Channel.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/subscription-channel-type' } }, + 'endpoint' => { 'type' => 'uri', 'path' => 'Channel.endpoint', 'min' => 0, 'max' => 1 }, + 'payload' => { 'type' => 'string', 'path' => 'Channel.payload', 'min' => 1, 'max' => 1 }, + 'header' => { 'type' => 'string', 'path' => 'Channel.header', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/Substance.rb b/lib/fhir_dstu2_models/fhir/resources/Substance.rb index 6e8c417f..58f28a83 100644 --- a/lib/fhir_dstu2_models/fhir/resources/Substance.rb +++ b/lib/fhir_dstu2_models/fhir/resources/Substance.rb @@ -7,20 +7,20 @@ class Substance < FHIR::DSTU2::Model SEARCH_PARAMS = ['category', 'code', 'container-identifier', 'expiry', 'identifier', 'quantity', 'substance'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Substance.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'Substance.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'Substance.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Substance.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'Substance.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'Substance.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'Substance.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Substance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Substance.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'category' => {'valid_codes'=>{'http://hl7.org/fhir/substance-category'=>['allergen', 'biological', 'body', 'chemical', 'food', 'drug', 'material']}, 'type'=>'CodeableConcept', 'path'=>'Substance.category', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/substance-category'}}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Substance.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/substance-code'}}, - 'description' => {'type'=>'string', 'path'=>'Substance.description', 'min'=>0, 'max'=>1}, - 'instance' => {'type'=>'Substance::Instance', 'path'=>'Substance.instance', 'min'=>0, 'max'=>Float::INFINITY}, - 'ingredient' => {'type'=>'Substance::Ingredient', 'path'=>'Substance.ingredient', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Substance.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'Substance.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'Substance.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Substance.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'Substance.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'Substance.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'Substance.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Substance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Substance.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'category' => { 'valid_codes' => { 'http://hl7.org/fhir/substance-category' => ['allergen', 'biological', 'body', 'chemical', 'food', 'drug', 'material'] }, 'type' => 'CodeableConcept', 'path' => 'Substance.category', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/substance-category' } }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Substance.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/substance-code' } }, + 'description' => { 'type' => 'string', 'path' => 'Substance.description', 'min' => 0, 'max' => 1 }, + 'instance' => { 'type' => 'Substance::Instance', 'path' => 'Substance.instance', 'min' => 0, 'max' => Float::INFINITY }, + 'ingredient' => { 'type' => 'Substance::Ingredient', 'path' => 'Substance.ingredient', 'min' => 0, 'max' => Float::INFINITY } } class Instance < FHIR::DSTU2::Model @@ -29,12 +29,12 @@ class Instance < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Instance.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Instance.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Instance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'Instance.identifier', 'min'=>0, 'max'=>1}, - 'expiry' => {'type'=>'dateTime', 'path'=>'Instance.expiry', 'min'=>0, 'max'=>1}, - 'quantity' => {'type'=>'Quantity', 'path'=>'Instance.quantity', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Instance.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Instance.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Instance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'Instance.identifier', 'min' => 0, 'max' => 1 }, + 'expiry' => { 'type' => 'dateTime', 'path' => 'Instance.expiry', 'min' => 0, 'max' => 1 }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'Instance.quantity', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -51,11 +51,11 @@ class Ingredient < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Ingredient.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Ingredient.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Ingredient.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'quantity' => {'type'=>'Ratio', 'path'=>'Ingredient.quantity', 'min'=>0, 'max'=>1}, - 'substance' => {'type'=>'Reference', 'path'=>'Ingredient.substance', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Ingredient.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Ingredient.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Ingredient.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'quantity' => { 'type' => 'Ratio', 'path' => 'Ingredient.quantity', 'min' => 0, 'max' => 1 }, + 'substance' => { 'type' => 'Reference', 'path' => 'Ingredient.substance', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb b/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb index 87f23572..7b1d16e8 100644 --- a/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb +++ b/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb @@ -7,25 +7,25 @@ class SupplyDelivery < FHIR::DSTU2::Model SEARCH_PARAMS = ['identifier', 'patient', 'receiver', 'status', 'supplier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'SupplyDelivery.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'SupplyDelivery.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'SupplyDelivery.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'SupplyDelivery.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'SupplyDelivery.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'SupplyDelivery.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'SupplyDelivery.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'SupplyDelivery.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'SupplyDelivery.identifier', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/supplydelivery-status'=>['in-progress', 'completed', 'abandoned']}, 'type'=>'code', 'path'=>'SupplyDelivery.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/supplydelivery-status'}}, - 'patient' => {'type'=>'Reference', 'path'=>'SupplyDelivery.patient', 'min'=>0, 'max'=>1}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/supply-item-type'=>['medication', 'device']}, 'type'=>'CodeableConcept', 'path'=>'SupplyDelivery.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/supplydelivery-type'}}, - 'quantity' => {'type'=>'Quantity', 'path'=>'SupplyDelivery.quantity', 'min'=>0, 'max'=>1}, - 'suppliedItem' => {'type'=>'Reference', 'path'=>'SupplyDelivery.suppliedItem', 'min'=>0, 'max'=>1}, - 'supplier' => {'type'=>'Reference', 'path'=>'SupplyDelivery.supplier', 'min'=>0, 'max'=>1}, - 'whenPrepared' => {'type'=>'Period', 'path'=>'SupplyDelivery.whenPrepared', 'min'=>0, 'max'=>1}, - 'time' => {'type'=>'dateTime', 'path'=>'SupplyDelivery.time', 'min'=>0, 'max'=>1}, - 'destination' => {'type'=>'Reference', 'path'=>'SupplyDelivery.destination', 'min'=>0, 'max'=>1}, - 'receiver' => {'type'=>'Reference', 'path'=>'SupplyDelivery.receiver', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'SupplyDelivery.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'SupplyDelivery.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'SupplyDelivery.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'SupplyDelivery.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'SupplyDelivery.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'SupplyDelivery.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'SupplyDelivery.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'SupplyDelivery.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'SupplyDelivery.identifier', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/supplydelivery-status' => ['in-progress', 'completed', 'abandoned'] }, 'type' => 'code', 'path' => 'SupplyDelivery.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/supplydelivery-status' } }, + 'patient' => { 'type' => 'Reference', 'path' => 'SupplyDelivery.patient', 'min' => 0, 'max' => 1 }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/supply-item-type' => ['medication', 'device'] }, 'type' => 'CodeableConcept', 'path' => 'SupplyDelivery.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/supplydelivery-type' } }, + 'quantity' => { 'type' => 'Quantity', 'path' => 'SupplyDelivery.quantity', 'min' => 0, 'max' => 1 }, + 'suppliedItem' => { 'type' => 'Reference', 'path' => 'SupplyDelivery.suppliedItem', 'min' => 0, 'max' => 1 }, + 'supplier' => { 'type' => 'Reference', 'path' => 'SupplyDelivery.supplier', 'min' => 0, 'max' => 1 }, + 'whenPrepared' => { 'type' => 'Period', 'path' => 'SupplyDelivery.whenPrepared', 'min' => 0, 'max' => 1 }, + 'time' => { 'type' => 'dateTime', 'path' => 'SupplyDelivery.time', 'min' => 0, 'max' => 1 }, + 'destination' => { 'type' => 'Reference', 'path' => 'SupplyDelivery.destination', 'min' => 0, 'max' => 1 }, + 'receiver' => { 'type' => 'Reference', 'path' => 'SupplyDelivery.receiver', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb b/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb index e63764ca..00c409fe 100644 --- a/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb +++ b/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb @@ -10,25 +10,25 @@ class SupplyRequest < FHIR::DSTU2::Model } SEARCH_PARAMS = ['date', 'identifier', 'kind', 'patient', 'source', 'status', 'supplier'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'SupplyRequest.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'SupplyRequest.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'SupplyRequest.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'SupplyRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'SupplyRequest.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'SupplyRequest.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'SupplyRequest.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'SupplyRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'patient' => {'type'=>'Reference', 'path'=>'SupplyRequest.patient', 'min'=>0, 'max'=>1}, - 'source' => {'type'=>'Reference', 'path'=>'SupplyRequest.source', 'min'=>0, 'max'=>1}, - 'date' => {'type'=>'dateTime', 'path'=>'SupplyRequest.date', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'SupplyRequest.identifier', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/supplyrequest-status'=>['requested', 'completed', 'failed', 'cancelled']}, 'type'=>'code', 'path'=>'SupplyRequest.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/supplyrequest-status'}}, - 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/supply-kind'=>['central', 'nonstock']}, 'type'=>'CodeableConcept', 'path'=>'SupplyRequest.kind', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/supplyrequest-kind'}}, - 'orderedItem' => {'type'=>'Reference', 'path'=>'SupplyRequest.orderedItem', 'min'=>0, 'max'=>1}, - 'supplier' => {'type'=>'Reference', 'path'=>'SupplyRequest.supplier', 'min'=>0, 'max'=>Float::INFINITY}, - 'reasonCodeableConcept' => {'valid_codes'=>{'http://hl7.org/fhir/supplyrequest-reason'=>['patient-care', 'ward-stock']}, 'type'=>'CodeableConcept', 'path'=>'SupplyRequest.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/supplyrequest-reason'}}, - 'reasonReference' => {'type'=>'Reference', 'path'=>'SupplyRequest.reason[x]', 'min'=>0, 'max'=>1}, - 'when' => {'type'=>'SupplyRequest::When', 'path'=>'SupplyRequest.when', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'SupplyRequest.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'SupplyRequest.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'SupplyRequest.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'SupplyRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'SupplyRequest.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'SupplyRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'SupplyRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'SupplyRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'patient' => { 'type' => 'Reference', 'path' => 'SupplyRequest.patient', 'min' => 0, 'max' => 1 }, + 'source' => { 'type' => 'Reference', 'path' => 'SupplyRequest.source', 'min' => 0, 'max' => 1 }, + 'date' => { 'type' => 'dateTime', 'path' => 'SupplyRequest.date', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'SupplyRequest.identifier', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/supplyrequest-status' => ['requested', 'completed', 'failed', 'cancelled'] }, 'type' => 'code', 'path' => 'SupplyRequest.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/supplyrequest-status' } }, + 'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/supply-kind' => ['central', 'nonstock'] }, 'type' => 'CodeableConcept', 'path' => 'SupplyRequest.kind', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/supplyrequest-kind' } }, + 'orderedItem' => { 'type' => 'Reference', 'path' => 'SupplyRequest.orderedItem', 'min' => 0, 'max' => 1 }, + 'supplier' => { 'type' => 'Reference', 'path' => 'SupplyRequest.supplier', 'min' => 0, 'max' => Float::INFINITY }, + 'reasonCodeableConcept' => { 'valid_codes' => { 'http://hl7.org/fhir/supplyrequest-reason' => ['patient-care', 'ward-stock'] }, 'type' => 'CodeableConcept', 'path' => 'SupplyRequest.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/supplyrequest-reason' } }, + 'reasonReference' => { 'type' => 'Reference', 'path' => 'SupplyRequest.reason[x]', 'min' => 0, 'max' => 1 }, + 'when' => { 'type' => 'SupplyRequest::When', 'path' => 'SupplyRequest.when', 'min' => 0, 'max' => 1 } } class When < FHIR::DSTU2::Model @@ -37,11 +37,11 @@ class When < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'When.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'When.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'When.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'When.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/supplyrequest-when'}}, - 'schedule' => {'type'=>'Timing', 'path'=>'When.schedule', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'When.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'When.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'When.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'When.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/supplyrequest-when' } }, + 'schedule' => { 'type' => 'Timing', 'path' => 'When.schedule', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/TestScript.rb b/lib/fhir_dstu2_models/fhir/resources/TestScript.rb index e0f2befb..a0c36ab5 100644 --- a/lib/fhir_dstu2_models/fhir/resources/TestScript.rb +++ b/lib/fhir_dstu2_models/fhir/resources/TestScript.rb @@ -7,35 +7,35 @@ class TestScript < FHIR::DSTU2::Model SEARCH_PARAMS = ['description', 'identifier', 'name', 'testscript-capability', 'testscript-setup-capability', 'testscript-test-capability', 'url'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'TestScript.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'TestScript.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'TestScript.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'TestScript.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'TestScript.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'TestScript.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'TestScript.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'TestScript.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'TestScript.url', 'min'=>1, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'TestScript.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'TestScript.name', 'min'=>1, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'TestScript.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'identifier' => {'type'=>'Identifier', 'path'=>'TestScript.identifier', 'min'=>0, 'max'=>1}, - 'experimental' => {'type'=>'boolean', 'path'=>'TestScript.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'TestScript.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'TestScript::Contact', 'path'=>'TestScript.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'TestScript.date', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'TestScript.description', 'min'=>0, 'max'=>1}, - 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'TestScript.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, - 'requirements' => {'type'=>'string', 'path'=>'TestScript.requirements', 'min'=>0, 'max'=>1}, - 'copyright' => {'type'=>'string', 'path'=>'TestScript.copyright', 'min'=>0, 'max'=>1}, - 'metadata' => {'type'=>'TestScript::Metadata', 'path'=>'TestScript.metadata', 'min'=>0, 'max'=>1}, - 'multiserver' => {'type'=>'boolean', 'path'=>'TestScript.multiserver', 'min'=>0, 'max'=>1}, - 'fixture' => {'type'=>'TestScript::Fixture', 'path'=>'TestScript.fixture', 'min'=>0, 'max'=>Float::INFINITY}, - 'profile' => {'type'=>'Reference', 'path'=>'TestScript.profile', 'min'=>0, 'max'=>Float::INFINITY}, - 'variable' => {'type'=>'TestScript::Variable', 'path'=>'TestScript.variable', 'min'=>0, 'max'=>Float::INFINITY}, - 'setup' => {'type'=>'TestScript::Setup', 'path'=>'TestScript.setup', 'min'=>0, 'max'=>1}, - 'test' => {'type'=>'TestScript::Test', 'path'=>'TestScript.test', 'min'=>0, 'max'=>Float::INFINITY}, - 'teardown' => {'type'=>'TestScript::Teardown', 'path'=>'TestScript.teardown', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'TestScript.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'TestScript.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'TestScript.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'TestScript.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'TestScript.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'TestScript.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'TestScript.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'TestScript.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'TestScript.url', 'min' => 1, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'TestScript.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'TestScript.name', 'min' => 1, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'TestScript.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'TestScript.identifier', 'min' => 0, 'max' => 1 }, + 'experimental' => { 'type' => 'boolean', 'path' => 'TestScript.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'TestScript.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'TestScript::Contact', 'path' => 'TestScript.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'TestScript.date', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'TestScript.description', 'min' => 0, 'max' => 1 }, + 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'TestScript.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, + 'requirements' => { 'type' => 'string', 'path' => 'TestScript.requirements', 'min' => 0, 'max' => 1 }, + 'copyright' => { 'type' => 'string', 'path' => 'TestScript.copyright', 'min' => 0, 'max' => 1 }, + 'metadata' => { 'type' => 'TestScript::Metadata', 'path' => 'TestScript.metadata', 'min' => 0, 'max' => 1 }, + 'multiserver' => { 'type' => 'boolean', 'path' => 'TestScript.multiserver', 'min' => 0, 'max' => 1 }, + 'fixture' => { 'type' => 'TestScript::Fixture', 'path' => 'TestScript.fixture', 'min' => 0, 'max' => Float::INFINITY }, + 'profile' => { 'type' => 'Reference', 'path' => 'TestScript.profile', 'min' => 0, 'max' => Float::INFINITY }, + 'variable' => { 'type' => 'TestScript::Variable', 'path' => 'TestScript.variable', 'min' => 0, 'max' => Float::INFINITY }, + 'setup' => { 'type' => 'TestScript::Setup', 'path' => 'TestScript.setup', 'min' => 0, 'max' => 1 }, + 'test' => { 'type' => 'TestScript::Test', 'path' => 'TestScript.test', 'min' => 0, 'max' => Float::INFINITY }, + 'teardown' => { 'type' => 'TestScript::Teardown', 'path' => 'TestScript.teardown', 'min' => 0, 'max' => 1 } } class Contact < FHIR::DSTU2::Model @@ -44,11 +44,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -64,11 +64,11 @@ class Metadata < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Metadata.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Metadata.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Metadata.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'link' => {'type'=>'TestScript::Metadata::Link', 'path'=>'Metadata.link', 'min'=>0, 'max'=>Float::INFINITY}, - 'capability' => {'type'=>'TestScript::Metadata::Capability', 'path'=>'Metadata.capability', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Metadata.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Metadata.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Metadata.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'link' => { 'type' => 'TestScript::Metadata::Link', 'path' => 'Metadata.link', 'min' => 0, 'max' => Float::INFINITY }, + 'capability' => { 'type' => 'TestScript::Metadata::Capability', 'path' => 'Metadata.capability', 'min' => 1, 'max' => Float::INFINITY } } class Link < FHIR::DSTU2::Model @@ -77,11 +77,11 @@ class Link < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Link.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Link.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Link.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'Link.url', 'min'=>1, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Link.description', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Link.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Link.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Link.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'Link.url', 'min' => 1, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Link.description', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -97,15 +97,15 @@ class Capability < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Capability.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Capability.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Capability.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'required' => {'type'=>'boolean', 'path'=>'Capability.required', 'min'=>0, 'max'=>1}, - 'validated' => {'type'=>'boolean', 'path'=>'Capability.validated', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Capability.description', 'min'=>0, 'max'=>1}, - 'destination' => {'type'=>'integer', 'path'=>'Capability.destination', 'min'=>0, 'max'=>1}, - 'link' => {'type'=>'uri', 'path'=>'Capability.link', 'min'=>0, 'max'=>Float::INFINITY}, - 'conformance' => {'type'=>'Reference', 'path'=>'Capability.conformance', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Capability.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Capability.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Capability.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'required' => { 'type' => 'boolean', 'path' => 'Capability.required', 'min' => 0, 'max' => 1 }, + 'validated' => { 'type' => 'boolean', 'path' => 'Capability.validated', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Capability.description', 'min' => 0, 'max' => 1 }, + 'destination' => { 'type' => 'integer', 'path' => 'Capability.destination', 'min' => 0, 'max' => 1 }, + 'link' => { 'type' => 'uri', 'path' => 'Capability.link', 'min' => 0, 'max' => Float::INFINITY }, + 'conformance' => { 'type' => 'Reference', 'path' => 'Capability.conformance', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -132,12 +132,12 @@ class Fixture < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Fixture.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Fixture.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Fixture.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'autocreate' => {'type'=>'boolean', 'path'=>'Fixture.autocreate', 'min'=>0, 'max'=>1}, - 'autodelete' => {'type'=>'boolean', 'path'=>'Fixture.autodelete', 'min'=>0, 'max'=>1}, - 'resource' => {'type'=>'Reference', 'path'=>'Fixture.resource', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Fixture.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Fixture.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Fixture.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'autocreate' => { 'type' => 'boolean', 'path' => 'Fixture.autocreate', 'min' => 0, 'max' => 1 }, + 'autodelete' => { 'type' => 'boolean', 'path' => 'Fixture.autodelete', 'min' => 0, 'max' => 1 }, + 'resource' => { 'type' => 'Reference', 'path' => 'Fixture.resource', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -154,13 +154,13 @@ class Variable < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Variable.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Variable.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Variable.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Variable.name', 'min'=>1, 'max'=>1}, - 'headerField' => {'type'=>'string', 'path'=>'Variable.headerField', 'min'=>0, 'max'=>1}, - 'path' => {'type'=>'string', 'path'=>'Variable.path', 'min'=>0, 'max'=>1}, - 'sourceId' => {'type'=>'id', 'path'=>'Variable.sourceId', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Variable.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Variable.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Variable.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Variable.name', 'min' => 1, 'max' => 1 }, + 'headerField' => { 'type' => 'string', 'path' => 'Variable.headerField', 'min' => 0, 'max' => 1 }, + 'path' => { 'type' => 'string', 'path' => 'Variable.path', 'min' => 0, 'max' => 1 }, + 'sourceId' => { 'type' => 'id', 'path' => 'Variable.sourceId', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -178,11 +178,11 @@ class Setup < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Setup.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Setup.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Setup.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'metadata' => {'type'=>'TestScript::Metadata', 'path'=>'Setup.metadata', 'min'=>0, 'max'=>1}, - 'action' => {'type'=>'TestScript::Setup::Action', 'path'=>'Setup.action', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Setup.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Setup.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Setup.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'metadata' => { 'type' => 'TestScript::Metadata', 'path' => 'Setup.metadata', 'min' => 0, 'max' => 1 }, + 'action' => { 'type' => 'TestScript::Setup::Action', 'path' => 'Setup.action', 'min' => 1, 'max' => Float::INFINITY } } class Action < FHIR::DSTU2::Model @@ -191,11 +191,11 @@ class Action < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Action.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'operation' => {'type'=>'TestScript::Setup::Action::Operation', 'path'=>'Action.operation', 'min'=>0, 'max'=>1}, - 'assert' => {'type'=>'TestScript::Setup::Action::Assert', 'path'=>'Action.assert', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Action.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Action.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Action.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'operation' => { 'type' => 'TestScript::Setup::Action::Operation', 'path' => 'Action.operation', 'min' => 0, 'max' => 1 }, + 'assert' => { 'type' => 'TestScript::Setup::Action::Assert', 'path' => 'Action.assert', 'min' => 0, 'max' => 1 } } class Operation < FHIR::DSTU2::Model @@ -204,23 +204,23 @@ class Operation < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Operation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Operation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Operation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/testscript-operation-codes'=>['read', 'vread', 'update', 'delete', 'history', 'create', 'search', 'transaction', 'conformance', 'closure', 'document', 'everything', 'expand', 'find', 'lookup', 'meta', 'meta-add', 'meta-delete', 'populate', 'process-message', 'questionnaire', 'translate', 'validate', 'validate-code']}, 'type'=>'Coding', 'path'=>'Operation.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/testscript-operation-codes'}}, - 'resource' => {'valid_codes'=>{'http://hl7.org/fhir/data-types'=>['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Operation.resource', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/defined-types'}}, - 'label' => {'type'=>'string', 'path'=>'Operation.label', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Operation.description', 'min'=>0, 'max'=>1}, - 'accept' => {'valid_codes'=>{'http://hl7.org/fhir/content-type'=>['xml', 'json']}, 'type'=>'code', 'path'=>'Operation.accept', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/content-type'}}, - 'contentType' => {'valid_codes'=>{'http://hl7.org/fhir/content-type'=>['xml', 'json']}, 'type'=>'code', 'path'=>'Operation.contentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/content-type'}}, - 'destination' => {'type'=>'integer', 'path'=>'Operation.destination', 'min'=>0, 'max'=>1}, - 'encodeRequestUrl' => {'type'=>'boolean', 'path'=>'Operation.encodeRequestUrl', 'min'=>0, 'max'=>1}, - 'params' => {'type'=>'string', 'path'=>'Operation.params', 'min'=>0, 'max'=>1}, - 'requestHeader' => {'type'=>'TestScript::Setup::Action::Operation::RequestHeader', 'path'=>'Operation.requestHeader', 'min'=>0, 'max'=>Float::INFINITY}, - 'responseId' => {'type'=>'id', 'path'=>'Operation.responseId', 'min'=>0, 'max'=>1}, - 'sourceId' => {'type'=>'id', 'path'=>'Operation.sourceId', 'min'=>0, 'max'=>1}, - 'targetId' => {'type'=>'id', 'path'=>'Operation.targetId', 'min'=>0, 'max'=>1}, - 'url' => {'type'=>'string', 'path'=>'Operation.url', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Operation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Operation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Operation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/testscript-operation-codes' => ['read', 'vread', 'update', 'delete', 'history', 'create', 'search', 'transaction', 'conformance', 'closure', 'document', 'everything', 'expand', 'find', 'lookup', 'meta', 'meta-add', 'meta-delete', 'populate', 'process-message', 'questionnaire', 'translate', 'validate', 'validate-code'] }, 'type' => 'Coding', 'path' => 'Operation.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/testscript-operation-codes' } }, + 'resource' => { 'valid_codes' => { 'http://hl7.org/fhir/data-types' => ['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Operation.resource', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/defined-types' } }, + 'label' => { 'type' => 'string', 'path' => 'Operation.label', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Operation.description', 'min' => 0, 'max' => 1 }, + 'accept' => { 'valid_codes' => { 'http://hl7.org/fhir/content-type' => ['xml', 'json'] }, 'type' => 'code', 'path' => 'Operation.accept', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/content-type' } }, + 'contentType' => { 'valid_codes' => { 'http://hl7.org/fhir/content-type' => ['xml', 'json'] }, 'type' => 'code', 'path' => 'Operation.contentType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/content-type' } }, + 'destination' => { 'type' => 'integer', 'path' => 'Operation.destination', 'min' => 0, 'max' => 1 }, + 'encodeRequestUrl' => { 'type' => 'boolean', 'path' => 'Operation.encodeRequestUrl', 'min' => 0, 'max' => 1 }, + 'params' => { 'type' => 'string', 'path' => 'Operation.params', 'min' => 0, 'max' => 1 }, + 'requestHeader' => { 'type' => 'TestScript::Setup::Action::Operation::RequestHeader', 'path' => 'Operation.requestHeader', 'min' => 0, 'max' => Float::INFINITY }, + 'responseId' => { 'type' => 'id', 'path' => 'Operation.responseId', 'min' => 0, 'max' => 1 }, + 'sourceId' => { 'type' => 'id', 'path' => 'Operation.sourceId', 'min' => 0, 'max' => 1 }, + 'targetId' => { 'type' => 'id', 'path' => 'Operation.targetId', 'min' => 0, 'max' => 1 }, + 'url' => { 'type' => 'string', 'path' => 'Operation.url', 'min' => 0, 'max' => 1 } } class RequestHeader < FHIR::DSTU2::Model @@ -229,11 +229,11 @@ class RequestHeader < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'RequestHeader.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'RequestHeader.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'RequestHeader.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'field' => {'type'=>'string', 'path'=>'RequestHeader.field', 'min'=>1, 'max'=>1}, - 'value' => {'type'=>'string', 'path'=>'RequestHeader.value', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'RequestHeader.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'RequestHeader.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RequestHeader.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'field' => { 'type' => 'string', 'path' => 'RequestHeader.field', 'min' => 1, 'max' => 1 }, + 'value' => { 'type' => 'string', 'path' => 'RequestHeader.value', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -268,27 +268,27 @@ class Assert < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Assert.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Assert.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Assert.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'label' => {'type'=>'string', 'path'=>'Assert.label', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Assert.description', 'min'=>0, 'max'=>1}, - 'direction' => {'valid_codes'=>{'http://hl7.org/fhir/assert-direction-codes'=>['response', 'request']}, 'type'=>'code', 'path'=>'Assert.direction', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/assert-direction-codes'}}, - 'compareToSourceId' => {'type'=>'string', 'path'=>'Assert.compareToSourceId', 'min'=>0, 'max'=>1}, - 'compareToSourcePath' => {'type'=>'string', 'path'=>'Assert.compareToSourcePath', 'min'=>0, 'max'=>1}, - 'contentType' => {'valid_codes'=>{'http://hl7.org/fhir/content-type'=>['xml', 'json']}, 'type'=>'code', 'path'=>'Assert.contentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/content-type'}}, - 'headerField' => {'type'=>'string', 'path'=>'Assert.headerField', 'min'=>0, 'max'=>1}, - 'minimumId' => {'type'=>'string', 'path'=>'Assert.minimumId', 'min'=>0, 'max'=>1}, - 'navigationLinks' => {'type'=>'boolean', 'path'=>'Assert.navigationLinks', 'min'=>0, 'max'=>1}, - 'operator' => {'valid_codes'=>{'http://hl7.org/fhir/assert-operator-codes'=>['equals', 'notEquals', 'in', 'notIn', 'greaterThan', 'lessThan', 'empty', 'notEmpty', 'contains', 'notContains']}, 'type'=>'code', 'path'=>'Assert.operator', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/assert-operator-codes'}}, - 'path' => {'type'=>'string', 'path'=>'Assert.path', 'min'=>0, 'max'=>1}, - 'resource' => {'valid_codes'=>{'http://hl7.org/fhir/data-types'=>['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Assert.resource', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/defined-types'}}, - 'response' => {'valid_codes'=>{'http://hl7.org/fhir/assert-response-code-types'=>['okay', 'created', 'noContent', 'notModified', 'bad', 'forbidden', 'notFound', 'methodNotAllowed', 'conflict', 'gone', 'preconditionFailed', 'unprocessable']}, 'type'=>'code', 'path'=>'Assert.response', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/assert-response-code-types'}}, - 'responseCode' => {'type'=>'string', 'path'=>'Assert.responseCode', 'min'=>0, 'max'=>1}, - 'sourceId' => {'type'=>'id', 'path'=>'Assert.sourceId', 'min'=>0, 'max'=>1}, - 'validateProfileId' => {'type'=>'id', 'path'=>'Assert.validateProfileId', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'string', 'path'=>'Assert.value', 'min'=>0, 'max'=>1}, - 'warningOnly' => {'type'=>'boolean', 'path'=>'Assert.warningOnly', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Assert.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Assert.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Assert.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'label' => { 'type' => 'string', 'path' => 'Assert.label', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Assert.description', 'min' => 0, 'max' => 1 }, + 'direction' => { 'valid_codes' => { 'http://hl7.org/fhir/assert-direction-codes' => ['response', 'request'] }, 'type' => 'code', 'path' => 'Assert.direction', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/assert-direction-codes' } }, + 'compareToSourceId' => { 'type' => 'string', 'path' => 'Assert.compareToSourceId', 'min' => 0, 'max' => 1 }, + 'compareToSourcePath' => { 'type' => 'string', 'path' => 'Assert.compareToSourcePath', 'min' => 0, 'max' => 1 }, + 'contentType' => { 'valid_codes' => { 'http://hl7.org/fhir/content-type' => ['xml', 'json'] }, 'type' => 'code', 'path' => 'Assert.contentType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/content-type' } }, + 'headerField' => { 'type' => 'string', 'path' => 'Assert.headerField', 'min' => 0, 'max' => 1 }, + 'minimumId' => { 'type' => 'string', 'path' => 'Assert.minimumId', 'min' => 0, 'max' => 1 }, + 'navigationLinks' => { 'type' => 'boolean', 'path' => 'Assert.navigationLinks', 'min' => 0, 'max' => 1 }, + 'operator' => { 'valid_codes' => { 'http://hl7.org/fhir/assert-operator-codes' => ['equals', 'notEquals', 'in', 'notIn', 'greaterThan', 'lessThan', 'empty', 'notEmpty', 'contains', 'notContains'] }, 'type' => 'code', 'path' => 'Assert.operator', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/assert-operator-codes' } }, + 'path' => { 'type' => 'string', 'path' => 'Assert.path', 'min' => 0, 'max' => 1 }, + 'resource' => { 'valid_codes' => { 'http://hl7.org/fhir/data-types' => ['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Assert.resource', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/defined-types' } }, + 'response' => { 'valid_codes' => { 'http://hl7.org/fhir/assert-response-code-types' => ['okay', 'created', 'noContent', 'notModified', 'bad', 'forbidden', 'notFound', 'methodNotAllowed', 'conflict', 'gone', 'preconditionFailed', 'unprocessable'] }, 'type' => 'code', 'path' => 'Assert.response', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/assert-response-code-types' } }, + 'responseCode' => { 'type' => 'string', 'path' => 'Assert.responseCode', 'min' => 0, 'max' => 1 }, + 'sourceId' => { 'type' => 'id', 'path' => 'Assert.sourceId', 'min' => 0, 'max' => 1 }, + 'validateProfileId' => { 'type' => 'id', 'path' => 'Assert.validateProfileId', 'min' => 0, 'max' => 1 }, + 'value' => { 'type' => 'string', 'path' => 'Assert.value', 'min' => 0, 'max' => 1 }, + 'warningOnly' => { 'type' => 'boolean', 'path' => 'Assert.warningOnly', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -334,13 +334,13 @@ class Test < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Test.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Test.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Test.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Test.name', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'Test.description', 'min'=>0, 'max'=>1}, - 'metadata' => {'type'=>'TestScript::Metadata', 'path'=>'Test.metadata', 'min'=>0, 'max'=>1}, - 'action' => {'type'=>'TestScript::Test::Action', 'path'=>'Test.action', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Test.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Test.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Test.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Test.name', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'Test.description', 'min' => 0, 'max' => 1 }, + 'metadata' => { 'type' => 'TestScript::Metadata', 'path' => 'Test.metadata', 'min' => 0, 'max' => 1 }, + 'action' => { 'type' => 'TestScript::Test::Action', 'path' => 'Test.action', 'min' => 1, 'max' => Float::INFINITY } } class Action < FHIR::DSTU2::Model @@ -349,11 +349,11 @@ class Action < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Action.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'operation' => {'type'=>'TestScript::Setup::Action::Operation', 'path'=>'Action.operation', 'min'=>0, 'max'=>1}, - 'assert' => {'type'=>'TestScript::Setup::Action::Assert', 'path'=>'Action.assert', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Action.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Action.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Action.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'operation' => { 'type' => 'TestScript::Setup::Action::Operation', 'path' => 'Action.operation', 'min' => 0, 'max' => 1 }, + 'assert' => { 'type' => 'TestScript::Setup::Action::Assert', 'path' => 'Action.assert', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -378,10 +378,10 @@ class Teardown < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Teardown.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Teardown.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Teardown.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'action' => {'type'=>'TestScript::Teardown::Action', 'path'=>'Teardown.action', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Teardown.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Teardown.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Teardown.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'action' => { 'type' => 'TestScript::Teardown::Action', 'path' => 'Teardown.action', 'min' => 1, 'max' => Float::INFINITY } } class Action < FHIR::DSTU2::Model @@ -390,10 +390,10 @@ class Action < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Action.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'operation' => {'type'=>'TestScript::Setup::Action::Operation', 'path'=>'Action.operation', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Action.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Action.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Action.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'operation' => { 'type' => 'TestScript::Setup::Action::Operation', 'path' => 'Action.operation', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb b/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb index dd0c2756..23248774 100644 --- a/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb +++ b/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb @@ -7,33 +7,33 @@ class ValueSet < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'context', 'date', 'description', 'expansion', 'identifier', 'name', 'publisher', 'reference', 'status', 'system', 'url', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'ValueSet.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'ValueSet.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'ValueSet.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'ValueSet.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'ValueSet.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'ValueSet.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'ValueSet.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'ValueSet.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'ValueSet.url', 'min'=>0, 'max'=>1}, - 'identifier' => {'type'=>'Identifier', 'path'=>'ValueSet.identifier', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'ValueSet.version', 'min'=>0, 'max'=>1}, - 'name' => {'type'=>'string', 'path'=>'ValueSet.name', 'min'=>0, 'max'=>1}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'ValueSet.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, - 'experimental' => {'type'=>'boolean', 'path'=>'ValueSet.experimental', 'min'=>0, 'max'=>1}, - 'publisher' => {'type'=>'string', 'path'=>'ValueSet.publisher', 'min'=>0, 'max'=>1}, - 'contact' => {'type'=>'ValueSet::Contact', 'path'=>'ValueSet.contact', 'min'=>0, 'max'=>Float::INFINITY}, - 'date' => {'type'=>'dateTime', 'path'=>'ValueSet.date', 'min'=>0, 'max'=>1}, - 'lockedDate' => {'type'=>'date', 'path'=>'ValueSet.lockedDate', 'min'=>0, 'max'=>1}, - 'description' => {'type'=>'string', 'path'=>'ValueSet.description', 'min'=>0, 'max'=>1}, - 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'ValueSet.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, - 'immutable' => {'type'=>'boolean', 'path'=>'ValueSet.immutable', 'min'=>0, 'max'=>1}, - 'requirements' => {'type'=>'string', 'path'=>'ValueSet.requirements', 'min'=>0, 'max'=>1}, - 'copyright' => {'type'=>'string', 'path'=>'ValueSet.copyright', 'min'=>0, 'max'=>1}, - 'extensible' => {'type'=>'boolean', 'path'=>'ValueSet.extensible', 'min'=>0, 'max'=>1}, - 'codeSystem' => {'type'=>'ValueSet::CodeSystem', 'path'=>'ValueSet.codeSystem', 'min'=>0, 'max'=>1}, - 'compose' => {'type'=>'ValueSet::Compose', 'path'=>'ValueSet.compose', 'min'=>0, 'max'=>1}, - 'expansion' => {'type'=>'ValueSet::Expansion', 'path'=>'ValueSet.expansion', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ValueSet.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'ValueSet.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'ValueSet.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'ValueSet.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'ValueSet.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'ValueSet.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'ValueSet.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ValueSet.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'ValueSet.url', 'min' => 0, 'max' => 1 }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'ValueSet.identifier', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'ValueSet.version', 'min' => 0, 'max' => 1 }, + 'name' => { 'type' => 'string', 'path' => 'ValueSet.name', 'min' => 0, 'max' => 1 }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'ValueSet.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, + 'experimental' => { 'type' => 'boolean', 'path' => 'ValueSet.experimental', 'min' => 0, 'max' => 1 }, + 'publisher' => { 'type' => 'string', 'path' => 'ValueSet.publisher', 'min' => 0, 'max' => 1 }, + 'contact' => { 'type' => 'ValueSet::Contact', 'path' => 'ValueSet.contact', 'min' => 0, 'max' => Float::INFINITY }, + 'date' => { 'type' => 'dateTime', 'path' => 'ValueSet.date', 'min' => 0, 'max' => 1 }, + 'lockedDate' => { 'type' => 'date', 'path' => 'ValueSet.lockedDate', 'min' => 0, 'max' => 1 }, + 'description' => { 'type' => 'string', 'path' => 'ValueSet.description', 'min' => 0, 'max' => 1 }, + 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'ValueSet.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, + 'immutable' => { 'type' => 'boolean', 'path' => 'ValueSet.immutable', 'min' => 0, 'max' => 1 }, + 'requirements' => { 'type' => 'string', 'path' => 'ValueSet.requirements', 'min' => 0, 'max' => 1 }, + 'copyright' => { 'type' => 'string', 'path' => 'ValueSet.copyright', 'min' => 0, 'max' => 1 }, + 'extensible' => { 'type' => 'boolean', 'path' => 'ValueSet.extensible', 'min' => 0, 'max' => 1 }, + 'codeSystem' => { 'type' => 'ValueSet::CodeSystem', 'path' => 'ValueSet.codeSystem', 'min' => 0, 'max' => 1 }, + 'compose' => { 'type' => 'ValueSet::Compose', 'path' => 'ValueSet.compose', 'min' => 0, 'max' => 1 }, + 'expansion' => { 'type' => 'ValueSet::Expansion', 'path' => 'ValueSet.expansion', 'min' => 0, 'max' => 1 } } class Contact < FHIR::DSTU2::Model @@ -42,11 +42,11 @@ class Contact < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1}, - 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 }, + 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -62,13 +62,13 @@ class CodeSystem < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'CodeSystem.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'CodeSystem.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'CodeSystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'system' => {'type'=>'uri', 'path'=>'CodeSystem.system', 'min'=>1, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'CodeSystem.version', 'min'=>0, 'max'=>1}, - 'caseSensitive' => {'type'=>'boolean', 'path'=>'CodeSystem.caseSensitive', 'min'=>0, 'max'=>1}, - 'concept' => {'type'=>'ValueSet::CodeSystem::Concept', 'path'=>'CodeSystem.concept', 'min'=>1, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'CodeSystem.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'CodeSystem.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'CodeSystem.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'system' => { 'type' => 'uri', 'path' => 'CodeSystem.system', 'min' => 1, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'CodeSystem.version', 'min' => 0, 'max' => 1 }, + 'caseSensitive' => { 'type' => 'boolean', 'path' => 'CodeSystem.caseSensitive', 'min' => 0, 'max' => 1 }, + 'concept' => { 'type' => 'ValueSet::CodeSystem::Concept', 'path' => 'CodeSystem.concept', 'min' => 1, 'max' => Float::INFINITY } } class Concept < FHIR::DSTU2::Model @@ -77,15 +77,15 @@ class Concept < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Concept.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Concept.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Concept.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'type'=>'code', 'path'=>'Concept.code', 'min'=>1, 'max'=>1}, - 'abstract' => {'type'=>'boolean', 'path'=>'Concept.abstract', 'min'=>0, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'Concept.display', 'min'=>0, 'max'=>1}, - 'definition' => {'type'=>'string', 'path'=>'Concept.definition', 'min'=>0, 'max'=>1}, - 'designation' => {'type'=>'ValueSet::CodeSystem::Concept::Designation', 'path'=>'Concept.designation', 'min'=>0, 'max'=>Float::INFINITY}, - 'concept' => {'type'=>'ValueSet::CodeSystem::Concept', 'path'=>'Concept.concept', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Concept.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Concept.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Concept.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'type' => 'code', 'path' => 'Concept.code', 'min' => 1, 'max' => 1 }, + 'abstract' => { 'type' => 'boolean', 'path' => 'Concept.abstract', 'min' => 0, 'max' => 1 }, + 'display' => { 'type' => 'string', 'path' => 'Concept.display', 'min' => 0, 'max' => 1 }, + 'definition' => { 'type' => 'string', 'path' => 'Concept.definition', 'min' => 0, 'max' => 1 }, + 'designation' => { 'type' => 'ValueSet::CodeSystem::Concept::Designation', 'path' => 'Concept.designation', 'min' => 0, 'max' => Float::INFINITY }, + 'concept' => { 'type' => 'ValueSet::CodeSystem::Concept', 'path' => 'Concept.concept', 'min' => 0, 'max' => Float::INFINITY } } class Designation < FHIR::DSTU2::Model @@ -94,12 +94,12 @@ class Designation < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Designation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Designation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Designation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'language' => {'type'=>'code', 'path'=>'Designation.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'use' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'Coding', 'path'=>'Designation.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/designation-use'}}, - 'value' => {'type'=>'string', 'path'=>'Designation.value', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Designation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Designation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Designation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'language' => { 'type' => 'code', 'path' => 'Designation.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'use' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'Coding', 'path' => 'Designation.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/designation-use' } }, + 'value' => { 'type' => 'string', 'path' => 'Designation.value', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -136,12 +136,12 @@ class Compose < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Compose.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Compose.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Compose.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'import' => {'type'=>'uri', 'path'=>'Compose.import', 'min'=>0, 'max'=>Float::INFINITY}, - 'include' => {'type'=>'ValueSet::Compose::Include', 'path'=>'Compose.include', 'min'=>0, 'max'=>Float::INFINITY}, - 'exclude' => {'type'=>'ValueSet::Compose::Include', 'path'=>'Compose.exclude', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Compose.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Compose.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Compose.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'import' => { 'type' => 'uri', 'path' => 'Compose.import', 'min' => 0, 'max' => Float::INFINITY }, + 'include' => { 'type' => 'ValueSet::Compose::Include', 'path' => 'Compose.include', 'min' => 0, 'max' => Float::INFINITY }, + 'exclude' => { 'type' => 'ValueSet::Compose::Include', 'path' => 'Compose.exclude', 'min' => 0, 'max' => Float::INFINITY } } class Include < FHIR::DSTU2::Model @@ -150,13 +150,13 @@ class Include < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Include.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Include.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Include.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'system' => {'type'=>'uri', 'path'=>'Include.system', 'min'=>1, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Include.version', 'min'=>0, 'max'=>1}, - 'concept' => {'type'=>'ValueSet::Compose::Include::Concept', 'path'=>'Include.concept', 'min'=>0, 'max'=>Float::INFINITY}, - 'filter' => {'type'=>'ValueSet::Compose::Include::Filter', 'path'=>'Include.filter', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Include.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Include.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Include.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'system' => { 'type' => 'uri', 'path' => 'Include.system', 'min' => 1, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'Include.version', 'min' => 0, 'max' => 1 }, + 'concept' => { 'type' => 'ValueSet::Compose::Include::Concept', 'path' => 'Include.concept', 'min' => 0, 'max' => Float::INFINITY }, + 'filter' => { 'type' => 'ValueSet::Compose::Include::Filter', 'path' => 'Include.filter', 'min' => 0, 'max' => Float::INFINITY } } class Concept < FHIR::DSTU2::Model @@ -165,12 +165,12 @@ class Concept < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Concept.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Concept.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Concept.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'type'=>'code', 'path'=>'Concept.code', 'min'=>1, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'Concept.display', 'min'=>0, 'max'=>1}, - 'designation' => {'type'=>'ValueSet::CodeSystem::Concept::Designation', 'path'=>'Concept.designation', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Concept.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Concept.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Concept.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'type' => 'code', 'path' => 'Concept.code', 'min' => 1, 'max' => 1 }, + 'display' => { 'type' => 'string', 'path' => 'Concept.display', 'min' => 0, 'max' => 1 }, + 'designation' => { 'type' => 'ValueSet::CodeSystem::Concept::Designation', 'path' => 'Concept.designation', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id @@ -187,12 +187,12 @@ class Filter < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Filter.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Filter.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Filter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'property' => {'type'=>'code', 'path'=>'Filter.property', 'min'=>1, 'max'=>1}, - 'op' => {'valid_codes'=>{'http://hl7.org/fhir/filter-operator'=>['=', 'is-a', 'is-not-a', 'regex', 'in', 'not-in']}, 'type'=>'code', 'path'=>'Filter.op', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/filter-operator'}}, - 'value' => {'type'=>'code', 'path'=>'Filter.value', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Filter.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Filter.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Filter.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'property' => { 'type' => 'code', 'path' => 'Filter.property', 'min' => 1, 'max' => 1 }, + 'op' => { 'valid_codes' => { 'http://hl7.org/fhir/filter-operator' => ['=', 'is-a', 'is-not-a', 'regex', 'in', 'not-in'] }, 'type' => 'code', 'path' => 'Filter.op', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/filter-operator' } }, + 'value' => { 'type' => 'code', 'path' => 'Filter.value', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -226,15 +226,15 @@ class Expansion < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Expansion.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Expansion.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Expansion.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'uri', 'path'=>'Expansion.identifier', 'min'=>1, 'max'=>1}, - 'timestamp' => {'type'=>'dateTime', 'path'=>'Expansion.timestamp', 'min'=>1, 'max'=>1}, - 'total' => {'type'=>'integer', 'path'=>'Expansion.total', 'min'=>0, 'max'=>1}, - 'offset' => {'type'=>'integer', 'path'=>'Expansion.offset', 'min'=>0, 'max'=>1}, - 'parameter' => {'type'=>'ValueSet::Expansion::Parameter', 'path'=>'Expansion.parameter', 'min'=>0, 'max'=>Float::INFINITY}, - 'contains' => {'type'=>'ValueSet::Expansion::Contains', 'path'=>'Expansion.contains', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Expansion.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Expansion.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Expansion.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'uri', 'path' => 'Expansion.identifier', 'min' => 1, 'max' => 1 }, + 'timestamp' => { 'type' => 'dateTime', 'path' => 'Expansion.timestamp', 'min' => 1, 'max' => 1 }, + 'total' => { 'type' => 'integer', 'path' => 'Expansion.total', 'min' => 0, 'max' => 1 }, + 'offset' => { 'type' => 'integer', 'path' => 'Expansion.offset', 'min' => 0, 'max' => 1 }, + 'parameter' => { 'type' => 'ValueSet::Expansion::Parameter', 'path' => 'Expansion.parameter', 'min' => 0, 'max' => Float::INFINITY }, + 'contains' => { 'type' => 'ValueSet::Expansion::Contains', 'path' => 'Expansion.contains', 'min' => 0, 'max' => Float::INFINITY } } class Parameter < FHIR::DSTU2::Model @@ -246,16 +246,16 @@ class Parameter < FHIR::DSTU2::Model 'value' => ['string', 'boolean', 'integer', 'decimal', 'uri', 'code'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Parameter.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Parameter.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Parameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'name' => {'type'=>'string', 'path'=>'Parameter.name', 'min'=>1, 'max'=>1}, - 'valueString' => {'type'=>'string', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueBoolean' => {'type'=>'boolean', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueInteger' => {'type'=>'integer', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueDecimal' => {'type'=>'decimal', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueUri' => {'type'=>'uri', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, - 'valueCode' => {'type'=>'code', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Parameter.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Parameter.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Parameter.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'name' => { 'type' => 'string', 'path' => 'Parameter.name', 'min' => 1, 'max' => 1 }, + 'valueString' => { 'type' => 'string', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueBoolean' => { 'type' => 'boolean', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueInteger' => { 'type' => 'integer', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDecimal' => { 'type' => 'decimal', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueUri' => { 'type' => 'uri', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCode' => { 'type' => 'code', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -276,15 +276,15 @@ class Contains < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Contains.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Contains.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contains.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'system' => {'type'=>'uri', 'path'=>'Contains.system', 'min'=>0, 'max'=>1}, - 'abstract' => {'type'=>'boolean', 'path'=>'Contains.abstract', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Contains.version', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'Contains.code', 'min'=>0, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'Contains.display', 'min'=>0, 'max'=>1}, - 'contains' => {'type'=>'ValueSet::Expansion::Contains', 'path'=>'Contains.contains', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Contains.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Contains.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contains.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'system' => { 'type' => 'uri', 'path' => 'Contains.system', 'min' => 0, 'max' => 1 }, + 'abstract' => { 'type' => 'boolean', 'path' => 'Contains.abstract', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'Contains.version', 'min' => 0, 'max' => 1 }, + 'code' => { 'type' => 'code', 'path' => 'Contains.code', 'min' => 0, 'max' => 1 }, + 'display' => { 'type' => 'string', 'path' => 'Contains.display', 'min' => 0, 'max' => 1 }, + 'contains' => { 'type' => 'ValueSet::Expansion::Contains', 'path' => 'Contains.contains', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb b/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb index dee4e4d2..6e80f31d 100644 --- a/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb +++ b/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb @@ -10,22 +10,22 @@ class VisionPrescription < FHIR::DSTU2::Model } SEARCH_PARAMS = ['datewritten', 'encounter', 'identifier', 'patient', 'prescriber'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'VisionPrescription.id', 'min'=>0, 'max'=>1}, - 'meta' => {'type'=>'Meta', 'path'=>'VisionPrescription.meta', 'min'=>0, 'max'=>1}, - 'implicitRules' => {'type'=>'uri', 'path'=>'VisionPrescription.implicitRules', 'min'=>0, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'VisionPrescription.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'text' => {'type'=>'Narrative', 'path'=>'VisionPrescription.text', 'min'=>0, 'max'=>1}, - 'contained' => {'type'=>'Resource', 'path'=>'VisionPrescription.contained', 'min'=>0, 'max'=>Float::INFINITY}, - 'extension' => {'type'=>'Extension', 'path'=>'VisionPrescription.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'VisionPrescription.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identifier' => {'type'=>'Identifier', 'path'=>'VisionPrescription.identifier', 'min'=>0, 'max'=>Float::INFINITY}, - 'dateWritten' => {'type'=>'dateTime', 'path'=>'VisionPrescription.dateWritten', 'min'=>0, 'max'=>1}, - 'patient' => {'type'=>'Reference', 'path'=>'VisionPrescription.patient', 'min'=>0, 'max'=>1}, - 'prescriber' => {'type'=>'Reference', 'path'=>'VisionPrescription.prescriber', 'min'=>0, 'max'=>1}, - 'encounter' => {'type'=>'Reference', 'path'=>'VisionPrescription.encounter', 'min'=>0, 'max'=>1}, - 'reasonCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'VisionPrescription.reason[x]', 'min'=>0, 'max'=>1}, - 'reasonReference' => {'type'=>'Reference', 'path'=>'VisionPrescription.reason[x]', 'min'=>0, 'max'=>1}, - 'dispense' => {'type'=>'VisionPrescription::Dispense', 'path'=>'VisionPrescription.dispense', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'VisionPrescription.id', 'min' => 0, 'max' => 1 }, + 'meta' => { 'type' => 'Meta', 'path' => 'VisionPrescription.meta', 'min' => 0, 'max' => 1 }, + 'implicitRules' => { 'type' => 'uri', 'path' => 'VisionPrescription.implicitRules', 'min' => 0, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'VisionPrescription.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'text' => { 'type' => 'Narrative', 'path' => 'VisionPrescription.text', 'min' => 0, 'max' => 1 }, + 'contained' => { 'type' => 'Resource', 'path' => 'VisionPrescription.contained', 'min' => 0, 'max' => Float::INFINITY }, + 'extension' => { 'type' => 'Extension', 'path' => 'VisionPrescription.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'VisionPrescription.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'identifier' => { 'type' => 'Identifier', 'path' => 'VisionPrescription.identifier', 'min' => 0, 'max' => Float::INFINITY }, + 'dateWritten' => { 'type' => 'dateTime', 'path' => 'VisionPrescription.dateWritten', 'min' => 0, 'max' => 1 }, + 'patient' => { 'type' => 'Reference', 'path' => 'VisionPrescription.patient', 'min' => 0, 'max' => 1 }, + 'prescriber' => { 'type' => 'Reference', 'path' => 'VisionPrescription.prescriber', 'min' => 0, 'max' => 1 }, + 'encounter' => { 'type' => 'Reference', 'path' => 'VisionPrescription.encounter', 'min' => 0, 'max' => 1 }, + 'reasonCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'VisionPrescription.reason[x]', 'min' => 0, 'max' => 1 }, + 'reasonReference' => { 'type' => 'Reference', 'path' => 'VisionPrescription.reason[x]', 'min' => 0, 'max' => 1 }, + 'dispense' => { 'type' => 'VisionPrescription::Dispense', 'path' => 'VisionPrescription.dispense', 'min' => 0, 'max' => Float::INFINITY } } class Dispense < FHIR::DSTU2::Model @@ -34,24 +34,24 @@ class Dispense < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Dispense.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Dispense.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'Dispense.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, - 'product' => {'valid_codes'=>{'http://hl7.org/fhir/ex-visionprescriptionproduct'=>['lens', 'contact']}, 'type'=>'Coding', 'path'=>'Dispense.product', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vision-product'}}, - 'eye' => {'valid_codes'=>{'http://hl7.org/fhir/vision-eye-codes'=>['right', 'left']}, 'type'=>'code', 'path'=>'Dispense.eye', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/vision-eye-codes'}}, - 'sphere' => {'type'=>'decimal', 'path'=>'Dispense.sphere', 'min'=>0, 'max'=>1}, - 'cylinder' => {'type'=>'decimal', 'path'=>'Dispense.cylinder', 'min'=>0, 'max'=>1}, - 'axis' => {'type'=>'integer', 'path'=>'Dispense.axis', 'min'=>0, 'max'=>1}, - 'prism' => {'type'=>'decimal', 'path'=>'Dispense.prism', 'min'=>0, 'max'=>1}, - 'base' => {'valid_codes'=>{'http://hl7.org/fhir/vision-base-codes'=>['up', 'down', 'in', 'out']}, 'type'=>'code', 'path'=>'Dispense.base', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/vision-base-codes'}}, - 'add' => {'type'=>'decimal', 'path'=>'Dispense.add', 'min'=>0, 'max'=>1}, - 'power' => {'type'=>'decimal', 'path'=>'Dispense.power', 'min'=>0, 'max'=>1}, - 'backCurve' => {'type'=>'decimal', 'path'=>'Dispense.backCurve', 'min'=>0, 'max'=>1}, - 'diameter' => {'type'=>'decimal', 'path'=>'Dispense.diameter', 'min'=>0, 'max'=>1}, - 'duration' => {'type'=>'Quantity', 'path'=>'Dispense.duration', 'min'=>0, 'max'=>1}, - 'color' => {'type'=>'string', 'path'=>'Dispense.color', 'min'=>0, 'max'=>1}, - 'brand' => {'type'=>'string', 'path'=>'Dispense.brand', 'min'=>0, 'max'=>1}, - 'notes' => {'type'=>'string', 'path'=>'Dispense.notes', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Dispense.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Dispense.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Dispense.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, + 'product' => { 'valid_codes' => { 'http://hl7.org/fhir/ex-visionprescriptionproduct' => ['lens', 'contact'] }, 'type' => 'Coding', 'path' => 'Dispense.product', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/vision-product' } }, + 'eye' => { 'valid_codes' => { 'http://hl7.org/fhir/vision-eye-codes' => ['right', 'left'] }, 'type' => 'code', 'path' => 'Dispense.eye', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/vision-eye-codes' } }, + 'sphere' => { 'type' => 'decimal', 'path' => 'Dispense.sphere', 'min' => 0, 'max' => 1 }, + 'cylinder' => { 'type' => 'decimal', 'path' => 'Dispense.cylinder', 'min' => 0, 'max' => 1 }, + 'axis' => { 'type' => 'integer', 'path' => 'Dispense.axis', 'min' => 0, 'max' => 1 }, + 'prism' => { 'type' => 'decimal', 'path' => 'Dispense.prism', 'min' => 0, 'max' => 1 }, + 'base' => { 'valid_codes' => { 'http://hl7.org/fhir/vision-base-codes' => ['up', 'down', 'in', 'out'] }, 'type' => 'code', 'path' => 'Dispense.base', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/vision-base-codes' } }, + 'add' => { 'type' => 'decimal', 'path' => 'Dispense.add', 'min' => 0, 'max' => 1 }, + 'power' => { 'type' => 'decimal', 'path' => 'Dispense.power', 'min' => 0, 'max' => 1 }, + 'backCurve' => { 'type' => 'decimal', 'path' => 'Dispense.backCurve', 'min' => 0, 'max' => 1 }, + 'diameter' => { 'type' => 'decimal', 'path' => 'Dispense.diameter', 'min' => 0, 'max' => 1 }, + 'duration' => { 'type' => 'Quantity', 'path' => 'Dispense.duration', 'min' => 0, 'max' => 1 }, + 'color' => { 'type' => 'string', 'path' => 'Dispense.color', 'min' => 0, 'max' => 1 }, + 'brand' => { 'type' => 'string', 'path' => 'Dispense.brand', 'min' => 0, 'max' => 1 }, + 'notes' => { 'type' => 'string', 'path' => 'Dispense.notes', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Address.rb b/lib/fhir_dstu2_models/fhir/types/Address.rb index 09db89ac..4417e781 100644 --- a/lib/fhir_dstu2_models/fhir/types/Address.rb +++ b/lib/fhir_dstu2_models/fhir/types/Address.rb @@ -7,18 +7,18 @@ class Address < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Address.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Address.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/address-use'=>['home', 'work', 'temp', 'old']}, 'type'=>'code', 'path'=>'Address.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/address-use'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/address-type'=>['postal', 'physical', 'both']}, 'type'=>'code', 'path'=>'Address.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/address-type'}}, - 'text' => {'type'=>'string', 'path'=>'Address.text', 'min'=>0, 'max'=>1}, - 'line' => {'type'=>'string', 'path'=>'Address.line', 'min'=>0, 'max'=>Float::INFINITY}, - 'city' => {'type'=>'string', 'path'=>'Address.city', 'min'=>0, 'max'=>1}, - 'district' => {'type'=>'string', 'path'=>'Address.district', 'min'=>0, 'max'=>1}, - 'state' => {'type'=>'string', 'path'=>'Address.state', 'min'=>0, 'max'=>1}, - 'postalCode' => {'type'=>'string', 'path'=>'Address.postalCode', 'min'=>0, 'max'=>1}, - 'country' => {'type'=>'string', 'path'=>'Address.country', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Address.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Address.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Address.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'use' => { 'valid_codes' => { 'http://hl7.org/fhir/address-use' => ['home', 'work', 'temp', 'old'] }, 'type' => 'code', 'path' => 'Address.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/address-use' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/address-type' => ['postal', 'physical', 'both'] }, 'type' => 'code', 'path' => 'Address.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/address-type' } }, + 'text' => { 'type' => 'string', 'path' => 'Address.text', 'min' => 0, 'max' => 1 }, + 'line' => { 'type' => 'string', 'path' => 'Address.line', 'min' => 0, 'max' => Float::INFINITY }, + 'city' => { 'type' => 'string', 'path' => 'Address.city', 'min' => 0, 'max' => 1 }, + 'district' => { 'type' => 'string', 'path' => 'Address.district', 'min' => 0, 'max' => 1 }, + 'state' => { 'type' => 'string', 'path' => 'Address.state', 'min' => 0, 'max' => 1 }, + 'postalCode' => { 'type' => 'string', 'path' => 'Address.postalCode', 'min' => 0, 'max' => 1 }, + 'country' => { 'type' => 'string', 'path' => 'Address.country', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'Address.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Annotation.rb b/lib/fhir_dstu2_models/fhir/types/Annotation.rb index 79620af6..3cdecc73 100644 --- a/lib/fhir_dstu2_models/fhir/types/Annotation.rb +++ b/lib/fhir_dstu2_models/fhir/types/Annotation.rb @@ -10,12 +10,12 @@ class Annotation < FHIR::DSTU2::Model } SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Annotation.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Annotation.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'authorReference' => {'type'=>'Reference', 'path'=>'Annotation.author[x]', 'min'=>0, 'max'=>1}, - 'authorString' => {'type'=>'string', 'path'=>'Annotation.author[x]', 'min'=>0, 'max'=>1}, - 'time' => {'type'=>'dateTime', 'path'=>'Annotation.time', 'min'=>0, 'max'=>1}, - 'text' => {'type'=>'string', 'path'=>'Annotation.text', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Annotation.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Annotation.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'authorReference' => { 'type' => 'Reference', 'path' => 'Annotation.author[x]', 'min' => 0, 'max' => 1 }, + 'authorString' => { 'type' => 'string', 'path' => 'Annotation.author[x]', 'min' => 0, 'max' => 1 }, + 'time' => { 'type' => 'dateTime', 'path' => 'Annotation.time', 'min' => 0, 'max' => 1 }, + 'text' => { 'type' => 'string', 'path' => 'Annotation.text', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Attachment.rb b/lib/fhir_dstu2_models/fhir/types/Attachment.rb index 02b448b1..e0c99cb8 100644 --- a/lib/fhir_dstu2_models/fhir/types/Attachment.rb +++ b/lib/fhir_dstu2_models/fhir/types/Attachment.rb @@ -7,16 +7,16 @@ class Attachment < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Attachment.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Attachment.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'contentType' => {'type'=>'code', 'path'=>'Attachment.contentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'language' => {'type'=>'code', 'path'=>'Attachment.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, - 'data' => {'type'=>'base64Binary', 'path'=>'Attachment.data', 'min'=>0, 'max'=>1}, - 'url' => {'type'=>'uri', 'path'=>'Attachment.url', 'min'=>0, 'max'=>1}, - 'size' => {'type'=>'unsignedInt', 'path'=>'Attachment.size', 'min'=>0, 'max'=>1}, - 'hash' => {'type'=>'base64Binary', 'path'=>'Attachment.hash', 'min'=>0, 'max'=>1}, - 'title' => {'type'=>'string', 'path'=>'Attachment.title', 'min'=>0, 'max'=>1}, - 'creation' => {'type'=>'dateTime', 'path'=>'Attachment.creation', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Attachment.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Attachment.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'contentType' => { 'type' => 'code', 'path' => 'Attachment.contentType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, + 'language' => { 'type' => 'code', 'path' => 'Attachment.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, + 'data' => { 'type' => 'base64Binary', 'path' => 'Attachment.data', 'min' => 0, 'max' => 1 }, + 'url' => { 'type' => 'uri', 'path' => 'Attachment.url', 'min' => 0, 'max' => 1 }, + 'size' => { 'type' => 'unsignedInt', 'path' => 'Attachment.size', 'min' => 0, 'max' => 1 }, + 'hash' => { 'type' => 'base64Binary', 'path' => 'Attachment.hash', 'min' => 0, 'max' => 1 }, + 'title' => { 'type' => 'string', 'path' => 'Attachment.title', 'min' => 0, 'max' => 1 }, + 'creation' => { 'type' => 'dateTime', 'path' => 'Attachment.creation', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb b/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb index 190947cc..d5091018 100644 --- a/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb +++ b/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb @@ -7,9 +7,9 @@ class BackboneElement < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'BackboneElement.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'BackboneElement.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'modifierExtension' => {'type'=>'Extension', 'path'=>'BackboneElement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'BackboneElement.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'BackboneElement.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'modifierExtension' => { 'type' => 'Extension', 'path' => 'BackboneElement.modifierExtension', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb b/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb index 3684de33..8a53bf8f 100644 --- a/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb +++ b/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb @@ -7,10 +7,10 @@ class CodeableConcept < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'CodeableConcept.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'CodeableConcept.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'coding' => {'type'=>'Coding', 'path'=>'CodeableConcept.coding', 'min'=>0, 'max'=>Float::INFINITY}, - 'text' => {'type'=>'string', 'path'=>'CodeableConcept.text', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'CodeableConcept.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'CodeableConcept.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'coding' => { 'type' => 'Coding', 'path' => 'CodeableConcept.coding', 'min' => 0, 'max' => Float::INFINITY }, + 'text' => { 'type' => 'string', 'path' => 'CodeableConcept.text', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Coding.rb b/lib/fhir_dstu2_models/fhir/types/Coding.rb index d020233d..d4c2d3f1 100644 --- a/lib/fhir_dstu2_models/fhir/types/Coding.rb +++ b/lib/fhir_dstu2_models/fhir/types/Coding.rb @@ -7,13 +7,13 @@ class Coding < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Coding.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Coding.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'system' => {'type'=>'uri', 'path'=>'Coding.system', 'min'=>0, 'max'=>1}, - 'version' => {'type'=>'string', 'path'=>'Coding.version', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'Coding.code', 'min'=>0, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'Coding.display', 'min'=>0, 'max'=>1}, - 'userSelected' => {'type'=>'boolean', 'path'=>'Coding.userSelected', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Coding.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Coding.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'system' => { 'type' => 'uri', 'path' => 'Coding.system', 'min' => 0, 'max' => 1 }, + 'version' => { 'type' => 'string', 'path' => 'Coding.version', 'min' => 0, 'max' => 1 }, + 'code' => { 'type' => 'code', 'path' => 'Coding.code', 'min' => 0, 'max' => 1 }, + 'display' => { 'type' => 'string', 'path' => 'Coding.display', 'min' => 0, 'max' => 1 }, + 'userSelected' => { 'type' => 'boolean', 'path' => 'Coding.userSelected', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb b/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb index c53bab3d..824635e1 100644 --- a/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb +++ b/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb @@ -7,13 +7,13 @@ class ContactPoint < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'ContactPoint.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ContactPoint.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'system' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-system'=>['phone', 'fax', 'email', 'pager', 'other']}, 'type'=>'code', 'path'=>'ContactPoint.system', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-system'}}, - 'value' => {'type'=>'string', 'path'=>'ContactPoint.value', 'min'=>0, 'max'=>1}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-use'=>['home', 'work', 'temp', 'old', 'mobile']}, 'type'=>'code', 'path'=>'ContactPoint.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-use'}}, - 'rank' => {'type'=>'positiveInt', 'path'=>'ContactPoint.rank', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'ContactPoint.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'ContactPoint.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'ContactPoint.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'system' => { 'valid_codes' => { 'http://hl7.org/fhir/contact-point-system' => ['phone', 'fax', 'email', 'pager', 'other'] }, 'type' => 'code', 'path' => 'ContactPoint.system', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/contact-point-system' } }, + 'value' => { 'type' => 'string', 'path' => 'ContactPoint.value', 'min' => 0, 'max' => 1 }, + 'use' => { 'valid_codes' => { 'http://hl7.org/fhir/contact-point-use' => ['home', 'work', 'temp', 'old', 'mobile'] }, 'type' => 'code', 'path' => 'ContactPoint.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/contact-point-use' } }, + 'rank' => { 'type' => 'positiveInt', 'path' => 'ContactPoint.rank', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'ContactPoint.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Element.rb b/lib/fhir_dstu2_models/fhir/types/Element.rb index a3f42209..f2f16f8e 100644 --- a/lib/fhir_dstu2_models/fhir/types/Element.rb +++ b/lib/fhir_dstu2_models/fhir/types/Element.rb @@ -7,8 +7,8 @@ class Element < FHIR::DSTU2::Model SEARCH_PARAMS = ['code', 'context', 'date', 'description', 'identifier', 'name', 'publisher', 'status', 'stringency', 'url', 'version'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Element.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Element.extension', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'Element.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Element.extension', 'min' => 0, 'max' => Float::INFINITY } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb b/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb index cb1da98d..10027a60 100644 --- a/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb +++ b/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb @@ -15,231 +15,231 @@ class ElementDefinition < FHIR::DSTU2::Model } SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'ElementDefinition.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'ElementDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'path' => {'type'=>'string', 'path'=>'ElementDefinition.path', 'min'=>1, 'max'=>1}, - 'representation' => {'valid_codes'=>{'http://hl7.org/fhir/property-representation'=>['xmlAttr']}, 'type'=>'code', 'path'=>'ElementDefinition.representation', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/property-representation'}}, - 'name' => {'type'=>'string', 'path'=>'ElementDefinition.name', 'min'=>0, 'max'=>1}, - 'label' => {'type'=>'string', 'path'=>'ElementDefinition.label', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'Coding', 'path'=>'ElementDefinition.code', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-codes'}}, - 'slicing' => {'type'=>'ElementDefinition::Slicing', 'path'=>'ElementDefinition.slicing', 'min'=>0, 'max'=>1}, - 'short' => {'type'=>'string', 'path'=>'ElementDefinition.short', 'min'=>0, 'max'=>1}, - 'definition' => {'type'=>'markdown', 'path'=>'ElementDefinition.definition', 'min'=>0, 'max'=>1}, - 'comments' => {'type'=>'markdown', 'path'=>'ElementDefinition.comments', 'min'=>0, 'max'=>1}, - 'requirements' => {'type'=>'markdown', 'path'=>'ElementDefinition.requirements', 'min'=>0, 'max'=>1}, - 'alias' => {'type'=>'string', 'path'=>'ElementDefinition.alias', 'min'=>0, 'max'=>Float::INFINITY}, - 'min' => {'type'=>'integer', 'path'=>'ElementDefinition.min', 'min'=>0, 'max'=>1}, - 'max' => {'type'=>'string', 'path'=>'ElementDefinition.max', 'min'=>0, 'max'=>1}, - 'base' => {'type'=>'ElementDefinition::Base', 'path'=>'ElementDefinition.base', 'min'=>0, 'max'=>1}, - 'type' => {'type'=>'ElementDefinition::Type', 'path'=>'ElementDefinition.type', 'min'=>0, 'max'=>Float::INFINITY}, - 'nameReference' => {'type'=>'string', 'path'=>'ElementDefinition.nameReference', 'min'=>0, 'max'=>1}, - 'defaultValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueString' => {'type'=>'string', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueId' => {'type'=>'id', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'defaultValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1}, - 'meaningWhenMissing' => {'type'=>'markdown', 'path'=>'ElementDefinition.meaningWhenMissing', 'min'=>0, 'max'=>1}, - 'fixedBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedString' => {'type'=>'string', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedUri' => {'type'=>'uri', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedDate' => {'type'=>'date', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedTime' => {'type'=>'time', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedCode' => {'type'=>'code', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedOid' => {'type'=>'oid', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedId' => {'type'=>'id', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedRange' => {'type'=>'Range', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'fixedMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1}, - 'patternBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternString' => {'type'=>'string', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternUri' => {'type'=>'uri', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternDate' => {'type'=>'date', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternTime' => {'type'=>'time', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternCode' => {'type'=>'code', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternOid' => {'type'=>'oid', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternId' => {'type'=>'id', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternRange' => {'type'=>'Range', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'patternMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1}, - 'exampleBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleString' => {'type'=>'string', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleUri' => {'type'=>'uri', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleDate' => {'type'=>'date', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleTime' => {'type'=>'time', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleCode' => {'type'=>'code', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleOid' => {'type'=>'oid', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleId' => {'type'=>'id', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'examplePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleRange' => {'type'=>'Range', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'examplePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'exampleMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.example[x]', 'min'=>0, 'max'=>1}, - 'minValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueString' => {'type'=>'string', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueId' => {'type'=>'id', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'minValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueString' => {'type'=>'string', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueId' => {'type'=>'id', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxValueMeta' => {'type'=>'Meta', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1}, - 'maxLength' => {'type'=>'integer', 'path'=>'ElementDefinition.maxLength', 'min'=>0, 'max'=>1}, - 'condition' => {'type'=>'id', 'path'=>'ElementDefinition.condition', 'min'=>0, 'max'=>Float::INFINITY}, - 'constraint' => {'type'=>'ElementDefinition::Constraint', 'path'=>'ElementDefinition.constraint', 'min'=>0, 'max'=>Float::INFINITY}, - 'mustSupport' => {'type'=>'boolean', 'path'=>'ElementDefinition.mustSupport', 'min'=>0, 'max'=>1}, - 'isModifier' => {'type'=>'boolean', 'path'=>'ElementDefinition.isModifier', 'min'=>0, 'max'=>1}, - 'isSummary' => {'type'=>'boolean', 'path'=>'ElementDefinition.isSummary', 'min'=>0, 'max'=>1}, - 'binding' => {'type'=>'ElementDefinition::Binding', 'path'=>'ElementDefinition.binding', 'min'=>0, 'max'=>1}, - 'mapping' => {'type'=>'ElementDefinition::Mapping', 'path'=>'ElementDefinition.mapping', 'min'=>0, 'max'=>Float::INFINITY} + 'id' => { 'type' => 'id', 'path' => 'ElementDefinition.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'ElementDefinition.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'path' => { 'type' => 'string', 'path' => 'ElementDefinition.path', 'min' => 1, 'max' => 1 }, + 'representation' => { 'valid_codes' => { 'http://hl7.org/fhir/property-representation' => ['xmlAttr'] }, 'type' => 'code', 'path' => 'ElementDefinition.representation', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/property-representation' } }, + 'name' => { 'type' => 'string', 'path' => 'ElementDefinition.name', 'min' => 0, 'max' => 1 }, + 'label' => { 'type' => 'string', 'path' => 'ElementDefinition.label', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'Coding', 'path' => 'ElementDefinition.code', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-codes' } }, + 'slicing' => { 'type' => 'ElementDefinition::Slicing', 'path' => 'ElementDefinition.slicing', 'min' => 0, 'max' => 1 }, + 'short' => { 'type' => 'string', 'path' => 'ElementDefinition.short', 'min' => 0, 'max' => 1 }, + 'definition' => { 'type' => 'markdown', 'path' => 'ElementDefinition.definition', 'min' => 0, 'max' => 1 }, + 'comments' => { 'type' => 'markdown', 'path' => 'ElementDefinition.comments', 'min' => 0, 'max' => 1 }, + 'requirements' => { 'type' => 'markdown', 'path' => 'ElementDefinition.requirements', 'min' => 0, 'max' => 1 }, + 'alias' => { 'type' => 'string', 'path' => 'ElementDefinition.alias', 'min' => 0, 'max' => Float::INFINITY }, + 'min' => { 'type' => 'integer', 'path' => 'ElementDefinition.min', 'min' => 0, 'max' => 1 }, + 'max' => { 'type' => 'string', 'path' => 'ElementDefinition.max', 'min' => 0, 'max' => 1 }, + 'base' => { 'type' => 'ElementDefinition::Base', 'path' => 'ElementDefinition.base', 'min' => 0, 'max' => 1 }, + 'type' => { 'type' => 'ElementDefinition::Type', 'path' => 'ElementDefinition.type', 'min' => 0, 'max' => Float::INFINITY }, + 'nameReference' => { 'type' => 'string', 'path' => 'ElementDefinition.nameReference', 'min' => 0, 'max' => 1 }, + 'defaultValueBoolean' => { 'type' => 'boolean', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueInteger' => { 'type' => 'integer', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueDecimal' => { 'type' => 'decimal', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueBase64Binary' => { 'type' => 'base64Binary', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueInstant' => { 'type' => 'instant', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueString' => { 'type' => 'string', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueUri' => { 'type' => 'uri', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueDate' => { 'type' => 'date', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueDateTime' => { 'type' => 'dateTime', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueTime' => { 'type' => 'time', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueCode' => { 'type' => 'code', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueOid' => { 'type' => 'oid', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueId' => { 'type' => 'id', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValuePositiveInt' => { 'type' => 'positiveInt', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueMarkdown' => { 'type' => 'markdown', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueAnnotation' => { 'type' => 'Annotation', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueAttachment' => { 'type' => 'Attachment', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueIdentifier' => { 'type' => 'Identifier', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueCoding' => { 'type' => 'Coding', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueQuantity' => { 'type' => 'Quantity', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueRange' => { 'type' => 'Range', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValuePeriod' => { 'type' => 'Period', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueRatio' => { 'type' => 'Ratio', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueSampledData' => { 'type' => 'SampledData', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueSignature' => { 'type' => 'Signature', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueHumanName' => { 'type' => 'HumanName', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueAddress' => { 'type' => 'Address', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueContactPoint' => { 'type' => 'ContactPoint', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueTiming' => { 'type' => 'Timing', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueReference' => { 'type' => 'Reference', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'defaultValueMeta' => { 'type' => 'Meta', 'path' => 'ElementDefinition.defaultValue[x]', 'min' => 0, 'max' => 1 }, + 'meaningWhenMissing' => { 'type' => 'markdown', 'path' => 'ElementDefinition.meaningWhenMissing', 'min' => 0, 'max' => 1 }, + 'fixedBoolean' => { 'type' => 'boolean', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedInteger' => { 'type' => 'integer', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedDecimal' => { 'type' => 'decimal', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedBase64Binary' => { 'type' => 'base64Binary', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedInstant' => { 'type' => 'instant', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedString' => { 'type' => 'string', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedUri' => { 'type' => 'uri', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedDate' => { 'type' => 'date', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedDateTime' => { 'type' => 'dateTime', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedTime' => { 'type' => 'time', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedCode' => { 'type' => 'code', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedOid' => { 'type' => 'oid', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedId' => { 'type' => 'id', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedPositiveInt' => { 'type' => 'positiveInt', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedMarkdown' => { 'type' => 'markdown', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedAnnotation' => { 'type' => 'Annotation', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedAttachment' => { 'type' => 'Attachment', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedIdentifier' => { 'type' => 'Identifier', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedCoding' => { 'type' => 'Coding', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedQuantity' => { 'type' => 'Quantity', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedRange' => { 'type' => 'Range', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedPeriod' => { 'type' => 'Period', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedRatio' => { 'type' => 'Ratio', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedSampledData' => { 'type' => 'SampledData', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedSignature' => { 'type' => 'Signature', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedHumanName' => { 'type' => 'HumanName', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedAddress' => { 'type' => 'Address', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedContactPoint' => { 'type' => 'ContactPoint', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedTiming' => { 'type' => 'Timing', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedReference' => { 'type' => 'Reference', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'fixedMeta' => { 'type' => 'Meta', 'path' => 'ElementDefinition.fixed[x]', 'min' => 0, 'max' => 1 }, + 'patternBoolean' => { 'type' => 'boolean', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternInteger' => { 'type' => 'integer', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternDecimal' => { 'type' => 'decimal', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternBase64Binary' => { 'type' => 'base64Binary', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternInstant' => { 'type' => 'instant', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternString' => { 'type' => 'string', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternUri' => { 'type' => 'uri', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternDate' => { 'type' => 'date', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternDateTime' => { 'type' => 'dateTime', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternTime' => { 'type' => 'time', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternCode' => { 'type' => 'code', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternOid' => { 'type' => 'oid', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternId' => { 'type' => 'id', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternPositiveInt' => { 'type' => 'positiveInt', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternMarkdown' => { 'type' => 'markdown', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternAnnotation' => { 'type' => 'Annotation', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternAttachment' => { 'type' => 'Attachment', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternIdentifier' => { 'type' => 'Identifier', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternCoding' => { 'type' => 'Coding', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternQuantity' => { 'type' => 'Quantity', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternRange' => { 'type' => 'Range', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternPeriod' => { 'type' => 'Period', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternRatio' => { 'type' => 'Ratio', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternSampledData' => { 'type' => 'SampledData', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternSignature' => { 'type' => 'Signature', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternHumanName' => { 'type' => 'HumanName', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternAddress' => { 'type' => 'Address', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternContactPoint' => { 'type' => 'ContactPoint', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternTiming' => { 'type' => 'Timing', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternReference' => { 'type' => 'Reference', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'patternMeta' => { 'type' => 'Meta', 'path' => 'ElementDefinition.pattern[x]', 'min' => 0, 'max' => 1 }, + 'exampleBoolean' => { 'type' => 'boolean', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleInteger' => { 'type' => 'integer', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleDecimal' => { 'type' => 'decimal', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleBase64Binary' => { 'type' => 'base64Binary', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleInstant' => { 'type' => 'instant', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleString' => { 'type' => 'string', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleUri' => { 'type' => 'uri', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleDate' => { 'type' => 'date', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleDateTime' => { 'type' => 'dateTime', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleTime' => { 'type' => 'time', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleCode' => { 'type' => 'code', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleOid' => { 'type' => 'oid', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleId' => { 'type' => 'id', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'examplePositiveInt' => { 'type' => 'positiveInt', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleMarkdown' => { 'type' => 'markdown', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleAnnotation' => { 'type' => 'Annotation', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleAttachment' => { 'type' => 'Attachment', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleIdentifier' => { 'type' => 'Identifier', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleCoding' => { 'type' => 'Coding', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleQuantity' => { 'type' => 'Quantity', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleRange' => { 'type' => 'Range', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'examplePeriod' => { 'type' => 'Period', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleRatio' => { 'type' => 'Ratio', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleSampledData' => { 'type' => 'SampledData', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleSignature' => { 'type' => 'Signature', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleHumanName' => { 'type' => 'HumanName', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleAddress' => { 'type' => 'Address', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleContactPoint' => { 'type' => 'ContactPoint', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleTiming' => { 'type' => 'Timing', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleReference' => { 'type' => 'Reference', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'exampleMeta' => { 'type' => 'Meta', 'path' => 'ElementDefinition.example[x]', 'min' => 0, 'max' => 1 }, + 'minValueBoolean' => { 'type' => 'boolean', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueInteger' => { 'type' => 'integer', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueDecimal' => { 'type' => 'decimal', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueBase64Binary' => { 'type' => 'base64Binary', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueInstant' => { 'type' => 'instant', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueString' => { 'type' => 'string', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueUri' => { 'type' => 'uri', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueDate' => { 'type' => 'date', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueDateTime' => { 'type' => 'dateTime', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueTime' => { 'type' => 'time', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueCode' => { 'type' => 'code', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueOid' => { 'type' => 'oid', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueId' => { 'type' => 'id', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValuePositiveInt' => { 'type' => 'positiveInt', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueMarkdown' => { 'type' => 'markdown', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueAnnotation' => { 'type' => 'Annotation', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueAttachment' => { 'type' => 'Attachment', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueIdentifier' => { 'type' => 'Identifier', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueCoding' => { 'type' => 'Coding', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueQuantity' => { 'type' => 'Quantity', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueRange' => { 'type' => 'Range', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValuePeriod' => { 'type' => 'Period', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueRatio' => { 'type' => 'Ratio', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueSampledData' => { 'type' => 'SampledData', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueSignature' => { 'type' => 'Signature', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueHumanName' => { 'type' => 'HumanName', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueAddress' => { 'type' => 'Address', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueContactPoint' => { 'type' => 'ContactPoint', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueTiming' => { 'type' => 'Timing', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueReference' => { 'type' => 'Reference', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'minValueMeta' => { 'type' => 'Meta', 'path' => 'ElementDefinition.minValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueBoolean' => { 'type' => 'boolean', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueInteger' => { 'type' => 'integer', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueDecimal' => { 'type' => 'decimal', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueBase64Binary' => { 'type' => 'base64Binary', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueInstant' => { 'type' => 'instant', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueString' => { 'type' => 'string', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueUri' => { 'type' => 'uri', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueDate' => { 'type' => 'date', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueDateTime' => { 'type' => 'dateTime', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueTime' => { 'type' => 'time', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueCode' => { 'type' => 'code', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueOid' => { 'type' => 'oid', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueId' => { 'type' => 'id', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValuePositiveInt' => { 'type' => 'positiveInt', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueMarkdown' => { 'type' => 'markdown', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueAnnotation' => { 'type' => 'Annotation', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueAttachment' => { 'type' => 'Attachment', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueIdentifier' => { 'type' => 'Identifier', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueCoding' => { 'type' => 'Coding', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueQuantity' => { 'type' => 'Quantity', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueRange' => { 'type' => 'Range', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValuePeriod' => { 'type' => 'Period', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueRatio' => { 'type' => 'Ratio', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueSampledData' => { 'type' => 'SampledData', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueSignature' => { 'type' => 'Signature', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueHumanName' => { 'type' => 'HumanName', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueAddress' => { 'type' => 'Address', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueContactPoint' => { 'type' => 'ContactPoint', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueTiming' => { 'type' => 'Timing', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueReference' => { 'type' => 'Reference', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxValueMeta' => { 'type' => 'Meta', 'path' => 'ElementDefinition.maxValue[x]', 'min' => 0, 'max' => 1 }, + 'maxLength' => { 'type' => 'integer', 'path' => 'ElementDefinition.maxLength', 'min' => 0, 'max' => 1 }, + 'condition' => { 'type' => 'id', 'path' => 'ElementDefinition.condition', 'min' => 0, 'max' => Float::INFINITY }, + 'constraint' => { 'type' => 'ElementDefinition::Constraint', 'path' => 'ElementDefinition.constraint', 'min' => 0, 'max' => Float::INFINITY }, + 'mustSupport' => { 'type' => 'boolean', 'path' => 'ElementDefinition.mustSupport', 'min' => 0, 'max' => 1 }, + 'isModifier' => { 'type' => 'boolean', 'path' => 'ElementDefinition.isModifier', 'min' => 0, 'max' => 1 }, + 'isSummary' => { 'type' => 'boolean', 'path' => 'ElementDefinition.isSummary', 'min' => 0, 'max' => 1 }, + 'binding' => { 'type' => 'ElementDefinition::Binding', 'path' => 'ElementDefinition.binding', 'min' => 0, 'max' => 1 }, + 'mapping' => { 'type' => 'ElementDefinition::Mapping', 'path' => 'ElementDefinition.mapping', 'min' => 0, 'max' => Float::INFINITY } } class Slicing < FHIR::DSTU2::Model @@ -248,12 +248,12 @@ class Slicing < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Slicing.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Slicing.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'discriminator' => {'type'=>'string', 'path'=>'Slicing.discriminator', 'min'=>0, 'max'=>Float::INFINITY}, - 'description' => {'type'=>'string', 'path'=>'Slicing.description', 'min'=>0, 'max'=>1}, - 'ordered' => {'type'=>'boolean', 'path'=>'Slicing.ordered', 'min'=>0, 'max'=>1}, - 'rules' => {'valid_codes'=>{'http://hl7.org/fhir/resource-slicing-rules'=>['closed', 'open', 'openAtEnd']}, 'type'=>'code', 'path'=>'Slicing.rules', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-slicing-rules'}} + 'id' => { 'type' => 'id', 'path' => 'Slicing.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Slicing.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'discriminator' => { 'type' => 'string', 'path' => 'Slicing.discriminator', 'min' => 0, 'max' => Float::INFINITY }, + 'description' => { 'type' => 'string', 'path' => 'Slicing.description', 'min' => 0, 'max' => 1 }, + 'ordered' => { 'type' => 'boolean', 'path' => 'Slicing.ordered', 'min' => 0, 'max' => 1 }, + 'rules' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-slicing-rules' => ['closed', 'open', 'openAtEnd'] }, 'type' => 'code', 'path' => 'Slicing.rules', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-slicing-rules' } } } attr_accessor :id # 0-1 id @@ -270,11 +270,11 @@ class Base < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Base.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Base.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'path' => {'type'=>'string', 'path'=>'Base.path', 'min'=>1, 'max'=>1}, - 'min' => {'type'=>'integer', 'path'=>'Base.min', 'min'=>1, 'max'=>1}, - 'max' => {'type'=>'string', 'path'=>'Base.max', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Base.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Base.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'path' => { 'type' => 'string', 'path' => 'Base.path', 'min' => 1, 'max' => 1 }, + 'min' => { 'type' => 'integer', 'path' => 'Base.min', 'min' => 1, 'max' => 1 }, + 'max' => { 'type' => 'string', 'path' => 'Base.max', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -290,11 +290,11 @@ class Type < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Type.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Type.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/data-types'=>['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Type.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/defined-types'}}, - 'profile' => {'type'=>'uri', 'path'=>'Type.profile', 'min'=>0, 'max'=>Float::INFINITY}, - 'aggregation' => {'valid_codes'=>{'http://hl7.org/fhir/resource-aggregation-mode'=>['contained', 'referenced', 'bundled']}, 'type'=>'code', 'path'=>'Type.aggregation', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-aggregation-mode'}} + 'id' => { 'type' => 'id', 'path' => 'Type.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Type.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/data-types' => ['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types' => ['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription'] }, 'type' => 'code', 'path' => 'Type.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/defined-types' } }, + 'profile' => { 'type' => 'uri', 'path' => 'Type.profile', 'min' => 0, 'max' => Float::INFINITY }, + 'aggregation' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-aggregation-mode' => ['contained', 'referenced', 'bundled'] }, 'type' => 'code', 'path' => 'Type.aggregation', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-aggregation-mode' } } } attr_accessor :id # 0-1 id @@ -310,13 +310,13 @@ class Constraint < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Constraint.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Constraint.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'key' => {'type'=>'id', 'path'=>'Constraint.key', 'min'=>1, 'max'=>1}, - 'requirements' => {'type'=>'string', 'path'=>'Constraint.requirements', 'min'=>0, 'max'=>1}, - 'severity' => {'valid_codes'=>{'http://hl7.org/fhir/constraint-severity'=>['error', 'warning']}, 'type'=>'code', 'path'=>'Constraint.severity', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/constraint-severity'}}, - 'human' => {'type'=>'string', 'path'=>'Constraint.human', 'min'=>1, 'max'=>1}, - 'xpath' => {'type'=>'string', 'path'=>'Constraint.xpath', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Constraint.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Constraint.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'key' => { 'type' => 'id', 'path' => 'Constraint.key', 'min' => 1, 'max' => 1 }, + 'requirements' => { 'type' => 'string', 'path' => 'Constraint.requirements', 'min' => 0, 'max' => 1 }, + 'severity' => { 'valid_codes' => { 'http://hl7.org/fhir/constraint-severity' => ['error', 'warning'] }, 'type' => 'code', 'path' => 'Constraint.severity', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/constraint-severity' } }, + 'human' => { 'type' => 'string', 'path' => 'Constraint.human', 'min' => 1, 'max' => 1 }, + 'xpath' => { 'type' => 'string', 'path' => 'Constraint.xpath', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -337,12 +337,12 @@ class Binding < FHIR::DSTU2::Model 'valueSet' => ['uri', 'Reference'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Binding.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Binding.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'strength' => {'valid_codes'=>{'http://hl7.org/fhir/binding-strength'=>['required', 'extensible', 'preferred', 'example']}, 'type'=>'code', 'path'=>'Binding.strength', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/binding-strength'}}, - 'description' => {'type'=>'string', 'path'=>'Binding.description', 'min'=>0, 'max'=>1}, - 'valueSetUri' => {'type'=>'uri', 'path'=>'Binding.valueSet[x]', 'min'=>0, 'max'=>1}, - 'valueSetReference' => {'type'=>'Reference', 'path'=>'Binding.valueSet[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Binding.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Binding.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'strength' => { 'valid_codes' => { 'http://hl7.org/fhir/binding-strength' => ['required', 'extensible', 'preferred', 'example'] }, 'type' => 'code', 'path' => 'Binding.strength', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/binding-strength' } }, + 'description' => { 'type' => 'string', 'path' => 'Binding.description', 'min' => 0, 'max' => 1 }, + 'valueSetUri' => { 'type' => 'uri', 'path' => 'Binding.valueSet[x]', 'min' => 0, 'max' => 1 }, + 'valueSetReference' => { 'type' => 'Reference', 'path' => 'Binding.valueSet[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id @@ -359,11 +359,11 @@ class Mapping < FHIR::DSTU2::Model include FHIR::DSTU2::Xml METADATA = { - 'id' => {'type'=>'id', 'path'=>'Mapping.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Mapping.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'identity' => {'type'=>'id', 'path'=>'Mapping.identity', 'min'=>1, 'max'=>1}, - 'language' => {'type'=>'code', 'path'=>'Mapping.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'map' => {'type'=>'string', 'path'=>'Mapping.map', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Mapping.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Mapping.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'identity' => { 'type' => 'id', 'path' => 'Mapping.identity', 'min' => 1, 'max' => 1 }, + 'language' => { 'type' => 'code', 'path' => 'Mapping.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, + 'map' => { 'type' => 'string', 'path' => 'Mapping.map', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Extension.rb b/lib/fhir_dstu2_models/fhir/types/Extension.rb index 1bfed3f3..c791acdf 100644 --- a/lib/fhir_dstu2_models/fhir/types/Extension.rb +++ b/lib/fhir_dstu2_models/fhir/types/Extension.rb @@ -10,42 +10,42 @@ class Extension < FHIR::DSTU2::Model } SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Extension.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Extension.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'url' => {'type'=>'uri', 'path'=>'Extension.url', 'min'=>1, 'max'=>1}, - 'valueBoolean' => {'type'=>'boolean', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueInteger' => {'type'=>'integer', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueDecimal' => {'type'=>'decimal', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueBase64Binary' => {'type'=>'base64Binary', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueInstant' => {'type'=>'instant', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueString' => {'type'=>'string', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueUri' => {'type'=>'uri', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueDate' => {'type'=>'date', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueTime' => {'type'=>'time', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueCode' => {'type'=>'code', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueOid' => {'type'=>'oid', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueId' => {'type'=>'id', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valuePositiveInt' => {'type'=>'positiveInt', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueMarkdown' => {'type'=>'markdown', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueAnnotation' => {'type'=>'Annotation', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueIdentifier' => {'type'=>'Identifier', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueCoding' => {'type'=>'Coding', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueRange' => {'type'=>'Range', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valuePeriod' => {'type'=>'Period', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueRatio' => {'type'=>'Ratio', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueSampledData' => {'type'=>'SampledData', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueSignature' => {'type'=>'Signature', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueHumanName' => {'type'=>'HumanName', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueAddress' => {'type'=>'Address', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueContactPoint' => {'type'=>'ContactPoint', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueTiming' => {'type'=>'Timing', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueReference' => {'type'=>'Reference', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1}, - 'valueMeta' => {'type'=>'Meta', 'path'=>'Extension.value[x]', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Extension.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Extension.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'url' => { 'type' => 'uri', 'path' => 'Extension.url', 'min' => 1, 'max' => 1 }, + 'valueBoolean' => { 'type' => 'boolean', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueInteger' => { 'type' => 'integer', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDecimal' => { 'type' => 'decimal', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueBase64Binary' => { 'type' => 'base64Binary', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueInstant' => { 'type' => 'instant', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueString' => { 'type' => 'string', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueUri' => { 'type' => 'uri', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDate' => { 'type' => 'date', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueDateTime' => { 'type' => 'dateTime', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueTime' => { 'type' => 'time', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCode' => { 'type' => 'code', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueOid' => { 'type' => 'oid', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueId' => { 'type' => 'id', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valuePositiveInt' => { 'type' => 'positiveInt', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueMarkdown' => { 'type' => 'markdown', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAnnotation' => { 'type' => 'Annotation', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAttachment' => { 'type' => 'Attachment', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueIdentifier' => { 'type' => 'Identifier', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueCoding' => { 'type' => 'Coding', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueQuantity' => { 'type' => 'Quantity', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRange' => { 'type' => 'Range', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valuePeriod' => { 'type' => 'Period', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueRatio' => { 'type' => 'Ratio', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueSampledData' => { 'type' => 'SampledData', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueSignature' => { 'type' => 'Signature', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueHumanName' => { 'type' => 'HumanName', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueAddress' => { 'type' => 'Address', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueContactPoint' => { 'type' => 'ContactPoint', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueTiming' => { 'type' => 'Timing', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueReference' => { 'type' => 'Reference', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 }, + 'valueMeta' => { 'type' => 'Meta', 'path' => 'Extension.value[x]', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/HumanName.rb b/lib/fhir_dstu2_models/fhir/types/HumanName.rb index 1f8685bb..b3efc30e 100644 --- a/lib/fhir_dstu2_models/fhir/types/HumanName.rb +++ b/lib/fhir_dstu2_models/fhir/types/HumanName.rb @@ -7,15 +7,15 @@ class HumanName < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'HumanName.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'HumanName.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/name-use'=>['usual', 'official', 'temp', 'nickname', 'anonymous', 'old', 'maiden']}, 'type'=>'code', 'path'=>'HumanName.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/name-use'}}, - 'text' => {'type'=>'string', 'path'=>'HumanName.text', 'min'=>0, 'max'=>1}, - 'family' => {'type'=>'string', 'path'=>'HumanName.family', 'min'=>0, 'max'=>Float::INFINITY}, - 'given' => {'type'=>'string', 'path'=>'HumanName.given', 'min'=>0, 'max'=>Float::INFINITY}, - 'prefix' => {'type'=>'string', 'path'=>'HumanName.prefix', 'min'=>0, 'max'=>Float::INFINITY}, - 'suffix' => {'type'=>'string', 'path'=>'HumanName.suffix', 'min'=>0, 'max'=>Float::INFINITY}, - 'period' => {'type'=>'Period', 'path'=>'HumanName.period', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'HumanName.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'HumanName.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'use' => { 'valid_codes' => { 'http://hl7.org/fhir/name-use' => ['usual', 'official', 'temp', 'nickname', 'anonymous', 'old', 'maiden'] }, 'type' => 'code', 'path' => 'HumanName.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/name-use' } }, + 'text' => { 'type' => 'string', 'path' => 'HumanName.text', 'min' => 0, 'max' => 1 }, + 'family' => { 'type' => 'string', 'path' => 'HumanName.family', 'min' => 0, 'max' => Float::INFINITY }, + 'given' => { 'type' => 'string', 'path' => 'HumanName.given', 'min' => 0, 'max' => Float::INFINITY }, + 'prefix' => { 'type' => 'string', 'path' => 'HumanName.prefix', 'min' => 0, 'max' => Float::INFINITY }, + 'suffix' => { 'type' => 'string', 'path' => 'HumanName.suffix', 'min' => 0, 'max' => Float::INFINITY }, + 'period' => { 'type' => 'Period', 'path' => 'HumanName.period', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Identifier.rb b/lib/fhir_dstu2_models/fhir/types/Identifier.rb index bb19ab31..cc02b859 100644 --- a/lib/fhir_dstu2_models/fhir/types/Identifier.rb +++ b/lib/fhir_dstu2_models/fhir/types/Identifier.rb @@ -7,14 +7,14 @@ class Identifier < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Identifier.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Identifier.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'use' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-use'=>['usual', 'official', 'temp', 'secondary']}, 'type'=>'code', 'path'=>'Identifier.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-use'}}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-type'=>['UDI', 'SNO', 'SB', 'PLAC', 'FILL'], 'http://hl7.org/fhir/v2/0203'=>['ACSN', 'AM', 'AMA', 'AN', 'ANC', 'AND', 'ANON', 'ANT', 'APRN', 'ASID', 'An Identifier for a provider a', 'An identifier for a provi', 'An identifier for a provider r', 'BA', 'BC', 'BCT', 'BR', 'BRN', 'BSNR', 'CC', 'CONM', 'CY', 'CZ', 'DDS', 'DEA', 'DFN', 'DI', 'DL', 'DN', 'DO', 'DP', 'DPM', 'DR', 'DS', 'EI', 'EN', 'ESN', 'FI', 'GI', 'GL', 'GN', 'HC', 'IND', 'JHN', 'LACSN', 'LANR', 'LI', 'LN', 'LR', 'MA', 'MB', 'MC', 'MCD', 'MCN', 'MCR', 'MCT', 'MD', 'MI', 'MR', 'MRT', 'MS', 'NBSNR', 'NCT', 'NE', 'NH', 'NI', 'NII', 'NIIP', 'NNxxx', 'NP', 'NPI', 'OD', 'PA', 'PC', 'PCN', 'PE', 'PEN', 'PI', 'PN', 'PNT', 'PPIN', 'PPN', 'PRC', 'PRN', 'PT', 'QA', 'RI', 'RN', 'RPH', 'RR', 'RRI', 'RRP', 'SID', 'SL', 'SN', 'SP', 'SR', 'SS', 'TAX', 'TN', 'TPR', 'U', 'UPIN', 'USID', 'VN', 'VP', 'VS', 'WC', 'WCN', 'WP', 'XX']}, 'type'=>'CodeableConcept', 'path'=>'Identifier.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-type'}}, - 'system' => {'type'=>'uri', 'path'=>'Identifier.system', 'min'=>0, 'max'=>1}, - 'value' => {'type'=>'string', 'path'=>'Identifier.value', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'Period', 'path'=>'Identifier.period', 'min'=>0, 'max'=>1}, - 'assigner' => {'type'=>'Reference', 'path'=>'Identifier.assigner', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Identifier.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Identifier.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'use' => { 'valid_codes' => { 'http://hl7.org/fhir/identifier-use' => ['usual', 'official', 'temp', 'secondary'] }, 'type' => 'code', 'path' => 'Identifier.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/identifier-use' } }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/identifier-type' => ['UDI', 'SNO', 'SB', 'PLAC', 'FILL'], 'http://hl7.org/fhir/v2/0203' => ['ACSN', 'AM', 'AMA', 'AN', 'ANC', 'AND', 'ANON', 'ANT', 'APRN', 'ASID', 'An Identifier for a provider a', 'An identifier for a provi', 'An identifier for a provider r', 'BA', 'BC', 'BCT', 'BR', 'BRN', 'BSNR', 'CC', 'CONM', 'CY', 'CZ', 'DDS', 'DEA', 'DFN', 'DI', 'DL', 'DN', 'DO', 'DP', 'DPM', 'DR', 'DS', 'EI', 'EN', 'ESN', 'FI', 'GI', 'GL', 'GN', 'HC', 'IND', 'JHN', 'LACSN', 'LANR', 'LI', 'LN', 'LR', 'MA', 'MB', 'MC', 'MCD', 'MCN', 'MCR', 'MCT', 'MD', 'MI', 'MR', 'MRT', 'MS', 'NBSNR', 'NCT', 'NE', 'NH', 'NI', 'NII', 'NIIP', 'NNxxx', 'NP', 'NPI', 'OD', 'PA', 'PC', 'PCN', 'PE', 'PEN', 'PI', 'PN', 'PNT', 'PPIN', 'PPN', 'PRC', 'PRN', 'PT', 'QA', 'RI', 'RN', 'RPH', 'RR', 'RRI', 'RRP', 'SID', 'SL', 'SN', 'SP', 'SR', 'SS', 'TAX', 'TN', 'TPR', 'U', 'UPIN', 'USID', 'VN', 'VP', 'VS', 'WC', 'WCN', 'WP', 'XX'] }, 'type' => 'CodeableConcept', 'path' => 'Identifier.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/identifier-type' } }, + 'system' => { 'type' => 'uri', 'path' => 'Identifier.system', 'min' => 0, 'max' => 1 }, + 'value' => { 'type' => 'string', 'path' => 'Identifier.value', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'Period', 'path' => 'Identifier.period', 'min' => 0, 'max' => 1 }, + 'assigner' => { 'type' => 'Reference', 'path' => 'Identifier.assigner', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Meta.rb b/lib/fhir_dstu2_models/fhir/types/Meta.rb index b9350833..29da528a 100644 --- a/lib/fhir_dstu2_models/fhir/types/Meta.rb +++ b/lib/fhir_dstu2_models/fhir/types/Meta.rb @@ -7,13 +7,13 @@ class Meta < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Meta.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Meta.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'versionId' => {'type'=>'id', 'path'=>'Meta.versionId', 'min'=>0, 'max'=>1}, - 'lastUpdated' => {'type'=>'instant', 'path'=>'Meta.lastUpdated', 'min'=>0, 'max'=>1}, - 'profile' => {'type'=>'uri', 'path'=>'Meta.profile', 'min'=>0, 'max'=>Float::INFINITY}, - 'security' => {'valid_codes'=>{'http://hl7.org/fhir/v3/Confidentiality'=>['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue'=>['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw'=>['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332']}, 'type'=>'Coding', 'path'=>'Meta.security', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/security-labels'}}, - 'tag' => {'type'=>'Coding', 'path'=>'Meta.tag', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}} + 'id' => { 'type' => 'id', 'path' => 'Meta.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Meta.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'versionId' => { 'type' => 'id', 'path' => 'Meta.versionId', 'min' => 0, 'max' => 1 }, + 'lastUpdated' => { 'type' => 'instant', 'path' => 'Meta.lastUpdated', 'min' => 0, 'max' => 1 }, + 'profile' => { 'type' => 'uri', 'path' => 'Meta.profile', 'min' => 0, 'max' => Float::INFINITY }, + 'security' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/Confidentiality' => ['_Confidentiality', 'L', 'M', 'N', 'R', 'U', 'V', '_ConfidentialityByAccessKind', 'B', 'D', 'I', '_ConfidentialityByInfoType', 'ETH', 'HIV', 'PSY', 'SDV', '_ConfidentialityModifiers', 'C', 'S', 'T'], 'http://hl7.org/fhir/v3/ActCode' => ['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', '_ActPharmacySupplyType', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE'], 'http://hl7.org/fhir/v3/ObservationValue' => ['_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_GeneticObservationValue', 'Homozygote', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'PROCESS', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_AnnotationValue', '_CommonClinicalObservationValue', '_IndividualCaseSafetyReportValueDomains', '_IndicationValue'], 'http://hl7.org/fhir/v3/ActReason' => ['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', '_SubstanceAdminSubstitutionReason', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw' => ['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332'] }, 'type' => 'Coding', 'path' => 'Meta.security', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/security-labels' } }, + 'tag' => { 'type' => 'Coding', 'path' => 'Meta.tag', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Narrative.rb b/lib/fhir_dstu2_models/fhir/types/Narrative.rb index b8b5218b..5a9d823a 100644 --- a/lib/fhir_dstu2_models/fhir/types/Narrative.rb +++ b/lib/fhir_dstu2_models/fhir/types/Narrative.rb @@ -7,10 +7,10 @@ class Narrative < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Narrative.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Narrative.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'status' => {'valid_codes'=>{'http://hl7.org/fhir/narrative-status'=>['generated', 'extensions', 'additional', 'empty']}, 'type'=>'code', 'path'=>'Narrative.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/narrative-status'}}, - 'div' => {'type'=>'xhtml', 'path'=>'Narrative.div', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Narrative.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Narrative.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/narrative-status' => ['generated', 'extensions', 'additional', 'empty'] }, 'type' => 'code', 'path' => 'Narrative.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/narrative-status' } }, + 'div' => { 'type' => 'xhtml', 'path' => 'Narrative.div', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Period.rb b/lib/fhir_dstu2_models/fhir/types/Period.rb index eb57e80a..80893e05 100644 --- a/lib/fhir_dstu2_models/fhir/types/Period.rb +++ b/lib/fhir_dstu2_models/fhir/types/Period.rb @@ -7,10 +7,10 @@ class Period < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Period.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Period.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'start' => {'type'=>'dateTime', 'path'=>'Period.start', 'min'=>0, 'max'=>1}, - 'end' => {'type'=>'dateTime', 'path'=>'Period.end', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Period.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Period.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'start' => { 'type' => 'dateTime', 'path' => 'Period.start', 'min' => 0, 'max' => 1 }, + 'end' => { 'type' => 'dateTime', 'path' => 'Period.end', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Quantity.rb b/lib/fhir_dstu2_models/fhir/types/Quantity.rb index 09d22c67..e36efb9f 100644 --- a/lib/fhir_dstu2_models/fhir/types/Quantity.rb +++ b/lib/fhir_dstu2_models/fhir/types/Quantity.rb @@ -7,13 +7,13 @@ class Quantity < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Quantity.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Quantity.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'value' => {'type'=>'decimal', 'path'=>'Quantity.value', 'min'=>0, 'max'=>1}, - 'comparator' => {'valid_codes'=>{'http://hl7.org/fhir/quantity-comparator'=>['<', '<=', '>=', '>']}, 'type'=>'code', 'path'=>'Quantity.comparator', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/quantity-comparator'}}, - 'unit' => {'type'=>'string', 'path'=>'Quantity.unit', 'min'=>0, 'max'=>1}, - 'system' => {'type'=>'uri', 'path'=>'Quantity.system', 'min'=>0, 'max'=>1}, - 'code' => {'type'=>'code', 'path'=>'Quantity.code', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Quantity.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Quantity.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'value' => { 'type' => 'decimal', 'path' => 'Quantity.value', 'min' => 0, 'max' => 1 }, + 'comparator' => { 'valid_codes' => { 'http://hl7.org/fhir/quantity-comparator' => ['<', '<=', '>=', '>'] }, 'type' => 'code', 'path' => 'Quantity.comparator', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/quantity-comparator' } }, + 'unit' => { 'type' => 'string', 'path' => 'Quantity.unit', 'min' => 0, 'max' => 1 }, + 'system' => { 'type' => 'uri', 'path' => 'Quantity.system', 'min' => 0, 'max' => 1 }, + 'code' => { 'type' => 'code', 'path' => 'Quantity.code', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Range.rb b/lib/fhir_dstu2_models/fhir/types/Range.rb index b3bfa60a..64ac0a0b 100644 --- a/lib/fhir_dstu2_models/fhir/types/Range.rb +++ b/lib/fhir_dstu2_models/fhir/types/Range.rb @@ -7,10 +7,10 @@ class Range < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Range.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Range.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'low' => {'type'=>'Quantity', 'path'=>'Range.low', 'min'=>0, 'max'=>1}, - 'high' => {'type'=>'Quantity', 'path'=>'Range.high', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Range.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Range.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'low' => { 'type' => 'Quantity', 'path' => 'Range.low', 'min' => 0, 'max' => 1 }, + 'high' => { 'type' => 'Quantity', 'path' => 'Range.high', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Ratio.rb b/lib/fhir_dstu2_models/fhir/types/Ratio.rb index 0c5cad1c..103fa2ad 100644 --- a/lib/fhir_dstu2_models/fhir/types/Ratio.rb +++ b/lib/fhir_dstu2_models/fhir/types/Ratio.rb @@ -7,10 +7,10 @@ class Ratio < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Ratio.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Ratio.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'numerator' => {'type'=>'Quantity', 'path'=>'Ratio.numerator', 'min'=>0, 'max'=>1}, - 'denominator' => {'type'=>'Quantity', 'path'=>'Ratio.denominator', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Ratio.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Ratio.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'numerator' => { 'type' => 'Quantity', 'path' => 'Ratio.numerator', 'min' => 0, 'max' => 1 }, + 'denominator' => { 'type' => 'Quantity', 'path' => 'Ratio.denominator', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Reference.rb b/lib/fhir_dstu2_models/fhir/types/Reference.rb index acfa4a80..89708e72 100644 --- a/lib/fhir_dstu2_models/fhir/types/Reference.rb +++ b/lib/fhir_dstu2_models/fhir/types/Reference.rb @@ -7,10 +7,10 @@ class Reference < FHIR::DSTU2::Model SEARCH_PARAMS = ['authenticator', 'author', 'class', 'created', 'custodian', 'description', 'encounter', 'event', 'facility', 'format', 'identifier', 'indexed', 'language', 'location', 'patient', 'period', 'related-id', 'related-ref', 'relatesto', 'relation', 'securitylabel', 'setting', 'status', 'subject', 'type'] METADATA = { - 'id' => {'type'=>'id', 'path'=>'Reference.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Reference.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'reference' => {'type'=>'string', 'path'=>'Reference.reference', 'min'=>0, 'max'=>1}, - 'display' => {'type'=>'string', 'path'=>'Reference.display', 'min'=>0, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Reference.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Reference.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'reference' => { 'type' => 'string', 'path' => 'Reference.reference', 'min' => 0, 'max' => 1 }, + 'display' => { 'type' => 'string', 'path' => 'Reference.display', 'min' => 0, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/SampledData.rb b/lib/fhir_dstu2_models/fhir/types/SampledData.rb index 657dfffe..9ff0e30e 100644 --- a/lib/fhir_dstu2_models/fhir/types/SampledData.rb +++ b/lib/fhir_dstu2_models/fhir/types/SampledData.rb @@ -7,15 +7,15 @@ class SampledData < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'SampledData.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'SampledData.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'origin' => {'type'=>'Quantity', 'path'=>'SampledData.origin', 'min'=>1, 'max'=>1}, - 'period' => {'type'=>'decimal', 'path'=>'SampledData.period', 'min'=>1, 'max'=>1}, - 'factor' => {'type'=>'decimal', 'path'=>'SampledData.factor', 'min'=>0, 'max'=>1}, - 'lowerLimit' => {'type'=>'decimal', 'path'=>'SampledData.lowerLimit', 'min'=>0, 'max'=>1}, - 'upperLimit' => {'type'=>'decimal', 'path'=>'SampledData.upperLimit', 'min'=>0, 'max'=>1}, - 'dimensions' => {'type'=>'positiveInt', 'path'=>'SampledData.dimensions', 'min'=>1, 'max'=>1}, - 'data' => {'type'=>'string', 'path'=>'SampledData.data', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'SampledData.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'SampledData.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'origin' => { 'type' => 'Quantity', 'path' => 'SampledData.origin', 'min' => 1, 'max' => 1 }, + 'period' => { 'type' => 'decimal', 'path' => 'SampledData.period', 'min' => 1, 'max' => 1 }, + 'factor' => { 'type' => 'decimal', 'path' => 'SampledData.factor', 'min' => 0, 'max' => 1 }, + 'lowerLimit' => { 'type' => 'decimal', 'path' => 'SampledData.lowerLimit', 'min' => 0, 'max' => 1 }, + 'upperLimit' => { 'type' => 'decimal', 'path' => 'SampledData.upperLimit', 'min' => 0, 'max' => 1 }, + 'dimensions' => { 'type' => 'positiveInt', 'path' => 'SampledData.dimensions', 'min' => 1, 'max' => 1 }, + 'data' => { 'type' => 'string', 'path' => 'SampledData.data', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Signature.rb b/lib/fhir_dstu2_models/fhir/types/Signature.rb index dc829c7c..4b5f1022 100644 --- a/lib/fhir_dstu2_models/fhir/types/Signature.rb +++ b/lib/fhir_dstu2_models/fhir/types/Signature.rb @@ -10,14 +10,14 @@ class Signature < FHIR::DSTU2::Model } SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Signature.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Signature.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'type' => {'valid_codes'=>{'http://hl7.org/fhir/valueset-signature-type'=>['1.2.840.10065.1.12.1.1', '1.2.840.10065.1.12.1.2', '1.2.840.10065.1.12.1.3', '1.2.840.10065.1.12.1.4', '1.2.840.10065.1.12.1.5', '1.2.840.10065.1.12.1.6', '1.2.840.10065.1.12.1.7', '1.2.840.10065.1.12.1.8', '1.2.840.10065.1.12.1.9', '1.2.840.10065.1.12.1.10', '1.2.840.10065.1.12.1.11', '1.2.840.10065.1.12.1.12', '1.2.840.10065.1.12.1.13', '1.2.840.10065.1.12.1.14', '1.2.840.10065.1.12.1.15', '1.2.840.10065.1.12.1.16', '1.2.840.10065.1.12.1.17']}, 'type'=>'Coding', 'path'=>'Signature.type', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/signature-type'}}, - 'when' => {'type'=>'instant', 'path'=>'Signature.when', 'min'=>1, 'max'=>1}, - 'whoUri' => {'type'=>'uri', 'path'=>'Signature.who[x]', 'min'=>1, 'max'=>1}, - 'whoReference' => {'type'=>'Reference', 'path'=>'Signature.who[x]', 'min'=>1, 'max'=>1}, - 'contentType' => {'type'=>'code', 'path'=>'Signature.contentType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}}, - 'blob' => {'type'=>'base64Binary', 'path'=>'Signature.blob', 'min'=>1, 'max'=>1} + 'id' => { 'type' => 'id', 'path' => 'Signature.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Signature.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/valueset-signature-type' => ['1.2.840.10065.1.12.1.1', '1.2.840.10065.1.12.1.2', '1.2.840.10065.1.12.1.3', '1.2.840.10065.1.12.1.4', '1.2.840.10065.1.12.1.5', '1.2.840.10065.1.12.1.6', '1.2.840.10065.1.12.1.7', '1.2.840.10065.1.12.1.8', '1.2.840.10065.1.12.1.9', '1.2.840.10065.1.12.1.10', '1.2.840.10065.1.12.1.11', '1.2.840.10065.1.12.1.12', '1.2.840.10065.1.12.1.13', '1.2.840.10065.1.12.1.14', '1.2.840.10065.1.12.1.15', '1.2.840.10065.1.12.1.16', '1.2.840.10065.1.12.1.17'] }, 'type' => 'Coding', 'path' => 'Signature.type', 'min' => 1, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/signature-type' } }, + 'when' => { 'type' => 'instant', 'path' => 'Signature.when', 'min' => 1, 'max' => 1 }, + 'whoUri' => { 'type' => 'uri', 'path' => 'Signature.who[x]', 'min' => 1, 'max' => 1 }, + 'whoReference' => { 'type' => 'Reference', 'path' => 'Signature.who[x]', 'min' => 1, 'max' => 1 }, + 'contentType' => { 'type' => 'code', 'path' => 'Signature.contentType', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, + 'blob' => { 'type' => 'base64Binary', 'path' => 'Signature.blob', 'min' => 1, 'max' => 1 } } attr_accessor :id # 0-1 id diff --git a/lib/fhir_dstu2_models/fhir/types/Timing.rb b/lib/fhir_dstu2_models/fhir/types/Timing.rb index 58852f55..3a8d9cd3 100644 --- a/lib/fhir_dstu2_models/fhir/types/Timing.rb +++ b/lib/fhir_dstu2_models/fhir/types/Timing.rb @@ -7,11 +7,11 @@ class Timing < FHIR::DSTU2::Model SEARCH_PARAMS = METADATA = { - 'id' => {'type'=>'id', 'path'=>'Timing.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Timing.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'event' => {'type'=>'dateTime', 'path'=>'Timing.event', 'min'=>0, 'max'=>Float::INFINITY}, - 'repeat' => {'type'=>'Timing::Repeat', 'path'=>'Timing.repeat', 'min'=>0, 'max'=>1}, - 'code' => {'valid_codes'=>{'http://hl7.org/fhir/timing-abbreviation'=>['QD', 'QOD', 'Q4H', 'Q6H'], 'http://hl7.org/fhir/v3/GTSAbbreviation'=>['AM', 'BID', 'JB', 'JE', 'JH', '_GTSAbbreviationHolidaysChristianRoman', 'JHCHREAS', 'JHCHRGFR', 'JHCHRNEW', 'JHCHRPEN', 'JHCHRXME', 'JHCHRXMS', 'JHNNL', 'JHNNLLD', 'JHNNLQD', 'JHNNLSK', 'JHNUS', 'JHNUSCLM', 'JHNUSIND', 'JHNUSIND1', 'JHNUSIND5', 'JHNUSLBR', 'JHNUSMEM', 'JHNUSMEM5', 'JHNUSMEM6', 'JHNUSMLK', 'JHNUSPRE', 'JHNUSTKS', 'JHNUSTKS5', 'JHNUSVET', 'PM', 'QID', 'TID']}, 'type'=>'CodeableConcept', 'path'=>'Timing.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/timing-abbreviation'}} + 'id' => { 'type' => 'id', 'path' => 'Timing.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Timing.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'event' => { 'type' => 'dateTime', 'path' => 'Timing.event', 'min' => 0, 'max' => Float::INFINITY }, + 'repeat' => { 'type' => 'Timing::Repeat', 'path' => 'Timing.repeat', 'min' => 0, 'max' => 1 }, + 'code' => { 'valid_codes' => { 'http://hl7.org/fhir/timing-abbreviation' => ['QD', 'QOD', 'Q4H', 'Q6H'], 'http://hl7.org/fhir/v3/GTSAbbreviation' => ['AM', 'BID', 'JB', 'JE', 'JH', '_GTSAbbreviationHolidaysChristianRoman', 'JHCHREAS', 'JHCHRGFR', 'JHCHRNEW', 'JHCHRPEN', 'JHCHRXME', 'JHCHRXMS', 'JHNNL', 'JHNNLLD', 'JHNNLQD', 'JHNNLSK', 'JHNUS', 'JHNUSCLM', 'JHNUSIND', 'JHNUSIND1', 'JHNUSIND5', 'JHNUSLBR', 'JHNUSMEM', 'JHNUSMEM5', 'JHNUSMEM6', 'JHNUSMLK', 'JHNUSPRE', 'JHNUSTKS', 'JHNUSTKS5', 'JHNUSVET', 'PM', 'QID', 'TID'] }, 'type' => 'CodeableConcept', 'path' => 'Timing.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/timing-abbreviation' } } } class Repeat < FHIR::DSTU2::Model @@ -23,21 +23,21 @@ class Repeat < FHIR::DSTU2::Model 'bounds' => ['Quantity', 'Range', 'Period'] } METADATA = { - 'id' => {'type'=>'id', 'path'=>'Repeat.id', 'min'=>0, 'max'=>1}, - 'extension' => {'type'=>'Extension', 'path'=>'Repeat.extension', 'min'=>0, 'max'=>Float::INFINITY}, - 'boundsQuantity' => {'type'=>'Quantity', 'path'=>'Repeat.bounds[x]', 'min'=>0, 'max'=>1}, - 'boundsRange' => {'type'=>'Range', 'path'=>'Repeat.bounds[x]', 'min'=>0, 'max'=>1}, - 'boundsPeriod' => {'type'=>'Period', 'path'=>'Repeat.bounds[x]', 'min'=>0, 'max'=>1}, - 'count' => {'type'=>'integer', 'path'=>'Repeat.count', 'min'=>0, 'max'=>1}, - 'duration' => {'type'=>'decimal', 'path'=>'Repeat.duration', 'min'=>0, 'max'=>1}, - 'durationMax' => {'type'=>'decimal', 'path'=>'Repeat.durationMax', 'min'=>0, 'max'=>1}, - 'durationUnits' => {'valid_codes'=>{'http://unitsofmeasure.org'=>['s', 'min', 'h', 'd', 'wk', 'mo', 'a']}, 'type'=>'code', 'path'=>'Repeat.durationUnits', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/units-of-time'}}, - 'frequency' => {'type'=>'integer', 'path'=>'Repeat.frequency', 'min'=>0, 'max'=>1}, - 'frequencyMax' => {'type'=>'integer', 'path'=>'Repeat.frequencyMax', 'min'=>0, 'max'=>1}, - 'period' => {'type'=>'decimal', 'path'=>'Repeat.period', 'min'=>0, 'max'=>1}, - 'periodMax' => {'type'=>'decimal', 'path'=>'Repeat.periodMax', 'min'=>0, 'max'=>1}, - 'periodUnits' => {'valid_codes'=>{'http://unitsofmeasure.org'=>['s', 'min', 'h', 'd', 'wk', 'mo', 'a']}, 'type'=>'code', 'path'=>'Repeat.periodUnits', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/units-of-time'}}, - 'when' => {'valid_codes'=>{'http://hl7.org/fhir/v3/TimingEvent'=>['AC', 'ACD', 'ACM', 'ACV', 'C', 'CD', 'CM', 'CV', 'HS', 'IC', 'ICD', 'ICM', 'ICV', 'PC', 'PCD', 'PCM', 'PCV', 'WAKE']}, 'type'=>'code', 'path'=>'Repeat.when', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/event-timing'}} + 'id' => { 'type' => 'id', 'path' => 'Repeat.id', 'min' => 0, 'max' => 1 }, + 'extension' => { 'type' => 'Extension', 'path' => 'Repeat.extension', 'min' => 0, 'max' => Float::INFINITY }, + 'boundsQuantity' => { 'type' => 'Quantity', 'path' => 'Repeat.bounds[x]', 'min' => 0, 'max' => 1 }, + 'boundsRange' => { 'type' => 'Range', 'path' => 'Repeat.bounds[x]', 'min' => 0, 'max' => 1 }, + 'boundsPeriod' => { 'type' => 'Period', 'path' => 'Repeat.bounds[x]', 'min' => 0, 'max' => 1 }, + 'count' => { 'type' => 'integer', 'path' => 'Repeat.count', 'min' => 0, 'max' => 1 }, + 'duration' => { 'type' => 'decimal', 'path' => 'Repeat.duration', 'min' => 0, 'max' => 1 }, + 'durationMax' => { 'type' => 'decimal', 'path' => 'Repeat.durationMax', 'min' => 0, 'max' => 1 }, + 'durationUnits' => { 'valid_codes' => { 'http://unitsofmeasure.org' => ['s', 'min', 'h', 'd', 'wk', 'mo', 'a'] }, 'type' => 'code', 'path' => 'Repeat.durationUnits', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/units-of-time' } }, + 'frequency' => { 'type' => 'integer', 'path' => 'Repeat.frequency', 'min' => 0, 'max' => 1 }, + 'frequencyMax' => { 'type' => 'integer', 'path' => 'Repeat.frequencyMax', 'min' => 0, 'max' => 1 }, + 'period' => { 'type' => 'decimal', 'path' => 'Repeat.period', 'min' => 0, 'max' => 1 }, + 'periodMax' => { 'type' => 'decimal', 'path' => 'Repeat.periodMax', 'min' => 0, 'max' => 1 }, + 'periodUnits' => { 'valid_codes' => { 'http://unitsofmeasure.org' => ['s', 'min', 'h', 'd', 'wk', 'mo', 'a'] }, 'type' => 'code', 'path' => 'Repeat.periodUnits', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/units-of-time' } }, + 'when' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/TimingEvent' => ['AC', 'ACD', 'ACM', 'ACV', 'C', 'CD', 'CM', 'CV', 'HS', 'IC', 'ICD', 'ICM', 'ICV', 'PC', 'PCD', 'PCM', 'PCV', 'WAKE'] }, 'type' => 'code', 'path' => 'Repeat.when', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/event-timing' } } } attr_accessor :id # 0-1 id From 9f4c55fe1807673ff3ee5efa16e1325e66b310ff Mon Sep 17 00:00:00 2001 From: 360dgries Date: Tue, 26 Dec 2023 02:03:36 -0500 Subject: [PATCH 9/9] Remove commented code --- .simplecov | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.simplecov b/.simplecov index dd33d9ab..1b312f2e 100644 --- a/.simplecov +++ b/.simplecov @@ -1,9 +1,5 @@ require 'simplecov' SimpleCov.command_name 'Unit Tests' -# SimpleCov.start do -# add_filter 'test/' -# add_group 'Library', 'lib' -# end class SimpleCov::Formatter::QualityFormatter def format(result)