Class: FHIR::Contract::Term::Asset::Context
- Defined in:
- lib/fhir_models/fhir/resources/Contract.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Context.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Context.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Context.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'reference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Context.reference', 'min'=>0, 'max'=>1}, 'code' => {'valid_codes'=>{'http://hl7.org/fhir/contract-asset-context'=>['custodian']}, 'type'=>'CodeableConcept', 'path'=>'Context.code', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-assetcontext'}}, 'text' => {'type'=>'string', 'path'=>'Context.text', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#code ⇒ Object
0-* [ CodeableConcept ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#reference ⇒ Object
0-1 Reference(Resource).
-
#text ⇒ 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-* [ CodeableConcept ]
280 281 282 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 280 def code @code end |
#extension ⇒ Object
0-* [ Extension ]
277 278 279 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 277 def extension @extension end |
#id ⇒ Object
0-1 string
276 277 278 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 276 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
278 279 280 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 278 def modifierExtension @modifierExtension end |
#reference ⇒ Object
0-1 Reference(Resource)
279 280 281 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 279 def reference @reference end |
#text ⇒ Object
0-1 string
281 282 283 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 281 def text @text end |