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.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -1
- data/.github/workflows/ruby.yml +2 -1
- data/.rubocop.yml +7 -1
- data/.rubocop_todo.yml +56 -161
- data/.ruby-version +1 -0
- data/.simplecov +1 -5
- data/.tool-versions +1 -0
- data/Gemfile.lock +37 -35
- data/Guardfile +1 -1
- data/fhir_dstu2_models.gemspec +2 -1
- data/lib/fhir_dstu2_models/bootstrap/definitions.rb +18 -4
- data/lib/fhir_dstu2_models/bootstrap/field.rb +2 -2
- data/lib/fhir_dstu2_models/bootstrap/generator.rb +6 -4
- data/lib/fhir_dstu2_models/bootstrap/hashable.rb +6 -5
- data/lib/fhir_dstu2_models/bootstrap/json.rb +2 -2
- data/lib/fhir_dstu2_models/bootstrap/model.rb +45 -32
- data/lib/fhir_dstu2_models/bootstrap/preprocess.rb +19 -11
- data/lib/fhir_dstu2_models/bootstrap/xml.rb +9 -7
- data/lib/fhir_dstu2_models/deprecate.rb +1 -0
- data/lib/fhir_dstu2_models/fhir/metadata.rb +19 -21
- data/lib/fhir_dstu2_models/fhir/resources/Account.rb +20 -20
- data/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb +34 -34
- data/lib/fhir_dstu2_models/fhir/resources/Appointment.rb +28 -28
- data/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb +17 -17
- data/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb +66 -66
- data/lib/fhir_dstu2_models/fhir/resources/Basic.rb +14 -14
- data/lib/fhir_dstu2_models/fhir/resources/Binary.rb +7 -7
- data/lib/fhir_dstu2_models/fhir/resources/BodySite.rb +15 -15
- data/lib/fhir_dstu2_models/fhir/resources/Bundle.rb +45 -45
- data/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb +63 -63
- data/lib/fhir_dstu2_models/fhir/resources/Claim.rb +118 -118
- data/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb +122 -124
- data/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb +42 -42
- data/lib/fhir_dstu2_models/fhir/resources/Communication.rb +28 -28
- data/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb +30 -30
- data/lib/fhir_dstu2_models/fhir/resources/Composition.rb +46 -46
- data/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb +53 -53
- data/lib/fhir_dstu2_models/fhir/resources/Condition.rb +44 -44
- data/lib/fhir_dstu2_models/fhir/resources/Conformance.rb +138 -138
- data/lib/fhir_dstu2_models/fhir/resources/Contract.rb +98 -98
- data/lib/fhir_dstu2_models/fhir/resources/Coverage.rb +23 -23
- data/lib/fhir_dstu2_models/fhir/resources/DataElement.rb +35 -35
- data/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb +25 -25
- data/lib/fhir_dstu2_models/fhir/resources/Device.rb +25 -25
- data/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb +25 -25
- data/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb +25 -25
- data/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb +25 -25
- data/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb +21 -21
- data/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb +36 -36
- data/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb +32 -32
- data/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb +31 -31
- data/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb +51 -51
- data/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb +12 -12
- data/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb +16 -16
- data/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb +19 -19
- data/lib/fhir_dstu2_models/fhir/resources/Encounter.rb +59 -59
- data/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb +19 -19
- data/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb +19 -19
- data/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb +31 -31
- data/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb +19 -19
- data/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb +39 -39
- data/lib/fhir_dstu2_models/fhir/resources/Flag.rb +17 -17
- data/lib/fhir_dstu2_models/fhir/resources/Goal.rb +30 -30
- data/lib/fhir_dstu2_models/fhir/resources/Group.rb +33 -33
- data/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb +48 -48
- data/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb +41 -41
- data/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb +48 -48
- data/lib/fhir_dstu2_models/fhir/resources/Immunization.rb +52 -52
- data/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb +35 -35
- data/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb +67 -67
- data/lib/fhir_dstu2_models/fhir/resources/List.rb +29 -29
- data/lib/fhir_dstu2_models/fhir/resources/Location.rb +27 -27
- data/lib/fhir_dstu2_models/fhir/resources/Media.rb +21 -21
- data/lib/fhir_dstu2_models/fhir/resources/Medication.rb +40 -40
- data/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb +36 -36
- data/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb +49 -49
- data/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb +57 -57
- data/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb +41 -41
- data/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb +40 -40
- data/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb +34 -34
- data/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb +67 -67
- data/lib/fhir_dstu2_models/fhir/resources/Observation.rb +68 -68
- data/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb +51 -51
- data/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb +21 -21
- data/lib/fhir_dstu2_models/fhir/resources/Order.rb +23 -23
- data/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb +16 -16
- data/lib/fhir_dstu2_models/fhir/resources/Organization.rb +24 -24
- data/lib/fhir_dstu2_models/fhir/resources/Parameters.rb +48 -48
- data/lib/fhir_dstu2_models/fhir/resources/Patient.rb +54 -54
- data/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb +19 -19
- data/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb +39 -39
- data/lib/fhir_dstu2_models/fhir/resources/Person.rb +24 -24
- data/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb +36 -36
- data/lib/fhir_dstu2_models/fhir/resources/Procedure.rb +42 -42
- data/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb +27 -27
- data/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb +29 -29
- data/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb +27 -27
- data/lib/fhir_dstu2_models/fhir/resources/Provenance.rb +39 -39
- data/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb +40 -40
- data/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb +50 -50
- data/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb +25 -25
- data/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb +19 -19
- data/lib/fhir_dstu2_models/fhir/resources/Resource.rb +5 -5
- data/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb +30 -30
- data/lib/fhir_dstu2_models/fhir/resources/Schedule.rb +14 -14
- data/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb +29 -29
- data/lib/fhir_dstu2_models/fhir/resources/Slot.rb +17 -17
- data/lib/fhir_dstu2_models/fhir/resources/Specimen.rb +45 -45
- data/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb +54 -54
- data/lib/fhir_dstu2_models/fhir/resources/Subscription.rb +24 -24
- data/lib/fhir_dstu2_models/fhir/resources/Substance.rb +26 -26
- data/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb +20 -20
- data/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb +25 -25
- data/lib/fhir_dstu2_models/fhir/resources/TestScript.rb +140 -140
- data/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb +108 -108
- data/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb +35 -35
- data/lib/fhir_dstu2_models/fhir/types/Address.rb +16 -16
- data/lib/fhir_dstu2_models/fhir/types/Annotation.rb +10 -10
- data/lib/fhir_dstu2_models/fhir/types/Attachment.rb +14 -14
- data/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb +7 -7
- data/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb +8 -8
- data/lib/fhir_dstu2_models/fhir/types/Coding.rb +11 -11
- data/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb +11 -11
- data/lib/fhir_dstu2_models/fhir/types/Element.rb +3 -3
- data/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb +263 -263
- data/lib/fhir_dstu2_models/fhir/types/Extension.rb +40 -40
- data/lib/fhir_dstu2_models/fhir/types/HumanName.rb +13 -13
- data/lib/fhir_dstu2_models/fhir/types/Identifier.rb +12 -12
- data/lib/fhir_dstu2_models/fhir/types/Meta.rb +11 -11
- data/lib/fhir_dstu2_models/fhir/types/Narrative.rb +8 -8
- data/lib/fhir_dstu2_models/fhir/types/Period.rb +8 -8
- data/lib/fhir_dstu2_models/fhir/types/Quantity.rb +11 -11
- data/lib/fhir_dstu2_models/fhir/types/Range.rb +8 -8
- data/lib/fhir_dstu2_models/fhir/types/Ratio.rb +8 -8
- data/lib/fhir_dstu2_models/fhir/types/Reference.rb +5 -5
- data/lib/fhir_dstu2_models/fhir/types/SampledData.rb +13 -13
- data/lib/fhir_dstu2_models/fhir/types/Signature.rb +12 -12
- data/lib/fhir_dstu2_models/fhir/types/Timing.rb +24 -24
- data/lib/fhir_dstu2_models/fhir.rb +7 -6
- data/lib/fhir_dstu2_models/fhir_ext/element_definition.rb +3 -0
- data/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb +19 -14
- data/lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb +10 -0
- data/lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb +2 -2
- data/lib/fhir_dstu2_models/fluentpath/evaluate.rb +18 -11
- data/lib/fhir_dstu2_models/fluentpath/expression.rb +3 -5
- data/lib/fhir_dstu2_models/fluentpath/parse.rb +7 -4
- data/lib/fhir_dstu2_models/version.rb +1 -1
- metadata +11 -9
@@ -7,27 +7,27 @@ module FHIR
|
|
7
7
|
|
8
8
|
SEARCH_PARAMS = ['contact', 'context', 'date', 'id-type', 'kind', 'name', 'period', 'publisher', 'replaced-by', 'responsible', 'status', 'telecom', 'type', 'value']
|
9
9
|
METADATA = {
|
10
|
-
'id' => {'type'=>'id', 'path'=>'NamingSystem.id', 'min'=>0, 'max'=>1},
|
11
|
-
'meta' => {'type'=>'Meta', 'path'=>'NamingSystem.meta', 'min'=>0, 'max'=>1},
|
12
|
-
'implicitRules' => {'type'=>'uri', 'path'=>'NamingSystem.implicitRules', 'min'=>0, 'max'=>1},
|
13
|
-
'language' => {'type'=>'code', 'path'=>'NamingSystem.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
14
|
-
'text' => {'type'=>'Narrative', 'path'=>'NamingSystem.text', 'min'=>0, 'max'=>1},
|
15
|
-
'contained' => {'type'=>'Resource', 'path'=>'NamingSystem.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
16
|
-
'extension' => {'type'=>'Extension', 'path'=>'NamingSystem.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
17
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'NamingSystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
18
|
-
'name' => {'type'=>'string', 'path'=>'NamingSystem.name', 'min'=>1, 'max'=>1},
|
19
|
-
'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'}},
|
20
|
-
'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'}},
|
21
|
-
'publisher' => {'type'=>'string', 'path'=>'NamingSystem.publisher', 'min'=>0, 'max'=>1},
|
22
|
-
'contact' => {'type'=>'NamingSystem::Contact', 'path'=>'NamingSystem.contact', 'min'=>0, 'max'=>Float::INFINITY},
|
23
|
-
'responsible' => {'type'=>'string', 'path'=>'NamingSystem.responsible', 'min'=>0, 'max'=>1},
|
24
|
-
'date' => {'type'=>'dateTime', 'path'=>'NamingSystem.date', 'min'=>1, 'max'=>1},
|
25
|
-
'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'}},
|
26
|
-
'description' => {'type'=>'string', 'path'=>'NamingSystem.description', 'min'=>0, 'max'=>1},
|
27
|
-
'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'}},
|
28
|
-
'usage' => {'type'=>'string', 'path'=>'NamingSystem.usage', 'min'=>0, 'max'=>1},
|
29
|
-
'uniqueId' => {'type'=>'NamingSystem::UniqueId', 'path'=>'NamingSystem.uniqueId', 'min'=>1, 'max'=>Float::INFINITY},
|
30
|
-
'replacedBy' => {'type'=>'Reference', 'path'=>'NamingSystem.replacedBy', 'min'=>0, 'max'=>1}
|
10
|
+
'id' => { 'type' => 'id', 'path' => 'NamingSystem.id', 'min' => 0, 'max' => 1 },
|
11
|
+
'meta' => { 'type' => 'Meta', 'path' => 'NamingSystem.meta', 'min' => 0, 'max' => 1 },
|
12
|
+
'implicitRules' => { 'type' => 'uri', 'path' => 'NamingSystem.implicitRules', 'min' => 0, 'max' => 1 },
|
13
|
+
'language' => { 'type' => 'code', 'path' => 'NamingSystem.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
|
14
|
+
'text' => { 'type' => 'Narrative', 'path' => 'NamingSystem.text', 'min' => 0, 'max' => 1 },
|
15
|
+
'contained' => { 'type' => 'Resource', 'path' => 'NamingSystem.contained', 'min' => 0, 'max' => Float::INFINITY },
|
16
|
+
'extension' => { 'type' => 'Extension', 'path' => 'NamingSystem.extension', 'min' => 0, 'max' => Float::INFINITY },
|
17
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'NamingSystem.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
18
|
+
'name' => { 'type' => 'string', 'path' => 'NamingSystem.name', 'min' => 1, 'max' => 1 },
|
19
|
+
'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' } },
|
20
|
+
'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' } },
|
21
|
+
'publisher' => { 'type' => 'string', 'path' => 'NamingSystem.publisher', 'min' => 0, 'max' => 1 },
|
22
|
+
'contact' => { 'type' => 'NamingSystem::Contact', 'path' => 'NamingSystem.contact', 'min' => 0, 'max' => Float::INFINITY },
|
23
|
+
'responsible' => { 'type' => 'string', 'path' => 'NamingSystem.responsible', 'min' => 0, 'max' => 1 },
|
24
|
+
'date' => { 'type' => 'dateTime', 'path' => 'NamingSystem.date', 'min' => 1, 'max' => 1 },
|
25
|
+
'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' } },
|
26
|
+
'description' => { 'type' => 'string', 'path' => 'NamingSystem.description', 'min' => 0, 'max' => 1 },
|
27
|
+
'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' } },
|
28
|
+
'usage' => { 'type' => 'string', 'path' => 'NamingSystem.usage', 'min' => 0, 'max' => 1 },
|
29
|
+
'uniqueId' => { 'type' => 'NamingSystem::UniqueId', 'path' => 'NamingSystem.uniqueId', 'min' => 1, 'max' => Float::INFINITY },
|
30
|
+
'replacedBy' => { 'type' => 'Reference', 'path' => 'NamingSystem.replacedBy', 'min' => 0, 'max' => 1 }
|
31
31
|
}
|
32
32
|
|
33
33
|
class Contact < FHIR::DSTU2::Model
|
@@ -36,11 +36,11 @@ module FHIR
|
|
36
36
|
include FHIR::DSTU2::Xml
|
37
37
|
|
38
38
|
METADATA = {
|
39
|
-
'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1},
|
40
|
-
'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
41
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
42
|
-
'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1},
|
43
|
-
'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY}
|
39
|
+
'id' => { 'type' => 'id', 'path' => 'Contact.id', 'min' => 0, 'max' => 1 },
|
40
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Contact.extension', 'min' => 0, 'max' => Float::INFINITY },
|
41
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contact.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
42
|
+
'name' => { 'type' => 'string', 'path' => 'Contact.name', 'min' => 0, 'max' => 1 },
|
43
|
+
'telecom' => { 'type' => 'ContactPoint', 'path' => 'Contact.telecom', 'min' => 0, 'max' => Float::INFINITY }
|
44
44
|
}
|
45
45
|
|
46
46
|
attr_accessor :id # 0-1 id
|
@@ -56,13 +56,13 @@ module FHIR
|
|
56
56
|
include FHIR::DSTU2::Xml
|
57
57
|
|
58
58
|
METADATA = {
|
59
|
-
'id' => {'type'=>'id', 'path'=>'UniqueId.id', 'min'=>0, 'max'=>1},
|
60
|
-
'extension' => {'type'=>'Extension', 'path'=>'UniqueId.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
61
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'UniqueId.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
62
|
-
'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'}},
|
63
|
-
'value' => {'type'=>'string', 'path'=>'UniqueId.value', 'min'=>1, 'max'=>1},
|
64
|
-
'preferred' => {'type'=>'boolean', 'path'=>'UniqueId.preferred', 'min'=>0, 'max'=>1},
|
65
|
-
'period' => {'type'=>'Period', 'path'=>'UniqueId.period', 'min'=>0, 'max'=>1}
|
59
|
+
'id' => { 'type' => 'id', 'path' => 'UniqueId.id', 'min' => 0, 'max' => 1 },
|
60
|
+
'extension' => { 'type' => 'Extension', 'path' => 'UniqueId.extension', 'min' => 0, 'max' => Float::INFINITY },
|
61
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'UniqueId.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
62
|
+
'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' } },
|
63
|
+
'value' => { 'type' => 'string', 'path' => 'UniqueId.value', 'min' => 1, 'max' => 1 },
|
64
|
+
'preferred' => { 'type' => 'boolean', 'path' => 'UniqueId.preferred', 'min' => 0, 'max' => 1 },
|
65
|
+
'period' => { 'type' => 'Period', 'path' => 'UniqueId.period', 'min' => 0, 'max' => 1 }
|
66
66
|
}
|
67
67
|
|
68
68
|
attr_accessor :id # 0-1 id
|
@@ -101,4 +101,4 @@ module FHIR
|
|
101
101
|
end
|
102
102
|
end
|
103
103
|
end
|
104
|
-
end
|
104
|
+
end
|
@@ -7,26 +7,26 @@ module FHIR
|
|
7
7
|
|
8
8
|
SEARCH_PARAMS = ['additive', 'datetime', 'encounter', 'formula', 'identifier', 'oraldiet', 'patient', 'provider', 'status', 'supplement']
|
9
9
|
METADATA = {
|
10
|
-
'id' => {'type'=>'id', 'path'=>'NutritionOrder.id', 'min'=>0, 'max'=>1},
|
11
|
-
'meta' => {'type'=>'Meta', 'path'=>'NutritionOrder.meta', 'min'=>0, 'max'=>1},
|
12
|
-
'implicitRules' => {'type'=>'uri', 'path'=>'NutritionOrder.implicitRules', 'min'=>0, 'max'=>1},
|
13
|
-
'language' => {'type'=>'code', 'path'=>'NutritionOrder.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
14
|
-
'text' => {'type'=>'Narrative', 'path'=>'NutritionOrder.text', 'min'=>0, 'max'=>1},
|
15
|
-
'contained' => {'type'=>'Resource', 'path'=>'NutritionOrder.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
16
|
-
'extension' => {'type'=>'Extension', 'path'=>'NutritionOrder.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
17
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'NutritionOrder.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
18
|
-
'patient' => {'type'=>'Reference', 'path'=>'NutritionOrder.patient', 'min'=>1, 'max'=>1},
|
19
|
-
'orderer' => {'type'=>'Reference', 'path'=>'NutritionOrder.orderer', 'min'=>0, 'max'=>1},
|
20
|
-
'identifier' => {'type'=>'Identifier', 'path'=>'NutritionOrder.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
21
|
-
'encounter' => {'type'=>'Reference', 'path'=>'NutritionOrder.encounter', 'min'=>0, 'max'=>1},
|
22
|
-
'dateTime' => {'type'=>'dateTime', 'path'=>'NutritionOrder.dateTime', 'min'=>1, 'max'=>1},
|
23
|
-
'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'}},
|
24
|
-
'allergyIntolerance' => {'type'=>'Reference', 'path'=>'NutritionOrder.allergyIntolerance', 'min'=>0, 'max'=>Float::INFINITY},
|
25
|
-
'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'}},
|
26
|
-
'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'}},
|
27
|
-
'oralDiet' => {'type'=>'NutritionOrder::OralDiet', 'path'=>'NutritionOrder.oralDiet', 'min'=>0, 'max'=>1},
|
28
|
-
'supplement' => {'type'=>'NutritionOrder::Supplement', 'path'=>'NutritionOrder.supplement', 'min'=>0, 'max'=>Float::INFINITY},
|
29
|
-
'enteralFormula' => {'type'=>'NutritionOrder::EnteralFormula', 'path'=>'NutritionOrder.enteralFormula', 'min'=>0, 'max'=>1}
|
10
|
+
'id' => { 'type' => 'id', 'path' => 'NutritionOrder.id', 'min' => 0, 'max' => 1 },
|
11
|
+
'meta' => { 'type' => 'Meta', 'path' => 'NutritionOrder.meta', 'min' => 0, 'max' => 1 },
|
12
|
+
'implicitRules' => { 'type' => 'uri', 'path' => 'NutritionOrder.implicitRules', 'min' => 0, 'max' => 1 },
|
13
|
+
'language' => { 'type' => 'code', 'path' => 'NutritionOrder.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
|
14
|
+
'text' => { 'type' => 'Narrative', 'path' => 'NutritionOrder.text', 'min' => 0, 'max' => 1 },
|
15
|
+
'contained' => { 'type' => 'Resource', 'path' => 'NutritionOrder.contained', 'min' => 0, 'max' => Float::INFINITY },
|
16
|
+
'extension' => { 'type' => 'Extension', 'path' => 'NutritionOrder.extension', 'min' => 0, 'max' => Float::INFINITY },
|
17
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'NutritionOrder.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
18
|
+
'patient' => { 'type' => 'Reference', 'path' => 'NutritionOrder.patient', 'min' => 1, 'max' => 1 },
|
19
|
+
'orderer' => { 'type' => 'Reference', 'path' => 'NutritionOrder.orderer', 'min' => 0, 'max' => 1 },
|
20
|
+
'identifier' => { 'type' => 'Identifier', 'path' => 'NutritionOrder.identifier', 'min' => 0, 'max' => Float::INFINITY },
|
21
|
+
'encounter' => { 'type' => 'Reference', 'path' => 'NutritionOrder.encounter', 'min' => 0, 'max' => 1 },
|
22
|
+
'dateTime' => { 'type' => 'dateTime', 'path' => 'NutritionOrder.dateTime', 'min' => 1, 'max' => 1 },
|
23
|
+
'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' } },
|
24
|
+
'allergyIntolerance' => { 'type' => 'Reference', 'path' => 'NutritionOrder.allergyIntolerance', 'min' => 0, 'max' => Float::INFINITY },
|
25
|
+
'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' } },
|
26
|
+
'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' } },
|
27
|
+
'oralDiet' => { 'type' => 'NutritionOrder::OralDiet', 'path' => 'NutritionOrder.oralDiet', 'min' => 0, 'max' => 1 },
|
28
|
+
'supplement' => { 'type' => 'NutritionOrder::Supplement', 'path' => 'NutritionOrder.supplement', 'min' => 0, 'max' => Float::INFINITY },
|
29
|
+
'enteralFormula' => { 'type' => 'NutritionOrder::EnteralFormula', 'path' => 'NutritionOrder.enteralFormula', 'min' => 0, 'max' => 1 }
|
30
30
|
}
|
31
31
|
|
32
32
|
class OralDiet < FHIR::DSTU2::Model
|
@@ -35,15 +35,15 @@ module FHIR
|
|
35
35
|
include FHIR::DSTU2::Xml
|
36
36
|
|
37
37
|
METADATA = {
|
38
|
-
'id' => {'type'=>'id', 'path'=>'OralDiet.id', 'min'=>0, 'max'=>1},
|
39
|
-
'extension' => {'type'=>'Extension', 'path'=>'OralDiet.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
40
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'OralDiet.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
41
|
-
'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'}},
|
42
|
-
'schedule' => {'type'=>'Timing', 'path'=>'OralDiet.schedule', 'min'=>0, 'max'=>Float::INFINITY},
|
43
|
-
'nutrient' => {'type'=>'NutritionOrder::OralDiet::Nutrient', 'path'=>'OralDiet.nutrient', 'min'=>0, 'max'=>Float::INFINITY},
|
44
|
-
'texture' => {'type'=>'NutritionOrder::OralDiet::Texture', 'path'=>'OralDiet.texture', 'min'=>0, 'max'=>Float::INFINITY},
|
45
|
-
'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'}},
|
46
|
-
'instruction' => {'type'=>'string', 'path'=>'OralDiet.instruction', 'min'=>0, 'max'=>1}
|
38
|
+
'id' => { 'type' => 'id', 'path' => 'OralDiet.id', 'min' => 0, 'max' => 1 },
|
39
|
+
'extension' => { 'type' => 'Extension', 'path' => 'OralDiet.extension', 'min' => 0, 'max' => Float::INFINITY },
|
40
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'OralDiet.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
41
|
+
'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' } },
|
42
|
+
'schedule' => { 'type' => 'Timing', 'path' => 'OralDiet.schedule', 'min' => 0, 'max' => Float::INFINITY },
|
43
|
+
'nutrient' => { 'type' => 'NutritionOrder::OralDiet::Nutrient', 'path' => 'OralDiet.nutrient', 'min' => 0, 'max' => Float::INFINITY },
|
44
|
+
'texture' => { 'type' => 'NutritionOrder::OralDiet::Texture', 'path' => 'OralDiet.texture', 'min' => 0, 'max' => Float::INFINITY },
|
45
|
+
'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' } },
|
46
|
+
'instruction' => { 'type' => 'string', 'path' => 'OralDiet.instruction', 'min' => 0, 'max' => 1 }
|
47
47
|
}
|
48
48
|
|
49
49
|
class Nutrient < FHIR::DSTU2::Model
|
@@ -52,11 +52,11 @@ module FHIR
|
|
52
52
|
include FHIR::DSTU2::Xml
|
53
53
|
|
54
54
|
METADATA = {
|
55
|
-
'id' => {'type'=>'id', 'path'=>'Nutrient.id', 'min'=>0, 'max'=>1},
|
56
|
-
'extension' => {'type'=>'Extension', 'path'=>'Nutrient.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
57
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Nutrient.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
58
|
-
'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'}},
|
59
|
-
'amount' => {'type'=>'Quantity', 'path'=>'Nutrient.amount', 'min'=>0, 'max'=>1}
|
55
|
+
'id' => { 'type' => 'id', 'path' => 'Nutrient.id', 'min' => 0, 'max' => 1 },
|
56
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Nutrient.extension', 'min' => 0, 'max' => Float::INFINITY },
|
57
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Nutrient.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
58
|
+
'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' } },
|
59
|
+
'amount' => { 'type' => 'Quantity', 'path' => 'Nutrient.amount', 'min' => 0, 'max' => 1 }
|
60
60
|
}
|
61
61
|
|
62
62
|
attr_accessor :id # 0-1 id
|
@@ -72,11 +72,11 @@ module FHIR
|
|
72
72
|
include FHIR::DSTU2::Xml
|
73
73
|
|
74
74
|
METADATA = {
|
75
|
-
'id' => {'type'=>'id', 'path'=>'Texture.id', 'min'=>0, 'max'=>1},
|
76
|
-
'extension' => {'type'=>'Extension', 'path'=>'Texture.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
77
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Texture.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
78
|
-
'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'}},
|
79
|
-
'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'}}
|
75
|
+
'id' => { 'type' => 'id', 'path' => 'Texture.id', 'min' => 0, 'max' => 1 },
|
76
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Texture.extension', 'min' => 0, 'max' => Float::INFINITY },
|
77
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Texture.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
78
|
+
'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' } },
|
79
|
+
'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' } }
|
80
80
|
}
|
81
81
|
|
82
82
|
attr_accessor :id # 0-1 id
|
@@ -103,14 +103,14 @@ module FHIR
|
|
103
103
|
include FHIR::DSTU2::Xml
|
104
104
|
|
105
105
|
METADATA = {
|
106
|
-
'id' => {'type'=>'id', 'path'=>'Supplement.id', 'min'=>0, 'max'=>1},
|
107
|
-
'extension' => {'type'=>'Extension', 'path'=>'Supplement.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
108
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Supplement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
109
|
-
'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'}},
|
110
|
-
'productName' => {'type'=>'string', 'path'=>'Supplement.productName', 'min'=>0, 'max'=>1},
|
111
|
-
'schedule' => {'type'=>'Timing', 'path'=>'Supplement.schedule', 'min'=>0, 'max'=>Float::INFINITY},
|
112
|
-
'quantity' => {'type'=>'Quantity', 'path'=>'Supplement.quantity', 'min'=>0, 'max'=>1},
|
113
|
-
'instruction' => {'type'=>'string', 'path'=>'Supplement.instruction', 'min'=>0, 'max'=>1}
|
106
|
+
'id' => { 'type' => 'id', 'path' => 'Supplement.id', 'min' => 0, 'max' => 1 },
|
107
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Supplement.extension', 'min' => 0, 'max' => Float::INFINITY },
|
108
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Supplement.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
109
|
+
'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' } },
|
110
|
+
'productName' => { 'type' => 'string', 'path' => 'Supplement.productName', 'min' => 0, 'max' => 1 },
|
111
|
+
'schedule' => { 'type' => 'Timing', 'path' => 'Supplement.schedule', 'min' => 0, 'max' => Float::INFINITY },
|
112
|
+
'quantity' => { 'type' => 'Quantity', 'path' => 'Supplement.quantity', 'min' => 0, 'max' => 1 },
|
113
|
+
'instruction' => { 'type' => 'string', 'path' => 'Supplement.instruction', 'min' => 0, 'max' => 1 }
|
114
114
|
}
|
115
115
|
|
116
116
|
attr_accessor :id # 0-1 id
|
@@ -129,18 +129,18 @@ module FHIR
|
|
129
129
|
include FHIR::DSTU2::Xml
|
130
130
|
|
131
131
|
METADATA = {
|
132
|
-
'id' => {'type'=>'id', 'path'=>'EnteralFormula.id', 'min'=>0, 'max'=>1},
|
133
|
-
'extension' => {'type'=>'Extension', 'path'=>'EnteralFormula.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
134
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'EnteralFormula.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
135
|
-
'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'}},
|
136
|
-
'baseFormulaProductName' => {'type'=>'string', 'path'=>'EnteralFormula.baseFormulaProductName', 'min'=>0, 'max'=>1},
|
137
|
-
'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'}},
|
138
|
-
'additiveProductName' => {'type'=>'string', 'path'=>'EnteralFormula.additiveProductName', 'min'=>0, 'max'=>1},
|
139
|
-
'caloricDensity' => {'type'=>'Quantity', 'path'=>'EnteralFormula.caloricDensity', 'min'=>0, 'max'=>1},
|
140
|
-
'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'}},
|
141
|
-
'administration' => {'type'=>'NutritionOrder::EnteralFormula::Administration', 'path'=>'EnteralFormula.administration', 'min'=>0, 'max'=>Float::INFINITY},
|
142
|
-
'maxVolumeToDeliver' => {'type'=>'Quantity', 'path'=>'EnteralFormula.maxVolumeToDeliver', 'min'=>0, 'max'=>1},
|
143
|
-
'administrationInstruction' => {'type'=>'string', 'path'=>'EnteralFormula.administrationInstruction', 'min'=>0, 'max'=>1}
|
132
|
+
'id' => { 'type' => 'id', 'path' => 'EnteralFormula.id', 'min' => 0, 'max' => 1 },
|
133
|
+
'extension' => { 'type' => 'Extension', 'path' => 'EnteralFormula.extension', 'min' => 0, 'max' => Float::INFINITY },
|
134
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'EnteralFormula.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
135
|
+
'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' } },
|
136
|
+
'baseFormulaProductName' => { 'type' => 'string', 'path' => 'EnteralFormula.baseFormulaProductName', 'min' => 0, 'max' => 1 },
|
137
|
+
'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' } },
|
138
|
+
'additiveProductName' => { 'type' => 'string', 'path' => 'EnteralFormula.additiveProductName', 'min' => 0, 'max' => 1 },
|
139
|
+
'caloricDensity' => { 'type' => 'Quantity', 'path' => 'EnteralFormula.caloricDensity', 'min' => 0, 'max' => 1 },
|
140
|
+
'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' } },
|
141
|
+
'administration' => { 'type' => 'NutritionOrder::EnteralFormula::Administration', 'path' => 'EnteralFormula.administration', 'min' => 0, 'max' => Float::INFINITY },
|
142
|
+
'maxVolumeToDeliver' => { 'type' => 'Quantity', 'path' => 'EnteralFormula.maxVolumeToDeliver', 'min' => 0, 'max' => 1 },
|
143
|
+
'administrationInstruction' => { 'type' => 'string', 'path' => 'EnteralFormula.administrationInstruction', 'min' => 0, 'max' => 1 }
|
144
144
|
}
|
145
145
|
|
146
146
|
class Administration < FHIR::DSTU2::Model
|
@@ -152,13 +152,13 @@ module FHIR
|
|
152
152
|
'rate' => ['Quantity', 'Ratio']
|
153
153
|
}
|
154
154
|
METADATA = {
|
155
|
-
'id' => {'type'=>'id', 'path'=>'Administration.id', 'min'=>0, 'max'=>1},
|
156
|
-
'extension' => {'type'=>'Extension', 'path'=>'Administration.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
157
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Administration.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
158
|
-
'schedule' => {'type'=>'Timing', 'path'=>'Administration.schedule', 'min'=>0, 'max'=>1},
|
159
|
-
'quantity' => {'type'=>'Quantity', 'path'=>'Administration.quantity', 'min'=>0, 'max'=>1},
|
160
|
-
'rateQuantity' => {'type'=>'Quantity', 'path'=>'Administration.rate[x]', 'min'=>0, 'max'=>1},
|
161
|
-
'rateRatio' => {'type'=>'Ratio', 'path'=>'Administration.rate[x]', 'min'=>0, 'max'=>1}
|
155
|
+
'id' => { 'type' => 'id', 'path' => 'Administration.id', 'min' => 0, 'max' => 1 },
|
156
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Administration.extension', 'min' => 0, 'max' => Float::INFINITY },
|
157
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Administration.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
158
|
+
'schedule' => { 'type' => 'Timing', 'path' => 'Administration.schedule', 'min' => 0, 'max' => 1 },
|
159
|
+
'quantity' => { 'type' => 'Quantity', 'path' => 'Administration.quantity', 'min' => 0, 'max' => 1 },
|
160
|
+
'rateQuantity' => { 'type' => 'Quantity', 'path' => 'Administration.rate[x]', 'min' => 0, 'max' => 1 },
|
161
|
+
'rateRatio' => { 'type' => 'Ratio', 'path' => 'Administration.rate[x]', 'min' => 0, 'max' => 1 }
|
162
162
|
}
|
163
163
|
|
164
164
|
attr_accessor :id # 0-1 id
|
@@ -210,4 +210,4 @@ module FHIR
|
|
210
210
|
end
|
211
211
|
end
|
212
212
|
end
|
213
|
-
end
|
213
|
+
end
|