Class: FHIR::DSTU2::HealthcareService
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb
Defined Under Namespace
Classes: AvailableTime, NotAvailable, ServiceType
Constant Summary collapse
- SEARCH_PARAMS =
['characteristic', 'identifier', 'location', 'name', 'organization', 'programname', 'servicecategory', 'servicetype']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'HealthcareService.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'HealthcareService.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'HealthcareService.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'HealthcareService.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'HealthcareService.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'HealthcareService.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'HealthcareService.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'HealthcareService.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'HealthcareService.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'providedBy' => { 'type' => 'Reference', 'path' => 'HealthcareService.providedBy', 'min' => 0, 'max' => 1 }, 'serviceCategory' => { 'type' => 'CodeableConcept', 'path' => 'HealthcareService.serviceCategory', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'serviceType' => { 'type' => 'HealthcareService::ServiceType', 'path' => 'HealthcareService.serviceType', 'min' => 0, 'max' => Float::INFINITY }, 'location' => { 'type' => 'Reference', 'path' => 'HealthcareService.location', 'min' => 1, 'max' => 1 }, 'serviceName' => { 'type' => 'string', 'path' => 'HealthcareService.serviceName', 'min' => 0, 'max' => 1 }, 'comment' => { 'type' => 'string', 'path' => 'HealthcareService.comment', 'min' => 0, 'max' => 1 }, 'extraDetails' => { 'type' => 'string', 'path' => 'HealthcareService.extraDetails', 'min' => 0, 'max' => 1 }, 'photo' => { 'type' => 'Attachment', 'path' => 'HealthcareService.photo', 'min' => 0, 'max' => 1 }, 'telecom' => { 'type' => 'ContactPoint', 'path' => 'HealthcareService.telecom', 'min' => 0, 'max' => Float::INFINITY }, 'coverageArea' => { 'type' => 'Reference', 'path' => 'HealthcareService.coverageArea', 'min' => 0, 'max' => Float::INFINITY }, 'serviceProvisionCode' => { 'valid_codes' => { 'http://hl7.org/fhir/service-provision-conditions' => ['free', 'disc', 'cost'] }, 'type' => 'CodeableConcept', 'path' => 'HealthcareService.serviceProvisionCode', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-provision-conditions' } }, 'eligibility' => { 'type' => 'CodeableConcept', 'path' => 'HealthcareService.eligibility', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'eligibilityNote' => { 'type' => 'string', 'path' => 'HealthcareService.eligibilityNote', 'min' => 0, 'max' => 1 }, 'programName' => { 'type' => 'string', 'path' => 'HealthcareService.programName', 'min' => 0, 'max' => Float::INFINITY }, 'characteristic' => { 'type' => 'CodeableConcept', 'path' => 'HealthcareService.characteristic', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'referralMethod' => { 'valid_codes' => { 'http://hl7.org/fhir/service-referral-method' => ['fax', 'phone', 'elec', 'semail', 'mail'] }, 'type' => 'CodeableConcept', 'path' => 'HealthcareService.referralMethod', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/service-referral-method' } }, 'publicKey' => { 'type' => 'string', 'path' => 'HealthcareService.publicKey', 'min' => 0, 'max' => 1 }, 'appointmentRequired' => { 'type' => 'boolean', 'path' => 'HealthcareService.appointmentRequired', 'min' => 0, 'max' => 1 }, 'availableTime' => { 'type' => 'HealthcareService::AvailableTime', 'path' => 'HealthcareService.availableTime', 'min' => 0, 'max' => Float::INFINITY }, 'notAvailable' => { 'type' => 'HealthcareService::NotAvailable', 'path' => 'HealthcareService.notAvailable', 'min' => 0, 'max' => Float::INFINITY }, 'availabilityExceptions' => { 'type' => 'string', 'path' => 'HealthcareService.availabilityExceptions', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#appointmentRequired ⇒ Object
0-1 boolean.
-
#availabilityExceptions ⇒ Object
0-1 string.
-
#availableTime ⇒ Object
0-* [ HealthcareService::AvailableTime ].
-
#characteristic ⇒ Object
0-* [ CodeableConcept ].
-
#comment ⇒ Object
0-1 string.
-
#contained ⇒ Object
0-* [ Resource ].
-
#coverageArea ⇒ Object
0-* [ Reference() ].
-
#eligibility ⇒ Object
0-1 CodeableConcept.
-
#eligibilityNote ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#extraDetails ⇒ Object
0-1 string.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#location ⇒ Object
1-1 Reference().
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#notAvailable ⇒ Object
0-* [ HealthcareService::NotAvailable ].
-
#photo ⇒ Object
0-1 Attachment.
-
#programName ⇒ Object
0-* [ string ].
-
#providedBy ⇒ Object
0-1 Reference().
-
#publicKey ⇒ Object
0-1 string.
-
#referralMethod ⇒ Object
0-* [ CodeableConcept ].
-
#serviceCategory ⇒ Object
0-1 CodeableConcept.
-
#serviceName ⇒ Object
0-1 string.
-
#serviceProvisionCode ⇒ Object
0-* [ CodeableConcept ].
-
#serviceType ⇒ Object
0-* [ HealthcareService::ServiceType ].
-
#telecom ⇒ Object
0-* [ ContactPoint ].
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#appointmentRequired ⇒ Object
0-1 boolean
132 133 134 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 132 def appointmentRequired @appointmentRequired end |
#availabilityExceptions ⇒ Object
0-1 string
135 136 137 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 135 def availabilityExceptions @availabilityExceptions end |
#availableTime ⇒ Object
0-* [ HealthcareService::AvailableTime ]
133 134 135 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 133 def availableTime @availableTime end |
#characteristic ⇒ Object
0-* [ CodeableConcept ]
129 130 131 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 129 def characteristic @characteristic end |
#comment ⇒ Object
0-1 string
120 121 122 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 120 def comment @comment end |
#contained ⇒ Object
0-* [ Resource ]
111 112 113 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 111 def contained @contained end |
#coverageArea ⇒ Object
0-* [ Reference() ]
124 125 126 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 124 def coverageArea @coverageArea end |
#eligibility ⇒ Object
0-1 CodeableConcept
126 127 128 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 126 def eligibility @eligibility end |
#eligibilityNote ⇒ Object
0-1 string
127 128 129 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 127 def eligibilityNote @eligibilityNote end |
#extension ⇒ Object
0-* [ Extension ]
112 113 114 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 112 def extension @extension end |
#extraDetails ⇒ Object
0-1 string
121 122 123 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 121 def extraDetails @extraDetails end |
#id ⇒ Object
0-1 id
106 107 108 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 106 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
114 115 116 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 114 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
108 109 110 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 108 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
109 110 111 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 109 def language @language end |
#location ⇒ Object
1-1 Reference()
118 119 120 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 118 def location @location end |
#meta ⇒ Object
0-1 Meta
107 108 109 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 107 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
113 114 115 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 113 def modifierExtension @modifierExtension end |
#notAvailable ⇒ Object
0-* [ HealthcareService::NotAvailable ]
134 135 136 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 134 def notAvailable @notAvailable end |
#photo ⇒ Object
0-1 Attachment
122 123 124 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 122 def photo @photo end |
#programName ⇒ Object
0-* [ string ]
128 129 130 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 128 def programName @programName end |
#providedBy ⇒ Object
0-1 Reference()
115 116 117 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 115 def providedBy @providedBy end |
#publicKey ⇒ Object
0-1 string
131 132 133 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 131 def publicKey @publicKey end |
#referralMethod ⇒ Object
0-* [ CodeableConcept ]
130 131 132 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 130 def referralMethod @referralMethod end |
#serviceCategory ⇒ Object
0-1 CodeableConcept
116 117 118 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 116 def serviceCategory @serviceCategory end |
#serviceName ⇒ Object
0-1 string
119 120 121 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 119 def serviceName @serviceName end |
#serviceProvisionCode ⇒ Object
0-* [ CodeableConcept ]
125 126 127 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 125 def serviceProvisionCode @serviceProvisionCode end |
#serviceType ⇒ Object
0-* [ HealthcareService::ServiceType ]
117 118 119 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 117 def serviceType @serviceType end |
#telecom ⇒ Object
0-* [ ContactPoint ]
123 124 125 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 123 def telecom @telecom end |
#text ⇒ Object
0-1 Narrative
110 111 112 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 110 def text @text end |
Instance Method Details
#resourceType ⇒ Object
137 138 139 |
# File 'lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb', line 137 def resourceType 'HealthcareService' end |