Class: FHIR::DSTU2::Composition::Section
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Composition.rb
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Section.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Section.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Section.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'title' => { 'type' => 'string', 'path' => 'Section.title', 'min' => 0, 'max' => 1 }, 'code' => { 'valid_codes' => { 'http://loinc.org' => ['10154-3', '10157-6', '10160-0', '10164-2', '10183-2', '10184-0', '10187-3', '10210-3', '10216-0', '10218-6', '10223-6', '10830-8', '11329-0', '11348-0', '11369-6', '11450-4', '11493-4', '11535-2', '11537-8', '18776-5', '18841-7', '29299-5', '29545-1', '29549-3', '29554-3', '29762-2', '30954-2', '42344-2', '42346-7', '42348-3', '42349-1', '46240-8', '46241-6', '46264-8', '47420-5', '47519-4', '48765-2', '48768-6', '51848-0', '55109-3', '55122-6', '59768-2', '59769-0', '59770-8', '59771-6', '59772-4', '59773-2', '59775-7', '59776-5', '61149-1', '61150-9', '69730-0', '8648-8', '8653-8', '8716-3'] }, 'type' => 'CodeableConcept', 'path' => 'Section.code', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/doc-section-codes' } }, 'text' => { 'type' => 'Narrative', 'path' => 'Section.text', 'min' => 0, 'max' => 1 }, 'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/list-mode' => ['working', 'snapshot', 'changes'] }, 'type' => 'code', 'path' => 'Section.mode', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/list-mode' } }, 'orderedBy' => { 'valid_codes' => { 'http://hl7.org/fhir/list-order' => ['user', 'system', 'event-date', 'entry-date', 'priority', 'alphabetic', 'category', 'patient'] }, 'type' => 'CodeableConcept', 'path' => 'Section.orderedBy', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/list-order' } }, 'entry' => { 'type' => 'Reference', 'path' => 'Section.entry', 'min' => 0, 'max' => Float::INFINITY }, 'emptyReason' => { 'valid_codes' => { 'http://hl7.org/fhir/list-empty-reason' => ['nilknown', 'notasked', 'withheld', 'unavailable', 'notstarted', 'closed'] }, 'type' => 'CodeableConcept', 'path' => 'Section.emptyReason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/list-empty-reason' } }, 'section' => { 'type' => 'Composition::Section', 'path' => 'Section.section', 'min' => 0, 'max' => Float::INFINITY } }
Instance Attribute Summary collapse
-
#code ⇒ Object
0-1 CodeableConcept.
-
#emptyReason ⇒ Object
0-1 CodeableConcept.
-
#entry ⇒ Object
0-* [ Reference() ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#mode ⇒ Object
0-1 code.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#orderedBy ⇒ Object
0-1 CodeableConcept.
-
#section ⇒ Object
0-* [ Composition::Section ].
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
Method Summary
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
#code ⇒ Object
0-1 CodeableConcept
101 102 103 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 101 def code @code end |
#emptyReason ⇒ Object
0-1 CodeableConcept
106 107 108 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 106 def emptyReason @emptyReason end |
#entry ⇒ Object
0-* [ Reference() ]
105 106 107 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 105 def entry @entry end |
#extension ⇒ Object
0-* [ Extension ]
98 99 100 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 98 def extension @extension end |
#id ⇒ Object
0-1 id
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 97 def id @id end |
#mode ⇒ Object
0-1 code
103 104 105 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 103 def mode @mode end |
#modifierExtension ⇒ Object
0-* [ Extension ]
99 100 101 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 99 def modifierExtension @modifierExtension end |
#orderedBy ⇒ Object
0-1 CodeableConcept
104 105 106 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 104 def orderedBy @orderedBy end |
#section ⇒ Object
0-* [ Composition::Section ]
107 108 109 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 107 def section @section end |
#text ⇒ Object
0-1 Narrative
102 103 104 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 102 def text @text end |
#title ⇒ Object
0-1 string
100 101 102 |
# File 'lib/fhir_dstu2_models/fhir/resources/Composition.rb', line 100 def title @title end |