Class: FHIR::DSTU2::DiagnosticOrder
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb
Defined Under Namespace
Constant Summary collapse
- SEARCH_PARAMS =
['actor', 'bodysite', 'code', 'encounter', 'event-date', 'event-status', 'identifier', 'item-date', 'item-past-status', 'item-status', 'orderer', 'patient', 'specimen', 'status', 'subject']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'DiagnosticOrder.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'DiagnosticOrder.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'DiagnosticOrder.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'DiagnosticOrder.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'DiagnosticOrder.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'DiagnosticOrder.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'DiagnosticOrder.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'DiagnosticOrder.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'subject' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.subject', 'min' => 1, 'max' => 1 }, 'orderer' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.orderer', 'min' => 0, 'max' => 1 }, 'identifier' => { 'type' => 'Identifier', 'path' => 'DiagnosticOrder.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'encounter' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.encounter', 'min' => 0, 'max' => 1 }, 'reason' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'DiagnosticOrder.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, 'supportingInformation' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.supportingInformation', 'min' => 0, 'max' => Float::INFINITY }, 'specimen' => { 'type' => 'Reference', 'path' => 'DiagnosticOrder.specimen', 'min' => 0, 'max' => Float::INFINITY }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-status' => ['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'DiagnosticOrder.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-status' } }, 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'code', 'path' => 'DiagnosticOrder.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-priority' } }, 'event' => { 'type' => 'DiagnosticOrder::Event', 'path' => 'DiagnosticOrder.event', 'min' => 0, 'max' => Float::INFINITY }, 'item' => { 'type' => 'DiagnosticOrder::Item', 'path' => 'DiagnosticOrder.item', 'min' => 0, 'max' => Float::INFINITY }, 'note' => { 'type' => 'Annotation', 'path' => 'DiagnosticOrder.note', 'min' => 0, 'max' => Float::INFINITY } }
Instance Attribute Summary collapse
-
#contained ⇒ Object
0-* [ Resource ].
-
#encounter ⇒ Object
0-1 Reference().
-
#event ⇒ Object
0-* [ DiagnosticOrder::Event ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#item ⇒ Object
0-* [ DiagnosticOrder::Item ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-* [ Annotation ].
-
#orderer ⇒ Object
0-1 Reference().
-
#priority ⇒ Object
0-1 code.
-
#reason ⇒ Object
0-* [ CodeableConcept ].
-
#specimen ⇒ Object
0-* [ Reference() ].
-
#status ⇒ Object
0-1 code.
-
#subject ⇒ Object
1-1 Reference().
-
#supportingInformation ⇒ Object
0-* [ Reference() ].
-
#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
#contained ⇒ Object
0-* [ Resource ]
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 87 def contained @contained end |
#encounter ⇒ Object
0-1 Reference()
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 93 def encounter @encounter end |
#event ⇒ Object
0-* [ DiagnosticOrder::Event ]
99 100 101 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 99 def event @event end |
#extension ⇒ Object
0-* [ Extension ]
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 88 def extension @extension end |
#id ⇒ Object
0-1 id
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 82 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 92 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
84 85 86 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 84 def implicitRules @implicitRules end |
#item ⇒ Object
0-* [ DiagnosticOrder::Item ]
100 101 102 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 100 def item @item end |
#language ⇒ Object
0-1 code
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 85 def language @language end |
#meta ⇒ Object
0-1 Meta
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 83 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 89 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-* [ Annotation ]
101 102 103 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 101 def note @note end |
#orderer ⇒ Object
0-1 Reference()
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 91 def orderer @orderer end |
#priority ⇒ Object
0-1 code
98 99 100 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 98 def priority @priority end |
#reason ⇒ Object
0-* [ CodeableConcept ]
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 94 def reason @reason end |
#specimen ⇒ Object
0-* [ Reference() ]
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 96 def specimen @specimen end |
#status ⇒ Object
0-1 code
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 97 def status @status end |
#subject ⇒ Object
1-1 Reference()
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 90 def subject @subject end |
#supportingInformation ⇒ Object
0-* [ Reference() ]
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 95 def supportingInformation @supportingInformation end |
#text ⇒ Object
0-1 Narrative
86 87 88 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 86 def text @text end |
Instance Method Details
#resourceType ⇒ Object
103 104 105 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 103 def resourceType 'DiagnosticOrder' end |