Class: FHIR::Composition::Section
- Defined in:
- lib/fhir_models/fhir/resources/Composition.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', '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_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], '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(Resource) ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#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, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#code ⇒ Object
0-1 CodeableConcept
126 127 128 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 126 def code @code end |
#emptyReason ⇒ Object
0-1 CodeableConcept
131 132 133 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 131 def emptyReason @emptyReason end |
#entry ⇒ Object
0-* [ Reference(Resource) ]
130 131 132 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 130 def entry @entry end |
#extension ⇒ Object
0-* [ Extension ]
123 124 125 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 123 def extension @extension end |
#id ⇒ Object
0-1 string
122 123 124 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 122 def id @id end |
#mode ⇒ Object
0-1 code
128 129 130 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 128 def mode @mode end |
#modifierExtension ⇒ Object
0-* [ Extension ]
124 125 126 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 124 def modifierExtension @modifierExtension end |
#orderedBy ⇒ Object
0-1 CodeableConcept
129 130 131 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 129 def orderedBy @orderedBy end |
#section ⇒ Object
0-* [ Composition::Section ]
132 133 134 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 132 def section @section end |
#text ⇒ Object
0-1 Narrative
127 128 129 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 127 def text @text end |
#title ⇒ Object
0-1 string
125 126 127 |
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 125 def title @title end |