fhir_dstu2_models 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +1 -1
  3. data/.github/workflows/ruby.yml +2 -1
  4. data/.rubocop.yml +7 -1
  5. data/.rubocop_todo.yml +56 -161
  6. data/.ruby-version +1 -0
  7. data/.simplecov +1 -5
  8. data/.tool-versions +1 -0
  9. data/Gemfile.lock +37 -35
  10. data/Guardfile +1 -1
  11. data/fhir_dstu2_models.gemspec +2 -1
  12. data/lib/fhir_dstu2_models/bootstrap/definitions.rb +18 -4
  13. data/lib/fhir_dstu2_models/bootstrap/field.rb +2 -2
  14. data/lib/fhir_dstu2_models/bootstrap/generator.rb +6 -4
  15. data/lib/fhir_dstu2_models/bootstrap/hashable.rb +6 -5
  16. data/lib/fhir_dstu2_models/bootstrap/json.rb +2 -2
  17. data/lib/fhir_dstu2_models/bootstrap/model.rb +45 -32
  18. data/lib/fhir_dstu2_models/bootstrap/preprocess.rb +19 -11
  19. data/lib/fhir_dstu2_models/bootstrap/xml.rb +9 -7
  20. data/lib/fhir_dstu2_models/deprecate.rb +1 -0
  21. data/lib/fhir_dstu2_models/fhir/metadata.rb +19 -21
  22. data/lib/fhir_dstu2_models/fhir/resources/Account.rb +20 -20
  23. data/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb +34 -34
  24. data/lib/fhir_dstu2_models/fhir/resources/Appointment.rb +28 -28
  25. data/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb +17 -17
  26. data/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb +66 -66
  27. data/lib/fhir_dstu2_models/fhir/resources/Basic.rb +14 -14
  28. data/lib/fhir_dstu2_models/fhir/resources/Binary.rb +7 -7
  29. data/lib/fhir_dstu2_models/fhir/resources/BodySite.rb +15 -15
  30. data/lib/fhir_dstu2_models/fhir/resources/Bundle.rb +45 -45
  31. data/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb +63 -63
  32. data/lib/fhir_dstu2_models/fhir/resources/Claim.rb +118 -118
  33. data/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb +122 -124
  34. data/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb +42 -42
  35. data/lib/fhir_dstu2_models/fhir/resources/Communication.rb +28 -28
  36. data/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb +30 -30
  37. data/lib/fhir_dstu2_models/fhir/resources/Composition.rb +46 -46
  38. data/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb +53 -53
  39. data/lib/fhir_dstu2_models/fhir/resources/Condition.rb +44 -44
  40. data/lib/fhir_dstu2_models/fhir/resources/Conformance.rb +138 -138
  41. data/lib/fhir_dstu2_models/fhir/resources/Contract.rb +98 -98
  42. data/lib/fhir_dstu2_models/fhir/resources/Coverage.rb +23 -23
  43. data/lib/fhir_dstu2_models/fhir/resources/DataElement.rb +35 -35
  44. data/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb +25 -25
  45. data/lib/fhir_dstu2_models/fhir/resources/Device.rb +25 -25
  46. data/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb +25 -25
  47. data/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb +25 -25
  48. data/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb +25 -25
  49. data/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb +21 -21
  50. data/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb +36 -36
  51. data/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb +32 -32
  52. data/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb +31 -31
  53. data/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb +51 -51
  54. data/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb +12 -12
  55. data/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb +16 -16
  56. data/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb +19 -19
  57. data/lib/fhir_dstu2_models/fhir/resources/Encounter.rb +59 -59
  58. data/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb +19 -19
  59. data/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb +19 -19
  60. data/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb +31 -31
  61. data/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb +19 -19
  62. data/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb +39 -39
  63. data/lib/fhir_dstu2_models/fhir/resources/Flag.rb +17 -17
  64. data/lib/fhir_dstu2_models/fhir/resources/Goal.rb +30 -30
  65. data/lib/fhir_dstu2_models/fhir/resources/Group.rb +33 -33
  66. data/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb +48 -48
  67. data/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb +41 -41
  68. data/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb +48 -48
  69. data/lib/fhir_dstu2_models/fhir/resources/Immunization.rb +52 -52
  70. data/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb +35 -35
  71. data/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb +67 -67
  72. data/lib/fhir_dstu2_models/fhir/resources/List.rb +29 -29
  73. data/lib/fhir_dstu2_models/fhir/resources/Location.rb +27 -27
  74. data/lib/fhir_dstu2_models/fhir/resources/Media.rb +21 -21
  75. data/lib/fhir_dstu2_models/fhir/resources/Medication.rb +40 -40
  76. data/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb +36 -36
  77. data/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb +49 -49
  78. data/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb +57 -57
  79. data/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb +41 -41
  80. data/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb +40 -40
  81. data/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb +34 -34
  82. data/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb +67 -67
  83. data/lib/fhir_dstu2_models/fhir/resources/Observation.rb +68 -68
  84. data/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb +51 -51
  85. data/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb +21 -21
  86. data/lib/fhir_dstu2_models/fhir/resources/Order.rb +23 -23
  87. data/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb +16 -16
  88. data/lib/fhir_dstu2_models/fhir/resources/Organization.rb +24 -24
  89. data/lib/fhir_dstu2_models/fhir/resources/Parameters.rb +48 -48
  90. data/lib/fhir_dstu2_models/fhir/resources/Patient.rb +54 -54
  91. data/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb +19 -19
  92. data/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb +39 -39
  93. data/lib/fhir_dstu2_models/fhir/resources/Person.rb +24 -24
  94. data/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb +36 -36
  95. data/lib/fhir_dstu2_models/fhir/resources/Procedure.rb +42 -42
  96. data/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb +27 -27
  97. data/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb +29 -29
  98. data/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb +27 -27
  99. data/lib/fhir_dstu2_models/fhir/resources/Provenance.rb +39 -39
  100. data/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb +40 -40
  101. data/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb +50 -50
  102. data/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb +25 -25
  103. data/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb +19 -19
  104. data/lib/fhir_dstu2_models/fhir/resources/Resource.rb +5 -5
  105. data/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb +30 -30
  106. data/lib/fhir_dstu2_models/fhir/resources/Schedule.rb +14 -14
  107. data/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb +29 -29
  108. data/lib/fhir_dstu2_models/fhir/resources/Slot.rb +17 -17
  109. data/lib/fhir_dstu2_models/fhir/resources/Specimen.rb +45 -45
  110. data/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb +54 -54
  111. data/lib/fhir_dstu2_models/fhir/resources/Subscription.rb +24 -24
  112. data/lib/fhir_dstu2_models/fhir/resources/Substance.rb +26 -26
  113. data/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb +20 -20
  114. data/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb +25 -25
  115. data/lib/fhir_dstu2_models/fhir/resources/TestScript.rb +140 -140
  116. data/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb +108 -108
  117. data/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb +35 -35
  118. data/lib/fhir_dstu2_models/fhir/types/Address.rb +16 -16
  119. data/lib/fhir_dstu2_models/fhir/types/Annotation.rb +10 -10
  120. data/lib/fhir_dstu2_models/fhir/types/Attachment.rb +14 -14
  121. data/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb +7 -7
  122. data/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb +8 -8
  123. data/lib/fhir_dstu2_models/fhir/types/Coding.rb +11 -11
  124. data/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb +11 -11
  125. data/lib/fhir_dstu2_models/fhir/types/Element.rb +3 -3
  126. data/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb +263 -263
  127. data/lib/fhir_dstu2_models/fhir/types/Extension.rb +40 -40
  128. data/lib/fhir_dstu2_models/fhir/types/HumanName.rb +13 -13
  129. data/lib/fhir_dstu2_models/fhir/types/Identifier.rb +12 -12
  130. data/lib/fhir_dstu2_models/fhir/types/Meta.rb +11 -11
  131. data/lib/fhir_dstu2_models/fhir/types/Narrative.rb +8 -8
  132. data/lib/fhir_dstu2_models/fhir/types/Period.rb +8 -8
  133. data/lib/fhir_dstu2_models/fhir/types/Quantity.rb +11 -11
  134. data/lib/fhir_dstu2_models/fhir/types/Range.rb +8 -8
  135. data/lib/fhir_dstu2_models/fhir/types/Ratio.rb +8 -8
  136. data/lib/fhir_dstu2_models/fhir/types/Reference.rb +5 -5
  137. data/lib/fhir_dstu2_models/fhir/types/SampledData.rb +13 -13
  138. data/lib/fhir_dstu2_models/fhir/types/Signature.rb +12 -12
  139. data/lib/fhir_dstu2_models/fhir/types/Timing.rb +24 -24
  140. data/lib/fhir_dstu2_models/fhir.rb +7 -6
  141. data/lib/fhir_dstu2_models/fhir_ext/element_definition.rb +3 -0
  142. data/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb +19 -14
  143. data/lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb +10 -0
  144. data/lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb +2 -2
  145. data/lib/fhir_dstu2_models/fluentpath/evaluate.rb +18 -11
  146. data/lib/fhir_dstu2_models/fluentpath/expression.rb +3 -5
  147. data/lib/fhir_dstu2_models/fluentpath/parse.rb +7 -4
  148. data/lib/fhir_dstu2_models/version.rb +1 -1
  149. metadata +11 -9
@@ -7,35 +7,35 @@ module FHIR
7
7
 
8
8
  SEARCH_PARAMS = ['description', 'identifier', 'name', 'testscript-capability', 'testscript-setup-capability', 'testscript-test-capability', 'url']
9
9
  METADATA = {
10
- 'id' => {'type'=>'id', 'path'=>'TestScript.id', 'min'=>0, 'max'=>1},
11
- 'meta' => {'type'=>'Meta', 'path'=>'TestScript.meta', 'min'=>0, 'max'=>1},
12
- 'implicitRules' => {'type'=>'uri', 'path'=>'TestScript.implicitRules', 'min'=>0, 'max'=>1},
13
- 'language' => {'type'=>'code', 'path'=>'TestScript.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
14
- 'text' => {'type'=>'Narrative', 'path'=>'TestScript.text', 'min'=>0, 'max'=>1},
15
- 'contained' => {'type'=>'Resource', 'path'=>'TestScript.contained', 'min'=>0, 'max'=>Float::INFINITY},
16
- 'extension' => {'type'=>'Extension', 'path'=>'TestScript.extension', 'min'=>0, 'max'=>Float::INFINITY},
17
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'TestScript.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
18
- 'url' => {'type'=>'uri', 'path'=>'TestScript.url', 'min'=>1, 'max'=>1},
19
- 'version' => {'type'=>'string', 'path'=>'TestScript.version', 'min'=>0, 'max'=>1},
20
- 'name' => {'type'=>'string', 'path'=>'TestScript.name', 'min'=>1, 'max'=>1},
21
- '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'}},
22
- 'identifier' => {'type'=>'Identifier', 'path'=>'TestScript.identifier', 'min'=>0, 'max'=>1},
23
- 'experimental' => {'type'=>'boolean', 'path'=>'TestScript.experimental', 'min'=>0, 'max'=>1},
24
- 'publisher' => {'type'=>'string', 'path'=>'TestScript.publisher', 'min'=>0, 'max'=>1},
25
- 'contact' => {'type'=>'TestScript::Contact', 'path'=>'TestScript.contact', 'min'=>0, 'max'=>Float::INFINITY},
26
- 'date' => {'type'=>'dateTime', 'path'=>'TestScript.date', 'min'=>0, 'max'=>1},
27
- 'description' => {'type'=>'string', 'path'=>'TestScript.description', 'min'=>0, 'max'=>1},
28
- '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'}},
29
- 'requirements' => {'type'=>'string', 'path'=>'TestScript.requirements', 'min'=>0, 'max'=>1},
30
- 'copyright' => {'type'=>'string', 'path'=>'TestScript.copyright', 'min'=>0, 'max'=>1},
31
- 'metadata' => {'type'=>'TestScript::Metadata', 'path'=>'TestScript.metadata', 'min'=>0, 'max'=>1},
32
- 'multiserver' => {'type'=>'boolean', 'path'=>'TestScript.multiserver', 'min'=>0, 'max'=>1},
33
- 'fixture' => {'type'=>'TestScript::Fixture', 'path'=>'TestScript.fixture', 'min'=>0, 'max'=>Float::INFINITY},
34
- 'profile' => {'type'=>'Reference', 'path'=>'TestScript.profile', 'min'=>0, 'max'=>Float::INFINITY},
35
- 'variable' => {'type'=>'TestScript::Variable', 'path'=>'TestScript.variable', 'min'=>0, 'max'=>Float::INFINITY},
36
- 'setup' => {'type'=>'TestScript::Setup', 'path'=>'TestScript.setup', 'min'=>0, 'max'=>1},
37
- 'test' => {'type'=>'TestScript::Test', 'path'=>'TestScript.test', 'min'=>0, 'max'=>Float::INFINITY},
38
- 'teardown' => {'type'=>'TestScript::Teardown', 'path'=>'TestScript.teardown', 'min'=>0, 'max'=>1}
10
+ 'id' => { 'type' => 'id', 'path' => 'TestScript.id', 'min' => 0, 'max' => 1 },
11
+ 'meta' => { 'type' => 'Meta', 'path' => 'TestScript.meta', 'min' => 0, 'max' => 1 },
12
+ 'implicitRules' => { 'type' => 'uri', 'path' => 'TestScript.implicitRules', 'min' => 0, 'max' => 1 },
13
+ 'language' => { 'type' => 'code', 'path' => 'TestScript.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
14
+ 'text' => { 'type' => 'Narrative', 'path' => 'TestScript.text', 'min' => 0, 'max' => 1 },
15
+ 'contained' => { 'type' => 'Resource', 'path' => 'TestScript.contained', 'min' => 0, 'max' => Float::INFINITY },
16
+ 'extension' => { 'type' => 'Extension', 'path' => 'TestScript.extension', 'min' => 0, 'max' => Float::INFINITY },
17
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'TestScript.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
18
+ 'url' => { 'type' => 'uri', 'path' => 'TestScript.url', 'min' => 1, 'max' => 1 },
19
+ 'version' => { 'type' => 'string', 'path' => 'TestScript.version', 'min' => 0, 'max' => 1 },
20
+ 'name' => { 'type' => 'string', 'path' => 'TestScript.name', 'min' => 1, 'max' => 1 },
21
+ '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' } },
22
+ 'identifier' => { 'type' => 'Identifier', 'path' => 'TestScript.identifier', 'min' => 0, 'max' => 1 },
23
+ 'experimental' => { 'type' => 'boolean', 'path' => 'TestScript.experimental', 'min' => 0, 'max' => 1 },
24
+ 'publisher' => { 'type' => 'string', 'path' => 'TestScript.publisher', 'min' => 0, 'max' => 1 },
25
+ 'contact' => { 'type' => 'TestScript::Contact', 'path' => 'TestScript.contact', 'min' => 0, 'max' => Float::INFINITY },
26
+ 'date' => { 'type' => 'dateTime', 'path' => 'TestScript.date', 'min' => 0, 'max' => 1 },
27
+ 'description' => { 'type' => 'string', 'path' => 'TestScript.description', 'min' => 0, 'max' => 1 },
28
+ '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' } },
29
+ 'requirements' => { 'type' => 'string', 'path' => 'TestScript.requirements', 'min' => 0, 'max' => 1 },
30
+ 'copyright' => { 'type' => 'string', 'path' => 'TestScript.copyright', 'min' => 0, 'max' => 1 },
31
+ 'metadata' => { 'type' => 'TestScript::Metadata', 'path' => 'TestScript.metadata', 'min' => 0, 'max' => 1 },
32
+ 'multiserver' => { 'type' => 'boolean', 'path' => 'TestScript.multiserver', 'min' => 0, 'max' => 1 },
33
+ 'fixture' => { 'type' => 'TestScript::Fixture', 'path' => 'TestScript.fixture', 'min' => 0, 'max' => Float::INFINITY },
34
+ 'profile' => { 'type' => 'Reference', 'path' => 'TestScript.profile', 'min' => 0, 'max' => Float::INFINITY },
35
+ 'variable' => { 'type' => 'TestScript::Variable', 'path' => 'TestScript.variable', 'min' => 0, 'max' => Float::INFINITY },
36
+ 'setup' => { 'type' => 'TestScript::Setup', 'path' => 'TestScript.setup', 'min' => 0, 'max' => 1 },
37
+ 'test' => { 'type' => 'TestScript::Test', 'path' => 'TestScript.test', 'min' => 0, 'max' => Float::INFINITY },
38
+ 'teardown' => { 'type' => 'TestScript::Teardown', 'path' => 'TestScript.teardown', 'min' => 0, 'max' => 1 }
39
39
  }
40
40
 
41
41
  class Contact < FHIR::DSTU2::Model
@@ -44,11 +44,11 @@ module FHIR
44
44
  include FHIR::DSTU2::Xml
45
45
 
46
46
  METADATA = {
47
- 'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1},
48
- 'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY},
49
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
50
- 'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1},
51
- 'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY}
47
+ 'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 },
48
+ 'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY },
49
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
50
+ 'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 },
51
+ 'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY }
52
52
  }
53
53
 
54
54
  attr_accessor :id # 0-1 id
@@ -64,11 +64,11 @@ module FHIR
64
64
  include FHIR::DSTU2::Xml
65
65
 
66
66
  METADATA = {
67
- 'id' => {'type'=>'id', 'path'=>'Metadata.id', 'min'=>0, 'max'=>1},
68
- 'extension' => {'type'=>'Extension', 'path'=>'Metadata.extension', 'min'=>0, 'max'=>Float::INFINITY},
69
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Metadata.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
70
- 'link' => {'type'=>'TestScript::Metadata::Link', 'path'=>'Metadata.link', 'min'=>0, 'max'=>Float::INFINITY},
71
- 'capability' => {'type'=>'TestScript::Metadata::Capability', 'path'=>'Metadata.capability', 'min'=>1, 'max'=>Float::INFINITY}
67
+ 'id' => { 'type' => 'id', 'path' => 'Metadata.id', 'min' => 0, 'max' => 1 },
68
+ 'extension' => { 'type' => 'Extension', 'path' => 'Metadata.extension', 'min' => 0, 'max' => Float::INFINITY },
69
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Metadata.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
70
+ 'link' => { 'type' => 'TestScript::Metadata::Link', 'path' => 'Metadata.link', 'min' => 0, 'max' => Float::INFINITY },
71
+ 'capability' => { 'type' => 'TestScript::Metadata::Capability', 'path' => 'Metadata.capability', 'min' => 1, 'max' => Float::INFINITY }
72
72
  }
73
73
 
74
74
  class Link < FHIR::DSTU2::Model
@@ -77,11 +77,11 @@ module FHIR
77
77
  include FHIR::DSTU2::Xml
78
78
 
79
79
  METADATA = {
80
- 'id' => {'type'=>'id', 'path'=>'Link.id', 'min'=>0, 'max'=>1},
81
- 'extension' => {'type'=>'Extension', 'path'=>'Link.extension', 'min'=>0, 'max'=>Float::INFINITY},
82
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Link.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
83
- 'url' => {'type'=>'uri', 'path'=>'Link.url', 'min'=>1, 'max'=>1},
84
- 'description' => {'type'=>'string', 'path'=>'Link.description', 'min'=>0, 'max'=>1}
80
+ 'id' => { 'type' => 'id', 'path' => 'Link.id', 'min' => 0, 'max' => 1 },
81
+ 'extension' => { 'type' => 'Extension', 'path' => 'Link.extension', 'min' => 0, 'max' => Float::INFINITY },
82
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Link.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
83
+ 'url' => { 'type' => 'uri', 'path' => 'Link.url', 'min' => 1, 'max' => 1 },
84
+ 'description' => { 'type' => 'string', 'path' => 'Link.description', 'min' => 0, 'max' => 1 }
85
85
  }
86
86
 
87
87
  attr_accessor :id # 0-1 id
@@ -97,15 +97,15 @@ module FHIR
97
97
  include FHIR::DSTU2::Xml
98
98
 
99
99
  METADATA = {
100
- 'id' => {'type'=>'id', 'path'=>'Capability.id', 'min'=>0, 'max'=>1},
101
- 'extension' => {'type'=>'Extension', 'path'=>'Capability.extension', 'min'=>0, 'max'=>Float::INFINITY},
102
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Capability.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
103
- 'required' => {'type'=>'boolean', 'path'=>'Capability.required', 'min'=>0, 'max'=>1},
104
- 'validated' => {'type'=>'boolean', 'path'=>'Capability.validated', 'min'=>0, 'max'=>1},
105
- 'description' => {'type'=>'string', 'path'=>'Capability.description', 'min'=>0, 'max'=>1},
106
- 'destination' => {'type'=>'integer', 'path'=>'Capability.destination', 'min'=>0, 'max'=>1},
107
- 'link' => {'type'=>'uri', 'path'=>'Capability.link', 'min'=>0, 'max'=>Float::INFINITY},
108
- 'conformance' => {'type'=>'Reference', 'path'=>'Capability.conformance', 'min'=>1, 'max'=>1}
100
+ 'id' => { 'type' => 'id', 'path' => 'Capability.id', 'min' => 0, 'max' => 1 },
101
+ 'extension' => { 'type' => 'Extension', 'path' => 'Capability.extension', 'min' => 0, 'max' => Float::INFINITY },
102
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Capability.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
103
+ 'required' => { 'type' => 'boolean', 'path' => 'Capability.required', 'min' => 0, 'max' => 1 },
104
+ 'validated' => { 'type' => 'boolean', 'path' => 'Capability.validated', 'min' => 0, 'max' => 1 },
105
+ 'description' => { 'type' => 'string', 'path' => 'Capability.description', 'min' => 0, 'max' => 1 },
106
+ 'destination' => { 'type' => 'integer', 'path' => 'Capability.destination', 'min' => 0, 'max' => 1 },
107
+ 'link' => { 'type' => 'uri', 'path' => 'Capability.link', 'min' => 0, 'max' => Float::INFINITY },
108
+ 'conformance' => { 'type' => 'Reference', 'path' => 'Capability.conformance', 'min' => 1, 'max' => 1 }
109
109
  }
110
110
 
111
111
  attr_accessor :id # 0-1 id
@@ -132,12 +132,12 @@ module FHIR
132
132
  include FHIR::DSTU2::Xml
133
133
 
134
134
  METADATA = {
135
- 'id' => {'type'=>'id', 'path'=>'Fixture.id', 'min'=>0, 'max'=>1},
136
- 'extension' => {'type'=>'Extension', 'path'=>'Fixture.extension', 'min'=>0, 'max'=>Float::INFINITY},
137
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Fixture.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
138
- 'autocreate' => {'type'=>'boolean', 'path'=>'Fixture.autocreate', 'min'=>0, 'max'=>1},
139
- 'autodelete' => {'type'=>'boolean', 'path'=>'Fixture.autodelete', 'min'=>0, 'max'=>1},
140
- 'resource' => {'type'=>'Reference', 'path'=>'Fixture.resource', 'min'=>0, 'max'=>1}
135
+ 'id' => { 'type' => 'id', 'path' => 'Fixture.id', 'min' => 0, 'max' => 1 },
136
+ 'extension' => { 'type' => 'Extension', 'path' => 'Fixture.extension', 'min' => 0, 'max' => Float::INFINITY },
137
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Fixture.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
138
+ 'autocreate' => { 'type' => 'boolean', 'path' => 'Fixture.autocreate', 'min' => 0, 'max' => 1 },
139
+ 'autodelete' => { 'type' => 'boolean', 'path' => 'Fixture.autodelete', 'min' => 0, 'max' => 1 },
140
+ 'resource' => { 'type' => 'Reference', 'path' => 'Fixture.resource', 'min' => 0, 'max' => 1 }
141
141
  }
142
142
 
143
143
  attr_accessor :id # 0-1 id
@@ -154,13 +154,13 @@ module FHIR
154
154
  include FHIR::DSTU2::Xml
155
155
 
156
156
  METADATA = {
157
- 'id' => {'type'=>'id', 'path'=>'Variable.id', 'min'=>0, 'max'=>1},
158
- 'extension' => {'type'=>'Extension', 'path'=>'Variable.extension', 'min'=>0, 'max'=>Float::INFINITY},
159
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Variable.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
160
- 'name' => {'type'=>'string', 'path'=>'Variable.name', 'min'=>1, 'max'=>1},
161
- 'headerField' => {'type'=>'string', 'path'=>'Variable.headerField', 'min'=>0, 'max'=>1},
162
- 'path' => {'type'=>'string', 'path'=>'Variable.path', 'min'=>0, 'max'=>1},
163
- 'sourceId' => {'type'=>'id', 'path'=>'Variable.sourceId', 'min'=>0, 'max'=>1}
157
+ 'id' => { 'type' => 'id', 'path' => 'Variable.id', 'min' => 0, 'max' => 1 },
158
+ 'extension' => { 'type' => 'Extension', 'path' => 'Variable.extension', 'min' => 0, 'max' => Float::INFINITY },
159
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Variable.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
160
+ 'name' => { 'type' => 'string', 'path' => 'Variable.name', 'min' => 1, 'max' => 1 },
161
+ 'headerField' => { 'type' => 'string', 'path' => 'Variable.headerField', 'min' => 0, 'max' => 1 },
162
+ 'path' => { 'type' => 'string', 'path' => 'Variable.path', 'min' => 0, 'max' => 1 },
163
+ 'sourceId' => { 'type' => 'id', 'path' => 'Variable.sourceId', 'min' => 0, 'max' => 1 }
164
164
  }
165
165
 
166
166
  attr_accessor :id # 0-1 id
@@ -178,11 +178,11 @@ module FHIR
178
178
  include FHIR::DSTU2::Xml
179
179
 
180
180
  METADATA = {
181
- 'id' => {'type'=>'id', 'path'=>'Setup.id', 'min'=>0, 'max'=>1},
182
- 'extension' => {'type'=>'Extension', 'path'=>'Setup.extension', 'min'=>0, 'max'=>Float::INFINITY},
183
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Setup.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
184
- 'metadata' => {'type'=>'TestScript::Metadata', 'path'=>'Setup.metadata', 'min'=>0, 'max'=>1},
185
- 'action' => {'type'=>'TestScript::Setup::Action', 'path'=>'Setup.action', 'min'=>1, 'max'=>Float::INFINITY}
181
+ 'id' => { 'type' => 'id', 'path' => 'Setup.id', 'min' => 0, 'max' => 1 },
182
+ 'extension' => { 'type' => 'Extension', 'path' => 'Setup.extension', 'min' => 0, 'max' => Float::INFINITY },
183
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Setup.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
184
+ 'metadata' => { 'type' => 'TestScript::Metadata', 'path' => 'Setup.metadata', 'min' => 0, 'max' => 1 },
185
+ 'action' => { 'type' => 'TestScript::Setup::Action', 'path' => 'Setup.action', 'min' => 1, 'max' => Float::INFINITY }
186
186
  }
187
187
 
188
188
  class Action < FHIR::DSTU2::Model
@@ -191,11 +191,11 @@ module FHIR
191
191
  include FHIR::DSTU2::Xml
192
192
 
193
193
  METADATA = {
194
- 'id' => {'type'=>'id', 'path'=>'Action.id', 'min'=>0, 'max'=>1},
195
- 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY},
196
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
197
- 'operation' => {'type'=>'TestScript::Setup::Action::Operation', 'path'=>'Action.operation', 'min'=>0, 'max'=>1},
198
- 'assert' => {'type'=>'TestScript::Setup::Action::Assert', 'path'=>'Action.assert', 'min'=>0, 'max'=>1}
194
+ 'id' => { 'type' => 'id', 'path' => 'Action.id', 'min' => 0, 'max' => 1 },
195
+ 'extension' => { 'type' => 'Extension', 'path' => 'Action.extension', 'min' => 0, 'max' => Float::INFINITY },
196
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Action.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
197
+ 'operation' => { 'type' => 'TestScript::Setup::Action::Operation', 'path' => 'Action.operation', 'min' => 0, 'max' => 1 },
198
+ 'assert' => { 'type' => 'TestScript::Setup::Action::Assert', 'path' => 'Action.assert', 'min' => 0, 'max' => 1 }
199
199
  }
200
200
 
201
201
  class Operation < FHIR::DSTU2::Model
@@ -204,23 +204,23 @@ module FHIR
204
204
  include FHIR::DSTU2::Xml
205
205
 
206
206
  METADATA = {
207
- 'id' => {'type'=>'id', 'path'=>'Operation.id', 'min'=>0, 'max'=>1},
208
- 'extension' => {'type'=>'Extension', 'path'=>'Operation.extension', 'min'=>0, 'max'=>Float::INFINITY},
209
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Operation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
210
- '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'}},
211
- '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'}},
212
- 'label' => {'type'=>'string', 'path'=>'Operation.label', 'min'=>0, 'max'=>1},
213
- 'description' => {'type'=>'string', 'path'=>'Operation.description', 'min'=>0, 'max'=>1},
214
- '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'}},
215
- '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'}},
216
- 'destination' => {'type'=>'integer', 'path'=>'Operation.destination', 'min'=>0, 'max'=>1},
217
- 'encodeRequestUrl' => {'type'=>'boolean', 'path'=>'Operation.encodeRequestUrl', 'min'=>0, 'max'=>1},
218
- 'params' => {'type'=>'string', 'path'=>'Operation.params', 'min'=>0, 'max'=>1},
219
- 'requestHeader' => {'type'=>'TestScript::Setup::Action::Operation::RequestHeader', 'path'=>'Operation.requestHeader', 'min'=>0, 'max'=>Float::INFINITY},
220
- 'responseId' => {'type'=>'id', 'path'=>'Operation.responseId', 'min'=>0, 'max'=>1},
221
- 'sourceId' => {'type'=>'id', 'path'=>'Operation.sourceId', 'min'=>0, 'max'=>1},
222
- 'targetId' => {'type'=>'id', 'path'=>'Operation.targetId', 'min'=>0, 'max'=>1},
223
- 'url' => {'type'=>'string', 'path'=>'Operation.url', 'min'=>0, 'max'=>1}
207
+ 'id' => { 'type' => 'id', 'path' => 'Operation.id', 'min' => 0, 'max' => 1 },
208
+ 'extension' => { 'type' => 'Extension', 'path' => 'Operation.extension', 'min' => 0, 'max' => Float::INFINITY },
209
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Operation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
210
+ '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' } },
211
+ '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' } },
212
+ 'label' => { 'type' => 'string', 'path' => 'Operation.label', 'min' => 0, 'max' => 1 },
213
+ 'description' => { 'type' => 'string', 'path' => 'Operation.description', 'min' => 0, 'max' => 1 },
214
+ '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' } },
215
+ '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' } },
216
+ 'destination' => { 'type' => 'integer', 'path' => 'Operation.destination', 'min' => 0, 'max' => 1 },
217
+ 'encodeRequestUrl' => { 'type' => 'boolean', 'path' => 'Operation.encodeRequestUrl', 'min' => 0, 'max' => 1 },
218
+ 'params' => { 'type' => 'string', 'path' => 'Operation.params', 'min' => 0, 'max' => 1 },
219
+ 'requestHeader' => { 'type' => 'TestScript::Setup::Action::Operation::RequestHeader', 'path' => 'Operation.requestHeader', 'min' => 0, 'max' => Float::INFINITY },
220
+ 'responseId' => { 'type' => 'id', 'path' => 'Operation.responseId', 'min' => 0, 'max' => 1 },
221
+ 'sourceId' => { 'type' => 'id', 'path' => 'Operation.sourceId', 'min' => 0, 'max' => 1 },
222
+ 'targetId' => { 'type' => 'id', 'path' => 'Operation.targetId', 'min' => 0, 'max' => 1 },
223
+ 'url' => { 'type' => 'string', 'path' => 'Operation.url', 'min' => 0, 'max' => 1 }
224
224
  }
225
225
 
226
226
  class RequestHeader < FHIR::DSTU2::Model
@@ -229,11 +229,11 @@ module FHIR
229
229
  include FHIR::DSTU2::Xml
230
230
 
231
231
  METADATA = {
232
- 'id' => {'type'=>'id', 'path'=>'RequestHeader.id', 'min'=>0, 'max'=>1},
233
- 'extension' => {'type'=>'Extension', 'path'=>'RequestHeader.extension', 'min'=>0, 'max'=>Float::INFINITY},
234
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'RequestHeader.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
235
- 'field' => {'type'=>'string', 'path'=>'RequestHeader.field', 'min'=>1, 'max'=>1},
236
- 'value' => {'type'=>'string', 'path'=>'RequestHeader.value', 'min'=>1, 'max'=>1}
232
+ 'id' => { 'type' => 'id', 'path' => 'RequestHeader.id', 'min' => 0, 'max' => 1 },
233
+ 'extension' => { 'type' => 'Extension', 'path' => 'RequestHeader.extension', 'min' => 0, 'max' => Float::INFINITY },
234
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RequestHeader.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
235
+ 'field' => { 'type' => 'string', 'path' => 'RequestHeader.field', 'min' => 1, 'max' => 1 },
236
+ 'value' => { 'type' => 'string', 'path' => 'RequestHeader.value', 'min' => 1, 'max' => 1 }
237
237
  }
238
238
 
239
239
  attr_accessor :id # 0-1 id
@@ -268,27 +268,27 @@ module FHIR
268
268
  include FHIR::DSTU2::Xml
269
269
 
270
270
  METADATA = {
271
- 'id' => {'type'=>'id', 'path'=>'Assert.id', 'min'=>0, 'max'=>1},
272
- 'extension' => {'type'=>'Extension', 'path'=>'Assert.extension', 'min'=>0, 'max'=>Float::INFINITY},
273
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Assert.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
274
- 'label' => {'type'=>'string', 'path'=>'Assert.label', 'min'=>0, 'max'=>1},
275
- 'description' => {'type'=>'string', 'path'=>'Assert.description', 'min'=>0, 'max'=>1},
276
- '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'}},
277
- 'compareToSourceId' => {'type'=>'string', 'path'=>'Assert.compareToSourceId', 'min'=>0, 'max'=>1},
278
- 'compareToSourcePath' => {'type'=>'string', 'path'=>'Assert.compareToSourcePath', 'min'=>0, 'max'=>1},
279
- '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'}},
280
- 'headerField' => {'type'=>'string', 'path'=>'Assert.headerField', 'min'=>0, 'max'=>1},
281
- 'minimumId' => {'type'=>'string', 'path'=>'Assert.minimumId', 'min'=>0, 'max'=>1},
282
- 'navigationLinks' => {'type'=>'boolean', 'path'=>'Assert.navigationLinks', 'min'=>0, 'max'=>1},
283
- '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'}},
284
- 'path' => {'type'=>'string', 'path'=>'Assert.path', 'min'=>0, 'max'=>1},
285
- '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'}},
286
- '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'}},
287
- 'responseCode' => {'type'=>'string', 'path'=>'Assert.responseCode', 'min'=>0, 'max'=>1},
288
- 'sourceId' => {'type'=>'id', 'path'=>'Assert.sourceId', 'min'=>0, 'max'=>1},
289
- 'validateProfileId' => {'type'=>'id', 'path'=>'Assert.validateProfileId', 'min'=>0, 'max'=>1},
290
- 'value' => {'type'=>'string', 'path'=>'Assert.value', 'min'=>0, 'max'=>1},
291
- 'warningOnly' => {'type'=>'boolean', 'path'=>'Assert.warningOnly', 'min'=>0, 'max'=>1}
271
+ 'id' => { 'type' => 'id', 'path' => 'Assert.id', 'min' => 0, 'max' => 1 },
272
+ 'extension' => { 'type' => 'Extension', 'path' => 'Assert.extension', 'min' => 0, 'max' => Float::INFINITY },
273
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Assert.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
274
+ 'label' => { 'type' => 'string', 'path' => 'Assert.label', 'min' => 0, 'max' => 1 },
275
+ 'description' => { 'type' => 'string', 'path' => 'Assert.description', 'min' => 0, 'max' => 1 },
276
+ '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' } },
277
+ 'compareToSourceId' => { 'type' => 'string', 'path' => 'Assert.compareToSourceId', 'min' => 0, 'max' => 1 },
278
+ 'compareToSourcePath' => { 'type' => 'string', 'path' => 'Assert.compareToSourcePath', 'min' => 0, 'max' => 1 },
279
+ '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' } },
280
+ 'headerField' => { 'type' => 'string', 'path' => 'Assert.headerField', 'min' => 0, 'max' => 1 },
281
+ 'minimumId' => { 'type' => 'string', 'path' => 'Assert.minimumId', 'min' => 0, 'max' => 1 },
282
+ 'navigationLinks' => { 'type' => 'boolean', 'path' => 'Assert.navigationLinks', 'min' => 0, 'max' => 1 },
283
+ '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' } },
284
+ 'path' => { 'type' => 'string', 'path' => 'Assert.path', 'min' => 0, 'max' => 1 },
285
+ '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' } },
286
+ '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' } },
287
+ 'responseCode' => { 'type' => 'string', 'path' => 'Assert.responseCode', 'min' => 0, 'max' => 1 },
288
+ 'sourceId' => { 'type' => 'id', 'path' => 'Assert.sourceId', 'min' => 0, 'max' => 1 },
289
+ 'validateProfileId' => { 'type' => 'id', 'path' => 'Assert.validateProfileId', 'min' => 0, 'max' => 1 },
290
+ 'value' => { 'type' => 'string', 'path' => 'Assert.value', 'min' => 0, 'max' => 1 },
291
+ 'warningOnly' => { 'type' => 'boolean', 'path' => 'Assert.warningOnly', 'min' => 0, 'max' => 1 }
292
292
  }
293
293
 
294
294
  attr_accessor :id # 0-1 id
@@ -334,13 +334,13 @@ module FHIR
334
334
  include FHIR::DSTU2::Xml
335
335
 
336
336
  METADATA = {
337
- 'id' => {'type'=>'id', 'path'=>'Test.id', 'min'=>0, 'max'=>1},
338
- 'extension' => {'type'=>'Extension', 'path'=>'Test.extension', 'min'=>0, 'max'=>Float::INFINITY},
339
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Test.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
340
- 'name' => {'type'=>'string', 'path'=>'Test.name', 'min'=>0, 'max'=>1},
341
- 'description' => {'type'=>'string', 'path'=>'Test.description', 'min'=>0, 'max'=>1},
342
- 'metadata' => {'type'=>'TestScript::Metadata', 'path'=>'Test.metadata', 'min'=>0, 'max'=>1},
343
- 'action' => {'type'=>'TestScript::Test::Action', 'path'=>'Test.action', 'min'=>1, 'max'=>Float::INFINITY}
337
+ 'id' => { 'type' => 'id', 'path' => 'Test.id', 'min' => 0, 'max' => 1 },
338
+ 'extension' => { 'type' => 'Extension', 'path' => 'Test.extension', 'min' => 0, 'max' => Float::INFINITY },
339
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Test.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
340
+ 'name' => { 'type' => 'string', 'path' => 'Test.name', 'min' => 0, 'max' => 1 },
341
+ 'description' => { 'type' => 'string', 'path' => 'Test.description', 'min' => 0, 'max' => 1 },
342
+ 'metadata' => { 'type' => 'TestScript::Metadata', 'path' => 'Test.metadata', 'min' => 0, 'max' => 1 },
343
+ 'action' => { 'type' => 'TestScript::Test::Action', 'path' => 'Test.action', 'min' => 1, 'max' => Float::INFINITY }
344
344
  }
345
345
 
346
346
  class Action < FHIR::DSTU2::Model
@@ -349,11 +349,11 @@ module FHIR
349
349
  include FHIR::DSTU2::Xml
350
350
 
351
351
  METADATA = {
352
- 'id' => {'type'=>'id', 'path'=>'Action.id', 'min'=>0, 'max'=>1},
353
- 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY},
354
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
355
- 'operation' => {'type'=>'TestScript::Setup::Action::Operation', 'path'=>'Action.operation', 'min'=>0, 'max'=>1},
356
- 'assert' => {'type'=>'TestScript::Setup::Action::Assert', 'path'=>'Action.assert', 'min'=>0, 'max'=>1}
352
+ 'id' => { 'type' => 'id', 'path' => 'Action.id', 'min' => 0, 'max' => 1 },
353
+ 'extension' => { 'type' => 'Extension', 'path' => 'Action.extension', 'min' => 0, 'max' => Float::INFINITY },
354
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Action.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
355
+ 'operation' => { 'type' => 'TestScript::Setup::Action::Operation', 'path' => 'Action.operation', 'min' => 0, 'max' => 1 },
356
+ 'assert' => { 'type' => 'TestScript::Setup::Action::Assert', 'path' => 'Action.assert', 'min' => 0, 'max' => 1 }
357
357
  }
358
358
 
359
359
  attr_accessor :id # 0-1 id
@@ -378,10 +378,10 @@ module FHIR
378
378
  include FHIR::DSTU2::Xml
379
379
 
380
380
  METADATA = {
381
- 'id' => {'type'=>'id', 'path'=>'Teardown.id', 'min'=>0, 'max'=>1},
382
- 'extension' => {'type'=>'Extension', 'path'=>'Teardown.extension', 'min'=>0, 'max'=>Float::INFINITY},
383
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Teardown.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
384
- 'action' => {'type'=>'TestScript::Teardown::Action', 'path'=>'Teardown.action', 'min'=>1, 'max'=>Float::INFINITY}
381
+ 'id' => { 'type' => 'id', 'path' => 'Teardown.id', 'min' => 0, 'max' => 1 },
382
+ 'extension' => { 'type' => 'Extension', 'path' => 'Teardown.extension', 'min' => 0, 'max' => Float::INFINITY },
383
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Teardown.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
384
+ 'action' => { 'type' => 'TestScript::Teardown::Action', 'path' => 'Teardown.action', 'min' => 1, 'max' => Float::INFINITY }
385
385
  }
386
386
 
387
387
  class Action < FHIR::DSTU2::Model
@@ -390,10 +390,10 @@ module FHIR
390
390
  include FHIR::DSTU2::Xml
391
391
 
392
392
  METADATA = {
393
- 'id' => {'type'=>'id', 'path'=>'Action.id', 'min'=>0, 'max'=>1},
394
- 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY},
395
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
396
- 'operation' => {'type'=>'TestScript::Setup::Action::Operation', 'path'=>'Action.operation', 'min'=>0, 'max'=>1}
393
+ 'id' => { 'type' => 'id', 'path' => 'Action.id', 'min' => 0, 'max' => 1 },
394
+ 'extension' => { 'type' => 'Extension', 'path' => 'Action.extension', 'min' => 0, 'max' => Float::INFINITY },
395
+ 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Action.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
396
+ 'operation' => { 'type' => 'TestScript::Setup::Action::Operation', 'path' => 'Action.operation', 'min' => 0, 'max' => 1 }
397
397
  }
398
398
 
399
399
  attr_accessor :id # 0-1 id
@@ -443,4 +443,4 @@ module FHIR
443
443
  end
444
444
  end
445
445
  end
446
- end
446
+ end