Class: FHIR::DocumentManifest
- Defined in:
- lib/fhir/resources/DocumentManifest.rb
Defined Under Namespace
Constant Summary collapse
- SEARCH_PARAMS =
["author", "content-ref", "created", "description", "identifier", "patient", "recipient", "related-id", "related-ref", "source", "status", "subject", "type"]
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'DocumentManifest.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'DocumentManifest.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'DocumentManifest.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'DocumentManifest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'DocumentManifest.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'DocumentManifest.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'DocumentManifest.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'DocumentManifest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'masterIdentifier' => {'type'=>'Identifier', 'path'=>'DocumentManifest.masterIdentifier', 'min'=>0, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'DocumentManifest.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'subject' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device'], 'type'=>'Reference', 'path'=>'DocumentManifest.subject', 'min'=>0, 'max'=>1}, 'recipient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'DocumentManifest.recipient', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DocumentManifest.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-doc-typecodes'}}, 'author' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'DocumentManifest.author', 'min'=>0, 'max'=>Float::INFINITY}, 'created' => {'type'=>'dateTime', 'path'=>'DocumentManifest.created', 'min'=>0, 'max'=>1}, 'source' => {'type'=>'uri', 'path'=>'DocumentManifest.source', 'min'=>0, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/document-reference-status'=>['current', 'superseded', 'entered-in-error', 'current', 'superseded', 'entered-in-error']}, 'type'=>'code', 'path'=>'DocumentManifest.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/document-reference-status'}}, 'description' => {'type'=>'string', 'path'=>'DocumentManifest.description', 'min'=>0, 'max'=>1}, 'content' => {'type'=>'DocumentManifest::Content', 'path'=>'DocumentManifest.content', 'min'=>1, 'max'=>Float::INFINITY}, 'related' => {'type'=>'DocumentManifest::Related', 'path'=>'DocumentManifest.related', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#author ⇒ Object
0-* [ Reference(Practitioner|Organization|Device|Patient|RelatedPerson) ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#content ⇒ Object
1-* [ DocumentManifest::Content ].
-
#created ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#masterIdentifier ⇒ Object
0-1 Identifier.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#recipient ⇒ Object
0-* [ Reference(Patient|Practitioner|RelatedPerson|Organization) ].
-
#related ⇒ Object
0-* [ DocumentManifest::Related ].
-
#source ⇒ Object
0-1 uri.
-
#status ⇒ Object
1-1 code.
-
#subject ⇒ Object
0-1 Reference(Patient|Practitioner|Group|Device).
-
#text ⇒ Object
0-1 Narrative.
-
#type ⇒ Object
0-1 CodeableConcept.
Instance Method Summary collapse
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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
#author ⇒ Object
0-* [ Reference(Practitioner|Organization|Device|Patient|RelatedPerson) ]
87 88 89 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 87 def @author end |
#contained ⇒ Object
0-* [ Resource ]
79 80 81 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 79 def contained @contained end |
#content ⇒ Object
1-* [ DocumentManifest::Content ]
92 93 94 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 92 def content @content end |
#created ⇒ Object
0-1 dateTime
88 89 90 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 88 def created @created end |
#description ⇒ Object
0-1 string
91 92 93 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 91 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
80 81 82 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 80 def extension @extension end |
#id ⇒ Object
0-1 id
74 75 76 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 74 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
83 84 85 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 83 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
76 77 78 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 76 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
77 78 79 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 77 def language @language end |
#masterIdentifier ⇒ Object
0-1 Identifier
82 83 84 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 82 def masterIdentifier @masterIdentifier end |
#meta ⇒ Object
0-1 Meta
75 76 77 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 75 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
81 82 83 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 81 def modifierExtension @modifierExtension end |
#recipient ⇒ Object
0-* [ Reference(Patient|Practitioner|RelatedPerson|Organization) ]
85 86 87 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 85 def recipient @recipient end |
#related ⇒ Object
0-* [ DocumentManifest::Related ]
93 94 95 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 93 def @related end |
#source ⇒ Object
0-1 uri
89 90 91 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 89 def source @source end |
#status ⇒ Object
1-1 code
90 91 92 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 90 def status @status end |
#subject ⇒ Object
0-1 Reference(Patient|Practitioner|Group|Device)
84 85 86 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 84 def subject @subject end |
#text ⇒ Object
0-1 Narrative
78 79 80 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 78 def text @text end |
#type ⇒ Object
0-1 CodeableConcept
86 87 88 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 86 def type @type end |
Instance Method Details
#resourceType ⇒ Object
95 96 97 |
# File 'lib/fhir/resources/DocumentManifest.rb', line 95 def resourceType 'DocumentManifest' end |