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,25 +7,25 @@ module FHIR
|
|
7
7
|
|
8
8
|
SEARCH_PARAMS = ['address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'communication', 'email', 'family', 'gender', 'given', 'identifier', 'location', 'name', 'organization', 'phone', 'phonetic', 'role', 'specialty', 'telecom']
|
9
9
|
METADATA = {
|
10
|
-
'id' => {'type'=>'id', 'path'=>'Practitioner.id', 'min'=>0, 'max'=>1},
|
11
|
-
'meta' => {'type'=>'Meta', 'path'=>'Practitioner.meta', 'min'=>0, 'max'=>1},
|
12
|
-
'implicitRules' => {'type'=>'uri', 'path'=>'Practitioner.implicitRules', 'min'=>0, 'max'=>1},
|
13
|
-
'language' => {'type'=>'code', 'path'=>'Practitioner.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
14
|
-
'text' => {'type'=>'Narrative', 'path'=>'Practitioner.text', 'min'=>0, 'max'=>1},
|
15
|
-
'contained' => {'type'=>'Resource', 'path'=>'Practitioner.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
16
|
-
'extension' => {'type'=>'Extension', 'path'=>'Practitioner.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
17
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Practitioner.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
18
|
-
'identifier' => {'type'=>'Identifier', 'path'=>'Practitioner.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
19
|
-
'active' => {'type'=>'boolean', 'path'=>'Practitioner.active', 'min'=>0, 'max'=>1},
|
20
|
-
'name' => {'type'=>'HumanName', 'path'=>'Practitioner.name', 'min'=>0, 'max'=>1},
|
21
|
-
'telecom' => {'type'=>'ContactPoint', 'path'=>'Practitioner.telecom', 'min'=>0, 'max'=>Float::INFINITY},
|
22
|
-
'address' => {'type'=>'Address', 'path'=>'Practitioner.address', 'min'=>0, 'max'=>Float::INFINITY},
|
23
|
-
'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'Practitioner.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}},
|
24
|
-
'birthDate' => {'type'=>'date', 'path'=>'Practitioner.birthDate', 'min'=>0, 'max'=>1},
|
25
|
-
'photo' => {'type'=>'Attachment', 'path'=>'Practitioner.photo', 'min'=>0, 'max'=>Float::INFINITY},
|
26
|
-
'practitionerRole' => {'type'=>'Practitioner::PractitionerRole', 'path'=>'Practitioner.practitionerRole', 'min'=>0, 'max'=>Float::INFINITY},
|
27
|
-
'qualification' => {'type'=>'Practitioner::Qualification', 'path'=>'Practitioner.qualification', 'min'=>0, 'max'=>Float::INFINITY},
|
28
|
-
'communication' => {'type'=>'CodeableConcept', 'path'=>'Practitioner.communication', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}
|
10
|
+
'id' => { 'type' => 'id', 'path' => 'Practitioner.id', 'min' => 0, 'max' => 1 },
|
11
|
+
'meta' => { 'type' => 'Meta', 'path' => 'Practitioner.meta', 'min' => 0, 'max' => 1 },
|
12
|
+
'implicitRules' => { 'type' => 'uri', 'path' => 'Practitioner.implicitRules', 'min' => 0, 'max' => 1 },
|
13
|
+
'language' => { 'type' => 'code', 'path' => 'Practitioner.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
|
14
|
+
'text' => { 'type' => 'Narrative', 'path' => 'Practitioner.text', 'min' => 0, 'max' => 1 },
|
15
|
+
'contained' => { 'type' => 'Resource', 'path' => 'Practitioner.contained', 'min' => 0, 'max' => Float::INFINITY },
|
16
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Practitioner.extension', 'min' => 0, 'max' => Float::INFINITY },
|
17
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Practitioner.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
18
|
+
'identifier' => { 'type' => 'Identifier', 'path' => 'Practitioner.identifier', 'min' => 0, 'max' => Float::INFINITY },
|
19
|
+
'active' => { 'type' => 'boolean', 'path' => 'Practitioner.active', 'min' => 0, 'max' => 1 },
|
20
|
+
'name' => { 'type' => 'HumanName', 'path' => 'Practitioner.name', 'min' => 0, 'max' => 1 },
|
21
|
+
'telecom' => { 'type' => 'ContactPoint', 'path' => 'Practitioner.telecom', 'min' => 0, 'max' => Float::INFINITY },
|
22
|
+
'address' => { 'type' => 'Address', 'path' => 'Practitioner.address', 'min' => 0, 'max' => Float::INFINITY },
|
23
|
+
'gender' => { 'valid_codes' => { 'http://hl7.org/fhir/administrative-gender' => ['male', 'female', 'other', 'unknown'] }, 'type' => 'code', 'path' => 'Practitioner.gender', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/administrative-gender' } },
|
24
|
+
'birthDate' => { 'type' => 'date', 'path' => 'Practitioner.birthDate', 'min' => 0, 'max' => 1 },
|
25
|
+
'photo' => { 'type' => 'Attachment', 'path' => 'Practitioner.photo', 'min' => 0, 'max' => Float::INFINITY },
|
26
|
+
'practitionerRole' => { 'type' => 'Practitioner::PractitionerRole', 'path' => 'Practitioner.practitionerRole', 'min' => 0, 'max' => Float::INFINITY },
|
27
|
+
'qualification' => { 'type' => 'Practitioner::Qualification', 'path' => 'Practitioner.qualification', 'min' => 0, 'max' => Float::INFINITY },
|
28
|
+
'communication' => { 'type' => 'CodeableConcept', 'path' => 'Practitioner.communication', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }
|
29
29
|
}
|
30
30
|
|
31
31
|
class PractitionerRole < FHIR::DSTU2::Model
|
@@ -34,15 +34,15 @@ module FHIR
|
|
34
34
|
include FHIR::DSTU2::Xml
|
35
35
|
|
36
36
|
METADATA = {
|
37
|
-
'id' => {'type'=>'id', 'path'=>'PractitionerRole.id', 'min'=>0, 'max'=>1},
|
38
|
-
'extension' => {'type'=>'Extension', 'path'=>'PractitionerRole.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
39
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'PractitionerRole.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
40
|
-
'managingOrganization' => {'type'=>'Reference', 'path'=>'PractitionerRole.managingOrganization', 'min'=>0, 'max'=>1},
|
41
|
-
'role' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-role'=>['doctor', 'nurse', 'pharmacist', 'researcher', 'teacher', 'ict']}, 'type'=>'CodeableConcept', 'path'=>'PractitionerRole.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-role'}},
|
42
|
-
'specialty' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'PractitionerRole.specialty', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-specialty'}},
|
43
|
-
'period' => {'type'=>'Period', 'path'=>'PractitionerRole.period', 'min'=>0, 'max'=>1},
|
44
|
-
'location' => {'type'=>'Reference', 'path'=>'PractitionerRole.location', 'min'=>0, 'max'=>Float::INFINITY},
|
45
|
-
'healthcareService' => {'type'=>'Reference', 'path'=>'PractitionerRole.healthcareService', 'min'=>0, 'max'=>Float::INFINITY}
|
37
|
+
'id' => { 'type' => 'id', 'path' => 'PractitionerRole.id', 'min' => 0, 'max' => 1 },
|
38
|
+
'extension' => { 'type' => 'Extension', 'path' => 'PractitionerRole.extension', 'min' => 0, 'max' => Float::INFINITY },
|
39
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'PractitionerRole.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
40
|
+
'managingOrganization' => { 'type' => 'Reference', 'path' => 'PractitionerRole.managingOrganization', 'min' => 0, 'max' => 1 },
|
41
|
+
'role' => { 'valid_codes' => { 'http://hl7.org/fhir/practitioner-role' => ['doctor', 'nurse', 'pharmacist', 'researcher', 'teacher', 'ict'] }, 'type' => 'CodeableConcept', 'path' => 'PractitionerRole.role', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/practitioner-role' } },
|
42
|
+
'specialty' => { 'valid_codes' => { 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'PractitionerRole.specialty', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/practitioner-specialty' } },
|
43
|
+
'period' => { 'type' => 'Period', 'path' => 'PractitionerRole.period', 'min' => 0, 'max' => 1 },
|
44
|
+
'location' => { 'type' => 'Reference', 'path' => 'PractitionerRole.location', 'min' => 0, 'max' => Float::INFINITY },
|
45
|
+
'healthcareService' => { 'type' => 'Reference', 'path' => 'PractitionerRole.healthcareService', 'min' => 0, 'max' => Float::INFINITY }
|
46
46
|
}
|
47
47
|
|
48
48
|
attr_accessor :id # 0-1 id
|
@@ -62,13 +62,13 @@ module FHIR
|
|
62
62
|
include FHIR::DSTU2::Xml
|
63
63
|
|
64
64
|
METADATA = {
|
65
|
-
'id' => {'type'=>'id', 'path'=>'Qualification.id', 'min'=>0, 'max'=>1},
|
66
|
-
'extension' => {'type'=>'Extension', 'path'=>'Qualification.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
67
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Qualification.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
68
|
-
'identifier' => {'type'=>'Identifier', 'path'=>'Qualification.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
69
|
-
'code' => {'valid_codes'=>{'http://www.abs.gov.au/ausstats/abs@.nsf/mf/1220.0'=>['100000', '111000', '111111', '111200', '111211', '111212', '111300', '111311', '111312', '111399', '121000', '121111', '121200', '121211', '121212', '121213', '121214', '121215', '121216', '121217', '121218', '121221', '121299', '121300', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121321', '121322', '121399', '121411', '130000', '131100', '131111', '131112', '132000', '132111', '132211', '132311', '132411', '132511', '133000', '133100', '133111', '133112', '133211', '133300', '133311', '133312', '133411', '133500', '133511', '133512', '133513', '133611', '134000', '134111', '134200', '134211', '134212', '134213', '134214', '134299', '134311', '134400', '134411', '134412', '134499', '135100', '135111', '135112', '135199', '139000', '139100', '139111', '139112', '139113', '139211', '139900', '139911', '139912', '139913', '139914', '139915', '139999', '140000', '141000', '141111', '141211', '141311', '141411', '141900', '141911', '141999', '142100', '142111', '142112', '142113', '142114', '142115', '142116', '149000', '149100', '149111', '149112', '149113', '149200', '149211', '149212', '149311', '149400', '149411', '149412', '149413', '149900', '149911', '149912', '149913', '149914', '149999', '200000', '210000', '211000', '211100', '211111', '211112', '211113', '211199', '211200', '211211', '211212', '211213', '211214', '211299', '211311', '211400', '211411', '211412', '211413', '211499', '212000', '212100', '212111', '212112', '212113', '212114', '212200', '212211', '212212', '212300', '212311', '212312', '212313', '212314', '212315', '212316', '212317', '212318', '212399', '212400', '212411', '212412', '212413', '212414', '212415', '212416', '212499', '220000', '221000', '221100', '221111', '221112', '221113', '221200', '221211', '221212', '221213', '221214', '222000', '222100', '222111', '222112', '222113', '222199', '222200', '222211', '222212', '222213', '222299', '222300', '222311', '222312', '223000', '223100', '223111', '223112', '223113', '223211', '223311', '224000', '224100', '224111', '224112', '224113', '224200', '224211', '224212', '224213', '224214', '224311', '224400', '224411', '224412', '224500', '224511', '224512', '224611', '224700', '224711', '224712', '224900', '224911', '224912', '224913', '224914', '224999', '225000', '225100', '225111', '225112', '225113', '225200', '225211', '225212', '225213', '225311', '225400', '225411', '225412', '225499', '230000', '231000', '231100', '231111', '231112', '231113', '231114', '231199', '231200', '231211', '231212', '231213', '231214', '231215', '231299', '232000', '232100', '232111', '232112', '232200', '232211', '232212', '232300', '232311', '232312', '232313', '232400', '232411', '232412', '232413', '232414', '232511', '232611', '233000', '233100', '233111', '233112', '233200', '233211', '233212', '233213', '233214', '233215', '233311', '233411', '233500', '233511', '233512', '233513', '233600', '233611', '233612', '233900', '233911', '233912', '233913', '233914', '233915', '233916', '233999', '234000', '234100', '234111', '234112', '234113', '234200', '234211', '234212', '234213', '234300', '234311', '234312', '234313', '234314', '234399', '234400', '234411', '234412', '234500', '234511', '234512', '234513', '234514', '234515', '234516', '234517', '234518', '234599', '234611', '234711', '234900', '234911', '234912', '234913', '234914', '234999', '240000', '241000', '241111', '241213', '241311', '241411', '241500', '241511', '241512', '241513', '241599', '242000', '242100', '242111', '242112', '242211', '249000', '249100', '249111', '249112', '249200', '249211', '249212', '249213', '249214', '249299', '249311', '250000', '251000', '251111', '251200', '251211', '251212', '251213', '251214', '251300', '251311', '251312', '251400', '251411', '251412', '251500', '251511', '251512', '251513', '251900', '251911', '251912', '251999', '252000', '252100', '252111', '252112', '252200', '252211', '252212', '252213', '252214', '252299', '252300', '252311', '252312', '252411', '252511', '252611', '252700', '252711', '252712', '253000', '253100', '253111', '253112', '253211', '253300', '253311', '253312', '253313', '253314', '253315', '253316', '253317', '253318', '253321', '253322', '253323', '253324', '253399', '253411', '253500', '253511', '253512', '253513', '253514', '253515', '253516', '253517', '253518', '253521', '253900', '253911', '253912', '253913', '253914', '253915', '253916', '253999', '254000', '254111', '254200', '254211', '254212', '254311', '254400', '254411', '254412', '254413', '254414', '254415', '254416', '254417', '254418', '254421', '254422', '254423', '254424', '254499', '260000', '261000', '261100', '261111', '261112', '261200', '261211', '261212', '261300', '261311', '261312', '261313', '261399', '262100', '262111', '262112', '262113', '263000', '263100', '263111', '263112', '263113', '263200', '263211', '263212', '263213', '263299', '263300', '263311', '263312', '270000', '271000', '271111', '271200', '271211', '271212', '271213', '271299', '271311', '272000', '272100', '272111', '272112', '272113', '272114', '272115', '272199', '272211', '272300', '272311', '272312', '272313', '272314', '272399', '272400', '272411', '272412', '272413', '272499', '272511', '272600', '272611', '272612', '272613', '300000', '310000', '311000', '311111', '311200', '311211', '311212', '311213', '311214', '311215', '311299', '311300', '311311', '311312', '311313', '311399', '311400', '311411', '311412', '311413', '311414', '311499', '312000', '312100', '312111', '312112', '312113', '312114', '312115', '312116', '312200', '312211', '312212', '312300', '312311', '312312', '312400', '312411', '312412', '312500', '312511', '312512', '312611', '312900', '312911', '312912', '312913', '312999', '313000', '313100', '313111', '313112', '313113', '313199', '313200', '313211', '313212', '313213', '313214', '320000', '321000', '321111', '321200', '321211', '321212', '321213', '321214', '322000', '322100', '322111', '322112', '322113', '322114', '322115', '322211', '322300', '322311', '322312', '322313', '323000', '323100', '323111', '323112', '323113', '323200', '323211', '323212', '323213', '323214', '323215', '323299', '323300', '323311', '323312', '323313', '323314', '323315', '323316', '323400', '323411', '323412', '324000', '324111', '324200', '324211', '324212', '324311', '330000', '331000', '331100', '331111', '331112', '331211', '331212', '331213', '332000', '332111', '332211', '333000', '333111', '333200', '333211', '333212', '333311', '333411', '334100', '334111', '334112', '334113', '334114', '334115', '340000', '341100', '341111', '341112', '341113', '342000', '342111', '342200', '342211', '342212', '342300', '342311', '342312', '342313', '342314', '342315', '342400', '342411', '342412', '342413', '342414', '351000', '351100', '351111', '351112', '351211', '351311', '351411', '360000', '361000', '361100', '361111', '361112', '361113', '361114', '361199', '361211', '361311', '362000', '362111', '362200', '362211', '362212', '362213', '362311', '362411', '390000', '391111', '392000', '392100', '392111', '392112', '392211', '392300', '392311', '392312', '393000', '393100', '393111', '393112', '393113', '393114', '393200', '393211', '393212', '393213', '393299', '393311', '394000', '394111', '394200', '394211', '394212', '394213', '394214', '394299', '399000', '399100', '399111', '399112', '399200', '399211', '399212', '399213', '399300', '399311', '399312', '399411', '399500', '399511', '399512', '399513', '399514', '399515', '399516', '399517', '399599', '399611', '399900', '399911', '399912', '399913', '399914', '399915', '399916', '399917', '399999', '400000', '411000', '411100', '411111', '411112', '411200', '411211', '411212', '411213', '411214', '411311', '411400', '411411', '411412', '411511', '411611', '411700', '411711', '411712', '411713', '411714', '411715', '411716', '420000', '421100', '421111', '421112', '421113', '421114', '422100', '422111', '422112', '422115', '422116', '423000', '423111', '423211', '423300', '423311', '423312', '423313', '423314', '423400', '423411', '423412', '423413', '431000', '431100', '431111', '431112', '431211', '431311', '431411', '431511', '431900', '431911', '431912', '431999', '440000', '441000', '441111', '441200', '441211', '441212', '441300', '441311', '441312', '442000', '442111', '442200', '442211', '442212', '442213', '442214', '442215', '442216', '442217', '442299', '450000', '451000', '451111', '451211', '451300', '451311', '451399', '451400', '451411', '451412', '451500', '451511', '451512', '451600', '451611', '451612', '451700', '451711', '451799', '451800', '451811', '451812', '451813', '451899', '452000', '452111', '452200', '452211', '452212', '452213', '452214', '452215', '452216', '452217', '452299', '452300', '452311', '452312', '452313', '452314', '452315', '452316', '452317', '452318', '452321', '452322', '452323', '452400', '452411', '452412', '452413', '452414', '452499', '500000', '510000', '511100', '511111', '511112', '512000', '512111', '512200', '512211', '512299', '521000', '521111', '521200', '521211', '521212', '530000', '531111', '532100', '532111', '532112', '532113', '540000', '541000', '541100', '541111', '541112', '541211', '542100', '542111', '542112', '542113', '542114', '550000', '551000', '551100', '551111', '551112', '551211', '551311', '552000', '552111', '552211', '552300', '552311', '552312', '552313', '552314', '561000', '561100', '561111', '561112', '561113', '561199', '561200', '561211', '561212', '561311', '561400', '561411', '561412', '561511', '561611', '561900', '561911', '561912', '561913', '561999', '590000', '591000', '591100', '591111', '591112', '591113', '591114', '591115', '591116', '591200', '591211', '591212', '599000', '599100', '599111', '599112', '599200', '599211', '599212', '599213', '599214', '599215', '599311', '599411', '599500', '599511', '599512', '599513', '599514', '599515', '599516', '599517', '599518', '599521', '599599', '599600', '599611', '599612', '599613', '599711', '599900', '599911', '599912', '599913', '599914', '599999', '600000', '610000', '611000', '611100', '611111', '611112', '611211', '611300', '611311', '611312', '611313', '611314', '611399', '612100', '612111', '612112', '612113', '612114', '612115', '621000', '621111', '621211', '621300', '621311', '621312', '621411', '621511', '621611', '621700', '621711', '621712', '621713', '621900', '621911', '621912', '621999', '630000', '631100', '631111', '631112', '639000', '639100', '639111', '639112', '639200', '639211', '639212', '639311', '639400', '639411', '639412', '639511', '639911', '700000', '710000', '711000', '711100', '711111', '711112', '711113', '711114', '711199', '711211', '711300', '711311', '711312', '711411', '711500', '711511', '711512', '711513', '711514', '711515', '711516', '711599', '711611', '711700', '711711', '711712', '711713', '711714', '711715', '711716', '711799', '711900', '711911', '711912', '711913', '711914', '711999', '712000', '712111', '712200', '712211', '712212', '712213', '712311', '712900', '712911', '712912', '712913', '712914', '712915', '712916', '712917', '712918', '712921', '712922', '712999', '721000', '721100', '721111', '721112', '721200', '721211', '721212', '721213', '721214', '721215', '721216', '721311', '721900', '721911', '721912', '721913', '721914', '721915', '721916', '721999', '730000', '731000', '731100', '731111', '731112', '731199', '731200', '731211', '731212', '731213', '731300', '731311', '731312', '732111', '733100', '733111', '733112', '733113', '733114', '733115', '741111', '800000', '811000', '811111', '811211', '811311', '811400', '811411', '811412', '811500', '811511', '811512', '811513', '811600', '811611', '811612', '811699', '821000', '821100', '821111', '821112', '821113', '821114', '821211', '821311', '821400', '821411', '821412', '821511', '821611', '821700', '821711', '821712', '821713', '821714', '821900', '821911', '821912', '821913', '821914', '821915', '830000', '831000', '831100', '831111', '831112', '831113', '831114', '831115', '831116', '831117', '831118', '831199', '831200', '831211', '831212', '831300', '831311', '831312', '831313', '832000', '832100', '832111', '832112', '832113', '832114', '832115', '832199', '832211', '839000', '839111', '839200', '839211', '839212', '839300', '839311', '839312', '839313', '839400', '839411', '839412', '839413', '839900', '839911', '839912', '839913', '839914', '839915', '839916', '839917', '839999', '841000', '841111', '841200', '841211', '841212', '841213', '841214', '841215', '841216', '841299', '841300', '841311', '841312', '841313', '841400', '841411', '841412', '841500', '841511', '841512', '841513', '841514', '841515', '841516', '841517', '841599', '841611', '841900', '841911', '841912', '841999', '851000', '851111', '851200', '851211', '851299', '851311', '890000', '891000', '891100', '891111', '891112', '891113', '891211', '899000', '899111', '899200', '899211', '899212', '899311', '899400', '899411', '899412', '899413', '899414', '899415', '899500', '899511', '899512', '899611', '899711', '899900', '899911', '899912', '899913', '899914', '899915', '899916', '899917', '899918', '899921', '899922', '899999']}, 'type'=>'CodeableConcept', 'path'=>'Qualification.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/anzsco-occupations'}},
|
70
|
-
'period' => {'type'=>'Period', 'path'=>'Qualification.period', 'min'=>0, 'max'=>1},
|
71
|
-
'issuer' => {'type'=>'Reference', 'path'=>'Qualification.issuer', 'min'=>0, 'max'=>1}
|
65
|
+
'id' => { 'type' => 'id', 'path' => 'Qualification.id', 'min' => 0, 'max' => 1 },
|
66
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Qualification.extension', 'min' => 0, 'max' => Float::INFINITY },
|
67
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Qualification.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
68
|
+
'identifier' => { 'type' => 'Identifier', 'path' => 'Qualification.identifier', 'min' => 0, 'max' => Float::INFINITY },
|
69
|
+
'code' => { 'valid_codes' => { 'http://www.abs.gov.au/ausstats/abs@.nsf/mf/1220.0' => ['100000', '111000', '111111', '111200', '111211', '111212', '111300', '111311', '111312', '111399', '121000', '121111', '121200', '121211', '121212', '121213', '121214', '121215', '121216', '121217', '121218', '121221', '121299', '121300', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121321', '121322', '121399', '121411', '130000', '131100', '131111', '131112', '132000', '132111', '132211', '132311', '132411', '132511', '133000', '133100', '133111', '133112', '133211', '133300', '133311', '133312', '133411', '133500', '133511', '133512', '133513', '133611', '134000', '134111', '134200', '134211', '134212', '134213', '134214', '134299', '134311', '134400', '134411', '134412', '134499', '135100', '135111', '135112', '135199', '139000', '139100', '139111', '139112', '139113', '139211', '139900', '139911', '139912', '139913', '139914', '139915', '139999', '140000', '141000', '141111', '141211', '141311', '141411', '141900', '141911', '141999', '142100', '142111', '142112', '142113', '142114', '142115', '142116', '149000', '149100', '149111', '149112', '149113', '149200', '149211', '149212', '149311', '149400', '149411', '149412', '149413', '149900', '149911', '149912', '149913', '149914', '149999', '200000', '210000', '211000', '211100', '211111', '211112', '211113', '211199', '211200', '211211', '211212', '211213', '211214', '211299', '211311', '211400', '211411', '211412', '211413', '211499', '212000', '212100', '212111', '212112', '212113', '212114', '212200', '212211', '212212', '212300', '212311', '212312', '212313', '212314', '212315', '212316', '212317', '212318', '212399', '212400', '212411', '212412', '212413', '212414', '212415', '212416', '212499', '220000', '221000', '221100', '221111', '221112', '221113', '221200', '221211', '221212', '221213', '221214', '222000', '222100', '222111', '222112', '222113', '222199', '222200', '222211', '222212', '222213', '222299', '222300', '222311', '222312', '223000', '223100', '223111', '223112', '223113', '223211', '223311', '224000', '224100', '224111', '224112', '224113', '224200', '224211', '224212', '224213', '224214', '224311', '224400', '224411', '224412', '224500', '224511', '224512', '224611', '224700', '224711', '224712', '224900', '224911', '224912', '224913', '224914', '224999', '225000', '225100', '225111', '225112', '225113', '225200', '225211', '225212', '225213', '225311', '225400', '225411', '225412', '225499', '230000', '231000', '231100', '231111', '231112', '231113', '231114', '231199', '231200', '231211', '231212', '231213', '231214', '231215', '231299', '232000', '232100', '232111', '232112', '232200', '232211', '232212', '232300', '232311', '232312', '232313', '232400', '232411', '232412', '232413', '232414', '232511', '232611', '233000', '233100', '233111', '233112', '233200', '233211', '233212', '233213', '233214', '233215', '233311', '233411', '233500', '233511', '233512', '233513', '233600', '233611', '233612', '233900', '233911', '233912', '233913', '233914', '233915', '233916', '233999', '234000', '234100', '234111', '234112', '234113', '234200', '234211', '234212', '234213', '234300', '234311', '234312', '234313', '234314', '234399', '234400', '234411', '234412', '234500', '234511', '234512', '234513', '234514', '234515', '234516', '234517', '234518', '234599', '234611', '234711', '234900', '234911', '234912', '234913', '234914', '234999', '240000', '241000', '241111', '241213', '241311', '241411', '241500', '241511', '241512', '241513', '241599', '242000', '242100', '242111', '242112', '242211', '249000', '249100', '249111', '249112', '249200', '249211', '249212', '249213', '249214', '249299', '249311', '250000', '251000', '251111', '251200', '251211', '251212', '251213', '251214', '251300', '251311', '251312', '251400', '251411', '251412', '251500', '251511', '251512', '251513', '251900', '251911', '251912', '251999', '252000', '252100', '252111', '252112', '252200', '252211', '252212', '252213', '252214', '252299', '252300', '252311', '252312', '252411', '252511', '252611', '252700', '252711', '252712', '253000', '253100', '253111', '253112', '253211', '253300', '253311', '253312', '253313', '253314', '253315', '253316', '253317', '253318', '253321', '253322', '253323', '253324', '253399', '253411', '253500', '253511', '253512', '253513', '253514', '253515', '253516', '253517', '253518', '253521', '253900', '253911', '253912', '253913', '253914', '253915', '253916', '253999', '254000', '254111', '254200', '254211', '254212', '254311', '254400', '254411', '254412', '254413', '254414', '254415', '254416', '254417', '254418', '254421', '254422', '254423', '254424', '254499', '260000', '261000', '261100', '261111', '261112', '261200', '261211', '261212', '261300', '261311', '261312', '261313', '261399', '262100', '262111', '262112', '262113', '263000', '263100', '263111', '263112', '263113', '263200', '263211', '263212', '263213', '263299', '263300', '263311', '263312', '270000', '271000', '271111', '271200', '271211', '271212', '271213', '271299', '271311', '272000', '272100', '272111', '272112', '272113', '272114', '272115', '272199', '272211', '272300', '272311', '272312', '272313', '272314', '272399', '272400', '272411', '272412', '272413', '272499', '272511', '272600', '272611', '272612', '272613', '300000', '310000', '311000', '311111', '311200', '311211', '311212', '311213', '311214', '311215', '311299', '311300', '311311', '311312', '311313', '311399', '311400', '311411', '311412', '311413', '311414', '311499', '312000', '312100', '312111', '312112', '312113', '312114', '312115', '312116', '312200', '312211', '312212', '312300', '312311', '312312', '312400', '312411', '312412', '312500', '312511', '312512', '312611', '312900', '312911', '312912', '312913', '312999', '313000', '313100', '313111', '313112', '313113', '313199', '313200', '313211', '313212', '313213', '313214', '320000', '321000', '321111', '321200', '321211', '321212', '321213', '321214', '322000', '322100', '322111', '322112', '322113', '322114', '322115', '322211', '322300', '322311', '322312', '322313', '323000', '323100', '323111', '323112', '323113', '323200', '323211', '323212', '323213', '323214', '323215', '323299', '323300', '323311', '323312', '323313', '323314', '323315', '323316', '323400', '323411', '323412', '324000', '324111', '324200', '324211', '324212', '324311', '330000', '331000', '331100', '331111', '331112', '331211', '331212', '331213', '332000', '332111', '332211', '333000', '333111', '333200', '333211', '333212', '333311', '333411', '334100', '334111', '334112', '334113', '334114', '334115', '340000', '341100', '341111', '341112', '341113', '342000', '342111', '342200', '342211', '342212', '342300', '342311', '342312', '342313', '342314', '342315', '342400', '342411', '342412', '342413', '342414', '351000', '351100', '351111', '351112', '351211', '351311', '351411', '360000', '361000', '361100', '361111', '361112', '361113', '361114', '361199', '361211', '361311', '362000', '362111', '362200', '362211', '362212', '362213', '362311', '362411', '390000', '391111', '392000', '392100', '392111', '392112', '392211', '392300', '392311', '392312', '393000', '393100', '393111', '393112', '393113', '393114', '393200', '393211', '393212', '393213', '393299', '393311', '394000', '394111', '394200', '394211', '394212', '394213', '394214', '394299', '399000', '399100', '399111', '399112', '399200', '399211', '399212', '399213', '399300', '399311', '399312', '399411', '399500', '399511', '399512', '399513', '399514', '399515', '399516', '399517', '399599', '399611', '399900', '399911', '399912', '399913', '399914', '399915', '399916', '399917', '399999', '400000', '411000', '411100', '411111', '411112', '411200', '411211', '411212', '411213', '411214', '411311', '411400', '411411', '411412', '411511', '411611', '411700', '411711', '411712', '411713', '411714', '411715', '411716', '420000', '421100', '421111', '421112', '421113', '421114', '422100', '422111', '422112', '422115', '422116', '423000', '423111', '423211', '423300', '423311', '423312', '423313', '423314', '423400', '423411', '423412', '423413', '431000', '431100', '431111', '431112', '431211', '431311', '431411', '431511', '431900', '431911', '431912', '431999', '440000', '441000', '441111', '441200', '441211', '441212', '441300', '441311', '441312', '442000', '442111', '442200', '442211', '442212', '442213', '442214', '442215', '442216', '442217', '442299', '450000', '451000', '451111', '451211', '451300', '451311', '451399', '451400', '451411', '451412', '451500', '451511', '451512', '451600', '451611', '451612', '451700', '451711', '451799', '451800', '451811', '451812', '451813', '451899', '452000', '452111', '452200', '452211', '452212', '452213', '452214', '452215', '452216', '452217', '452299', '452300', '452311', '452312', '452313', '452314', '452315', '452316', '452317', '452318', '452321', '452322', '452323', '452400', '452411', '452412', '452413', '452414', '452499', '500000', '510000', '511100', '511111', '511112', '512000', '512111', '512200', '512211', '512299', '521000', '521111', '521200', '521211', '521212', '530000', '531111', '532100', '532111', '532112', '532113', '540000', '541000', '541100', '541111', '541112', '541211', '542100', '542111', '542112', '542113', '542114', '550000', '551000', '551100', '551111', '551112', '551211', '551311', '552000', '552111', '552211', '552300', '552311', '552312', '552313', '552314', '561000', '561100', '561111', '561112', '561113', '561199', '561200', '561211', '561212', '561311', '561400', '561411', '561412', '561511', '561611', '561900', '561911', '561912', '561913', '561999', '590000', '591000', '591100', '591111', '591112', '591113', '591114', '591115', '591116', '591200', '591211', '591212', '599000', '599100', '599111', '599112', '599200', '599211', '599212', '599213', '599214', '599215', '599311', '599411', '599500', '599511', '599512', '599513', '599514', '599515', '599516', '599517', '599518', '599521', '599599', '599600', '599611', '599612', '599613', '599711', '599900', '599911', '599912', '599913', '599914', '599999', '600000', '610000', '611000', '611100', '611111', '611112', '611211', '611300', '611311', '611312', '611313', '611314', '611399', '612100', '612111', '612112', '612113', '612114', '612115', '621000', '621111', '621211', '621300', '621311', '621312', '621411', '621511', '621611', '621700', '621711', '621712', '621713', '621900', '621911', '621912', '621999', '630000', '631100', '631111', '631112', '639000', '639100', '639111', '639112', '639200', '639211', '639212', '639311', '639400', '639411', '639412', '639511', '639911', '700000', '710000', '711000', '711100', '711111', '711112', '711113', '711114', '711199', '711211', '711300', '711311', '711312', '711411', '711500', '711511', '711512', '711513', '711514', '711515', '711516', '711599', '711611', '711700', '711711', '711712', '711713', '711714', '711715', '711716', '711799', '711900', '711911', '711912', '711913', '711914', '711999', '712000', '712111', '712200', '712211', '712212', '712213', '712311', '712900', '712911', '712912', '712913', '712914', '712915', '712916', '712917', '712918', '712921', '712922', '712999', '721000', '721100', '721111', '721112', '721200', '721211', '721212', '721213', '721214', '721215', '721216', '721311', '721900', '721911', '721912', '721913', '721914', '721915', '721916', '721999', '730000', '731000', '731100', '731111', '731112', '731199', '731200', '731211', '731212', '731213', '731300', '731311', '731312', '732111', '733100', '733111', '733112', '733113', '733114', '733115', '741111', '800000', '811000', '811111', '811211', '811311', '811400', '811411', '811412', '811500', '811511', '811512', '811513', '811600', '811611', '811612', '811699', '821000', '821100', '821111', '821112', '821113', '821114', '821211', '821311', '821400', '821411', '821412', '821511', '821611', '821700', '821711', '821712', '821713', '821714', '821900', '821911', '821912', '821913', '821914', '821915', '830000', '831000', '831100', '831111', '831112', '831113', '831114', '831115', '831116', '831117', '831118', '831199', '831200', '831211', '831212', '831300', '831311', '831312', '831313', '832000', '832100', '832111', '832112', '832113', '832114', '832115', '832199', '832211', '839000', '839111', '839200', '839211', '839212', '839300', '839311', '839312', '839313', '839400', '839411', '839412', '839413', '839900', '839911', '839912', '839913', '839914', '839915', '839916', '839917', '839999', '841000', '841111', '841200', '841211', '841212', '841213', '841214', '841215', '841216', '841299', '841300', '841311', '841312', '841313', '841400', '841411', '841412', '841500', '841511', '841512', '841513', '841514', '841515', '841516', '841517', '841599', '841611', '841900', '841911', '841912', '841999', '851000', '851111', '851200', '851211', '851299', '851311', '890000', '891000', '891100', '891111', '891112', '891113', '891211', '899000', '899111', '899200', '899211', '899212', '899311', '899400', '899411', '899412', '899413', '899414', '899415', '899500', '899511', '899512', '899611', '899711', '899900', '899911', '899912', '899913', '899914', '899915', '899916', '899917', '899918', '899921', '899922', '899999'] }, 'type' => 'CodeableConcept', 'path' => 'Qualification.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/anzsco-occupations' } },
|
70
|
+
'period' => { 'type' => 'Period', 'path' => 'Qualification.period', 'min' => 0, 'max' => 1 },
|
71
|
+
'issuer' => { 'type' => 'Reference', 'path' => 'Qualification.issuer', 'min' => 0, 'max' => 1 }
|
72
72
|
}
|
73
73
|
|
74
74
|
attr_accessor :id # 0-1 id
|
@@ -105,4 +105,4 @@ module FHIR
|
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
108
|
-
end
|
108
|
+
end
|
@@ -11,37 +11,37 @@ module FHIR
|
|
11
11
|
}
|
12
12
|
SEARCH_PARAMS = ['encounter', 'identifier', 'orderer', 'patient', 'performer', 'subject', 'code', 'date', 'encounter', 'identifier', 'location', 'patient', 'performer', 'subject']
|
13
13
|
METADATA = {
|
14
|
-
'id' => {'type'=>'id', 'path'=>'Procedure.id', 'min'=>0, 'max'=>1},
|
15
|
-
'meta' => {'type'=>'Meta', 'path'=>'Procedure.meta', 'min'=>0, 'max'=>1},
|
16
|
-
'implicitRules' => {'type'=>'uri', 'path'=>'Procedure.implicitRules', 'min'=>0, 'max'=>1},
|
17
|
-
'language' => {'type'=>'code', 'path'=>'Procedure.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
18
|
-
'text' => {'type'=>'Narrative', 'path'=>'Procedure.text', 'min'=>0, 'max'=>1},
|
19
|
-
'contained' => {'type'=>'Resource', 'path'=>'Procedure.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
20
|
-
'extension' => {'type'=>'Extension', 'path'=>'Procedure.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
21
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Procedure.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
22
|
-
'identifier' => {'type'=>'Identifier', 'path'=>'Procedure.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
23
|
-
'subject' => {'type'=>'Reference', 'path'=>'Procedure.subject', 'min'=>1, 'max'=>1},
|
24
|
-
'status' => {'valid_codes'=>{'http://hl7.org/fhir/procedure-status'=>['in-progress', 'aborted', 'completed', 'entered-in-error']}, 'type'=>'code', 'path'=>'Procedure.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-status'}},
|
25
|
-
'category' => {'valid_codes'=>{'http://snomed.info/sct'=>['24642003', '409063005', '409073007', '387713003', '103693007', '46947000']}, 'type'=>'CodeableConcept', 'path'=>'Procedure.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-category'}},
|
26
|
-
'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-code'}},
|
27
|
-
'notPerformed' => {'type'=>'boolean', 'path'=>'Procedure.notPerformed', 'min'=>0, 'max'=>1},
|
28
|
-
'reasonNotPerformed' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.reasonNotPerformed', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-not-performed-reason'}},
|
29
|
-
'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.bodySite', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}},
|
30
|
-
'reasonCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-reason'}},
|
31
|
-
'reasonReference' => {'type'=>'Reference', 'path'=>'Procedure.reason[x]', 'min'=>0, 'max'=>1},
|
32
|
-
'performer' => {'type'=>'Procedure::Performer', 'path'=>'Procedure.performer', 'min'=>0, 'max'=>Float::INFINITY},
|
33
|
-
'performedDateTime' => {'type'=>'dateTime', 'path'=>'Procedure.performed[x]', 'min'=>0, 'max'=>1},
|
34
|
-
'performedPeriod' => {'type'=>'Period', 'path'=>'Procedure.performed[x]', 'min'=>0, 'max'=>1},
|
35
|
-
'encounter' => {'type'=>'Reference', 'path'=>'Procedure.encounter', 'min'=>0, 'max'=>1},
|
36
|
-
'location' => {'type'=>'Reference', 'path'=>'Procedure.location', 'min'=>0, 'max'=>1},
|
37
|
-
'outcome' => {'valid_codes'=>{'http://snomed.info/sct'=>['385669000', '385671000', '385670004']}, 'type'=>'CodeableConcept', 'path'=>'Procedure.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-outcome'}},
|
38
|
-
'report' => {'type'=>'Reference', 'path'=>'Procedure.report', 'min'=>0, 'max'=>Float::INFINITY},
|
39
|
-
'complication' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Procedure.complication', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}},
|
40
|
-
'followUp' => {'valid_codes'=>{'http://snomed.info/sct'=>['18949003', '30549001', '241031001', '35963001', '225164002', '447346005', '229506003', '274441001', '394725008', '359825008']}, 'type'=>'CodeableConcept', 'path'=>'Procedure.followUp', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-followup'}},
|
41
|
-
'request' => {'type'=>'Reference', 'path'=>'Procedure.request', 'min'=>0, 'max'=>1},
|
42
|
-
'notes' => {'type'=>'Annotation', 'path'=>'Procedure.notes', 'min'=>0, 'max'=>Float::INFINITY},
|
43
|
-
'focalDevice' => {'type'=>'Procedure::FocalDevice', 'path'=>'Procedure.focalDevice', 'min'=>0, 'max'=>Float::INFINITY},
|
44
|
-
'used' => {'type'=>'Reference', 'path'=>'Procedure.used', 'min'=>0, 'max'=>Float::INFINITY}
|
14
|
+
'id' => { 'type' => 'id', 'path' => 'Procedure.id', 'min' => 0, 'max' => 1 },
|
15
|
+
'meta' => { 'type' => 'Meta', 'path' => 'Procedure.meta', 'min' => 0, 'max' => 1 },
|
16
|
+
'implicitRules' => { 'type' => 'uri', 'path' => 'Procedure.implicitRules', 'min' => 0, 'max' => 1 },
|
17
|
+
'language' => { 'type' => 'code', 'path' => 'Procedure.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
|
18
|
+
'text' => { 'type' => 'Narrative', 'path' => 'Procedure.text', 'min' => 0, 'max' => 1 },
|
19
|
+
'contained' => { 'type' => 'Resource', 'path' => 'Procedure.contained', 'min' => 0, 'max' => Float::INFINITY },
|
20
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Procedure.extension', 'min' => 0, 'max' => Float::INFINITY },
|
21
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Procedure.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
22
|
+
'identifier' => { 'type' => 'Identifier', 'path' => 'Procedure.identifier', 'min' => 0, 'max' => Float::INFINITY },
|
23
|
+
'subject' => { 'type' => 'Reference', 'path' => 'Procedure.subject', 'min' => 1, 'max' => 1 },
|
24
|
+
'status' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-status' => ['in-progress', 'aborted', 'completed', 'entered-in-error'] }, 'type' => 'code', 'path' => 'Procedure.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-status' } },
|
25
|
+
'category' => { 'valid_codes' => { 'http://snomed.info/sct' => ['24642003', '409063005', '409073007', '387713003', '103693007', '46947000'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-category' } },
|
26
|
+
'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-code' } },
|
27
|
+
'notPerformed' => { 'type' => 'boolean', 'path' => 'Procedure.notPerformed', 'min' => 0, 'max' => 1 },
|
28
|
+
'reasonNotPerformed' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.reasonNotPerformed', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-not-performed-reason' } },
|
29
|
+
'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.bodySite', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } },
|
30
|
+
'reasonCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-reason' } },
|
31
|
+
'reasonReference' => { 'type' => 'Reference', 'path' => 'Procedure.reason[x]', 'min' => 0, 'max' => 1 },
|
32
|
+
'performer' => { 'type' => 'Procedure::Performer', 'path' => 'Procedure.performer', 'min' => 0, 'max' => Float::INFINITY },
|
33
|
+
'performedDateTime' => { 'type' => 'dateTime', 'path' => 'Procedure.performed[x]', 'min' => 0, 'max' => 1 },
|
34
|
+
'performedPeriod' => { 'type' => 'Period', 'path' => 'Procedure.performed[x]', 'min' => 0, 'max' => 1 },
|
35
|
+
'encounter' => { 'type' => 'Reference', 'path' => 'Procedure.encounter', 'min' => 0, 'max' => 1 },
|
36
|
+
'location' => { 'type' => 'Reference', 'path' => 'Procedure.location', 'min' => 0, 'max' => 1 },
|
37
|
+
'outcome' => { 'valid_codes' => { 'http://snomed.info/sct' => ['385669000', '385671000', '385670004'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-outcome' } },
|
38
|
+
'report' => { 'type' => 'Reference', 'path' => 'Procedure.report', 'min' => 0, 'max' => Float::INFINITY },
|
39
|
+
'complication' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.complication', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } },
|
40
|
+
'followUp' => { 'valid_codes' => { 'http://snomed.info/sct' => ['18949003', '30549001', '241031001', '35963001', '225164002', '447346005', '229506003', '274441001', '394725008', '359825008'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.followUp', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-followup' } },
|
41
|
+
'request' => { 'type' => 'Reference', 'path' => 'Procedure.request', 'min' => 0, 'max' => 1 },
|
42
|
+
'notes' => { 'type' => 'Annotation', 'path' => 'Procedure.notes', 'min' => 0, 'max' => Float::INFINITY },
|
43
|
+
'focalDevice' => { 'type' => 'Procedure::FocalDevice', 'path' => 'Procedure.focalDevice', 'min' => 0, 'max' => Float::INFINITY },
|
44
|
+
'used' => { 'type' => 'Reference', 'path' => 'Procedure.used', 'min' => 0, 'max' => Float::INFINITY }
|
45
45
|
}
|
46
46
|
|
47
47
|
class Performer < FHIR::DSTU2::Model
|
@@ -50,11 +50,11 @@ module FHIR
|
|
50
50
|
include FHIR::DSTU2::Xml
|
51
51
|
|
52
52
|
METADATA = {
|
53
|
-
'id' => {'type'=>'id', 'path'=>'Performer.id', 'min'=>0, 'max'=>1},
|
54
|
-
'extension' => {'type'=>'Extension', 'path'=>'Performer.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
55
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'Performer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
56
|
-
'actor' => {'type'=>'Reference', 'path'=>'Performer.actor', 'min'=>0, 'max'=>1},
|
57
|
-
'role' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Performer.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/performer-role'}}
|
53
|
+
'id' => { 'type' => 'id', 'path' => 'Performer.id', 'min' => 0, 'max' => 1 },
|
54
|
+
'extension' => { 'type' => 'Extension', 'path' => 'Performer.extension', 'min' => 0, 'max' => Float::INFINITY },
|
55
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'Performer.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
56
|
+
'actor' => { 'type' => 'Reference', 'path' => 'Performer.actor', 'min' => 0, 'max' => 1 },
|
57
|
+
'role' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Performer.role', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/performer-role' } }
|
58
58
|
}
|
59
59
|
|
60
60
|
attr_accessor :id # 0-1 id
|
@@ -70,11 +70,11 @@ module FHIR
|
|
70
70
|
include FHIR::DSTU2::Xml
|
71
71
|
|
72
72
|
METADATA = {
|
73
|
-
'id' => {'type'=>'id', 'path'=>'FocalDevice.id', 'min'=>0, 'max'=>1},
|
74
|
-
'extension' => {'type'=>'Extension', 'path'=>'FocalDevice.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
75
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'FocalDevice.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
76
|
-
'action' => {'valid_codes'=>{'http://hl7.org/fhir/device-action'=>['implanted', 'explanted', 'manipulated']}, 'type'=>'CodeableConcept', 'path'=>'FocalDevice.action', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/device-action'}},
|
77
|
-
'manipulated' => {'type'=>'Reference', 'path'=>'FocalDevice.manipulated', 'min'=>1, 'max'=>1}
|
73
|
+
'id' => { 'type' => 'id', 'path' => 'FocalDevice.id', 'min' => 0, 'max' => 1 },
|
74
|
+
'extension' => { 'type' => 'Extension', 'path' => 'FocalDevice.extension', 'min' => 0, 'max' => Float::INFINITY },
|
75
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'FocalDevice.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
76
|
+
'action' => { 'valid_codes' => { 'http://hl7.org/fhir/device-action' => ['implanted', 'explanted', 'manipulated'] }, 'type' => 'CodeableConcept', 'path' => 'FocalDevice.action', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/device-action' } },
|
77
|
+
'manipulated' => { 'type' => 'Reference', 'path' => 'FocalDevice.manipulated', 'min' => 1, 'max' => 1 }
|
78
78
|
}
|
79
79
|
|
80
80
|
attr_accessor :id # 0-1 id
|
@@ -121,4 +121,4 @@ module FHIR
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
end
|
124
|
-
end
|
124
|
+
end
|
@@ -12,32 +12,32 @@ module FHIR
|
|
12
12
|
}
|
13
13
|
SEARCH_PARAMS = ['encounter', 'identifier', 'orderer', 'patient', 'performer', 'subject']
|
14
14
|
METADATA = {
|
15
|
-
'id' => {'type'=>'id', 'path'=>'ProcedureRequest.id', 'min'=>0, 'max'=>1},
|
16
|
-
'meta' => {'type'=>'Meta', 'path'=>'ProcedureRequest.meta', 'min'=>0, 'max'=>1},
|
17
|
-
'implicitRules' => {'type'=>'uri', 'path'=>'ProcedureRequest.implicitRules', 'min'=>0, 'max'=>1},
|
18
|
-
'language' => {'type'=>'code', 'path'=>'ProcedureRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
19
|
-
'text' => {'type'=>'Narrative', 'path'=>'ProcedureRequest.text', 'min'=>0, 'max'=>1},
|
20
|
-
'contained' => {'type'=>'Resource', 'path'=>'ProcedureRequest.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
21
|
-
'extension' => {'type'=>'Extension', 'path'=>'ProcedureRequest.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
22
|
-
'modifierExtension' => {'type'=>'Extension', 'path'=>'ProcedureRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
23
|
-
'identifier' => {'type'=>'Identifier', 'path'=>'ProcedureRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
24
|
-
'subject' => {'type'=>'Reference', 'path'=>'ProcedureRequest.subject', 'min'=>1, 'max'=>1},
|
25
|
-
'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-code'}},
|
26
|
-
'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.bodySite', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}},
|
27
|
-
'reasonCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-reason'}},
|
28
|
-
'reasonReference' => {'type'=>'Reference', 'path'=>'ProcedureRequest.reason[x]', 'min'=>0, 'max'=>1},
|
29
|
-
'scheduledDateTime' => {'type'=>'dateTime', 'path'=>'ProcedureRequest.scheduled[x]', 'min'=>0, 'max'=>1},
|
30
|
-
'scheduledPeriod' => {'type'=>'Period', 'path'=>'ProcedureRequest.scheduled[x]', 'min'=>0, 'max'=>1},
|
31
|
-
'scheduledTiming' => {'type'=>'Timing', 'path'=>'ProcedureRequest.scheduled[x]', 'min'=>0, 'max'=>1},
|
32
|
-
'encounter' => {'type'=>'Reference', 'path'=>'ProcedureRequest.encounter', 'min'=>0, 'max'=>1},
|
33
|
-
'performer' => {'type'=>'Reference', 'path'=>'ProcedureRequest.performer', 'min'=>0, 'max'=>1},
|
34
|
-
'status' => {'valid_codes'=>{'http://hl7.org/fhir/procedure-request-status'=>['proposed', 'draft', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'aborted']}, 'type'=>'code', 'path'=>'ProcedureRequest.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-request-status'}},
|
35
|
-
'notes' => {'type'=>'Annotation', 'path'=>'ProcedureRequest.notes', 'min'=>0, 'max'=>Float::INFINITY},
|
36
|
-
'asNeededBoolean' => {'type'=>'boolean', 'path'=>'ProcedureRequest.asNeeded[x]', 'min'=>0, 'max'=>1},
|
37
|
-
'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ProcedureRequest.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
|
38
|
-
'orderedOn' => {'type'=>'dateTime', 'path'=>'ProcedureRequest.orderedOn', 'min'=>0, 'max'=>1},
|
39
|
-
'orderer' => {'type'=>'Reference', 'path'=>'ProcedureRequest.orderer', 'min'=>0, 'max'=>1},
|
40
|
-
'priority' => {'valid_codes'=>{'http://hl7.org/fhir/procedure-request-priority'=>['routine', 'urgent', 'stat', 'asap']}, 'type'=>'code', 'path'=>'ProcedureRequest.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/procedure-request-priority'}}
|
15
|
+
'id' => { 'type' => 'id', 'path' => 'ProcedureRequest.id', 'min' => 0, 'max' => 1 },
|
16
|
+
'meta' => { 'type' => 'Meta', 'path' => 'ProcedureRequest.meta', 'min' => 0, 'max' => 1 },
|
17
|
+
'implicitRules' => { 'type' => 'uri', 'path' => 'ProcedureRequest.implicitRules', 'min' => 0, 'max' => 1 },
|
18
|
+
'language' => { 'type' => 'code', 'path' => 'ProcedureRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
|
19
|
+
'text' => { 'type' => 'Narrative', 'path' => 'ProcedureRequest.text', 'min' => 0, 'max' => 1 },
|
20
|
+
'contained' => { 'type' => 'Resource', 'path' => 'ProcedureRequest.contained', 'min' => 0, 'max' => Float::INFINITY },
|
21
|
+
'extension' => { 'type' => 'Extension', 'path' => 'ProcedureRequest.extension', 'min' => 0, 'max' => Float::INFINITY },
|
22
|
+
'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProcedureRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
|
23
|
+
'identifier' => { 'type' => 'Identifier', 'path' => 'ProcedureRequest.identifier', 'min' => 0, 'max' => Float::INFINITY },
|
24
|
+
'subject' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.subject', 'min' => 1, 'max' => 1 },
|
25
|
+
'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-code' } },
|
26
|
+
'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.bodySite', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } },
|
27
|
+
'reasonCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-reason' } },
|
28
|
+
'reasonReference' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.reason[x]', 'min' => 0, 'max' => 1 },
|
29
|
+
'scheduledDateTime' => { 'type' => 'dateTime', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 },
|
30
|
+
'scheduledPeriod' => { 'type' => 'Period', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 },
|
31
|
+
'scheduledTiming' => { 'type' => 'Timing', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 },
|
32
|
+
'encounter' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.encounter', 'min' => 0, 'max' => 1 },
|
33
|
+
'performer' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.performer', 'min' => 0, 'max' => 1 },
|
34
|
+
'status' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-request-status' => ['proposed', 'draft', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'aborted'] }, 'type' => 'code', 'path' => 'ProcedureRequest.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-request-status' } },
|
35
|
+
'notes' => { 'type' => 'Annotation', 'path' => 'ProcedureRequest.notes', 'min' => 0, 'max' => Float::INFINITY },
|
36
|
+
'asNeededBoolean' => { 'type' => 'boolean', 'path' => 'ProcedureRequest.asNeeded[x]', 'min' => 0, 'max' => 1 },
|
37
|
+
'asNeededCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.asNeeded[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } },
|
38
|
+
'orderedOn' => { 'type' => 'dateTime', 'path' => 'ProcedureRequest.orderedOn', 'min' => 0, 'max' => 1 },
|
39
|
+
'orderer' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.orderer', 'min' => 0, 'max' => 1 },
|
40
|
+
'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-request-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'code', 'path' => 'ProcedureRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-request-priority' } }
|
41
41
|
}
|
42
42
|
|
43
43
|
attr_accessor :id # 0-1 id
|
@@ -72,4 +72,4 @@ module FHIR
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
75
|
-
end
|
75
|
+
end
|