Class: FHIR::Contract::ContentDefinition
- Defined in:
- lib/fhir_models/fhir/resources/Contract.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'ContentDefinition.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'ContentDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'ContentDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/contract-definition-type'=>['temp']}, 'type'=>'CodeableConcept', 'path'=>'ContentDefinition.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-definition-type'}}, 'subType' => {'valid_codes'=>{'http://hl7.org/fhir/contract-definition-subtype'=>['temp']}, 'type'=>'CodeableConcept', 'path'=>'ContentDefinition.subType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-definition-subtype'}}, 'publisher' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'ContentDefinition.publisher', 'min'=>0, 'max'=>1}, 'publicationDate' => {'type'=>'dateTime', 'path'=>'ContentDefinition.publicationDate', 'min'=>0, 'max'=>1}, 'publicationStatus' => {'valid_codes'=>{'http://hl7.org/fhir/contract-publicationstatus'=>['amended', 'appended', 'cancelled', 'disputed', 'entered-in-error', 'executable', 'executed', 'negotiable', 'offered', 'policy', 'rejected', 'renewed', 'revoked', 'resolved', 'terminated']}, 'type'=>'code', 'path'=>'ContentDefinition.publicationStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-publicationstatus|4.0.0'}}, 'copyright' => {'type'=>'markdown', 'path'=>'ContentDefinition.copyright', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#copyright ⇒ Object
0-1 markdown.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#publicationDate ⇒ Object
0-1 dateTime.
-
#publicationStatus ⇒ Object
1-1 code.
-
#publisher ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization).
-
#subType ⇒ Object
0-1 CodeableConcept.
-
#type ⇒ Object
1-1 CodeableConcept.
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
#copyright ⇒ Object
0-1 markdown
83 84 85 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 83 def copyright @copyright end |
#extension ⇒ Object
0-* [ Extension ]
76 77 78 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 76 def extension @extension end |
#id ⇒ Object
0-1 string
75 76 77 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 75 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
77 78 79 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 77 def modifierExtension @modifierExtension end |
#publicationDate ⇒ Object
0-1 dateTime
81 82 83 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 81 def publicationDate @publicationDate end |
#publicationStatus ⇒ Object
1-1 code
82 83 84 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 82 def publicationStatus @publicationStatus end |
#publisher ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization)
80 81 82 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 80 def publisher @publisher end |
#subType ⇒ Object
0-1 CodeableConcept
79 80 81 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 79 def subType @subType end |
#type ⇒ Object
1-1 CodeableConcept
78 79 80 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 78 def type @type end |