Class: FHIR::R4::Contract::Term::Action
- Defined in:
- lib/fhir_models/r4/generated/resources/Contract.rb
Defined Under Namespace
Classes: Subject
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'occurrence' => ['dateTime', 'Period', 'Timing'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Action.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'doNotPerform' => {'type'=>'boolean', 'path'=>'Action.doNotPerform', 'min'=>0, 'max'=>1}, 'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/contractaction'=>['action-a', 'action-b']}, 'type'=>'CodeableConcept', 'path'=>'Action.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-action'}}, 'subject' => {'type'=>'Contract::Term::Action::Subject', 'path'=>'Action.subject', 'min'=>0, 'max'=>Float::INFINITY}, 'intent' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActReason'=>['PurposeOfUse', 'HMARKT', 'HOPERAT', 'CAREMGT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HDM', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'LABELING', 'METAMGT', 'MEMADMIN', 'MILCDM', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'SYSDEV', 'HTEST', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'MILDCRG', 'REMITADV', 'HRESCH', 'BIORCH', 'CLINTRCH', 'CLINTRCHNPC', 'CLINTRCHPC', 'PRECLINTRCH', 'DSRCH', 'POARCH', 'TRANSRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CLINTRL', 'COC', 'ETREAT', 'BTG', 'ERTREAT', 'POPHLTH']}, 'type'=>'CodeableConcept', 'path'=>'Action.intent', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}}, 'linkId' => {'type'=>'string', 'path'=>'Action.linkId', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/contract-action-status'=>['complete']}, 'type'=>'CodeableConcept', 'path'=>'Action.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-actionstatus'}}, 'context' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare'], 'type'=>'Reference', 'path'=>'Action.context', 'min'=>0, 'max'=>1}, 'contextLinkId' => {'type'=>'string', 'path'=>'Action.contextLinkId', 'min'=>0, 'max'=>Float::INFINITY}, 'occurrenceDateTime' => {'type'=>'dateTime', 'path'=>'Action.occurrence[x]', 'min'=>0, 'max'=>1}, 'occurrencePeriod' => {'type'=>'Period', 'path'=>'Action.occurrence[x]', 'min'=>0, 'max'=>1}, 'occurrenceTiming' => {'type'=>'Timing', 'path'=>'Action.occurrence[x]', 'min'=>0, 'max'=>1}, 'requester' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Action.requester', 'min'=>0, 'max'=>Float::INFINITY}, 'requesterLinkId' => {'type'=>'string', 'path'=>'Action.requesterLinkId', 'min'=>0, 'max'=>Float::INFINITY}, 'performerType' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/provenance-participant-type'=>['enterer', 'performer', 'author', 'verifier', 'legal', 'attester', 'informant', 'custodian', 'assembler', 'composer']}, 'type'=>'CodeableConcept', 'path'=>'Action.performerType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/provenance-agent-type'}}, 'performerRole' => {'valid_codes'=>{'http://hl7.org/fhir/provenance-participant-role'=>['enterer', 'performer', 'author', 'verifier', 'legal', 'attester', 'informant', 'custodian', 'assembler', 'composer']}, 'type'=>'CodeableConcept', 'path'=>'Action.performerRole', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/provenance-agent-role'}}, 'performer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Substance', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Action.performer', 'min'=>0, 'max'=>1}, 'performerLinkId' => {'type'=>'string', 'path'=>'Action.performerLinkId', 'min'=>0, 'max'=>Float::INFINITY}, 'reasonCode' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActReason'=>['PurposeOfUse', 'HMARKT', 'HOPERAT', 'CAREMGT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HDM', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'LABELING', 'METAMGT', 'MEMADMIN', 'MILCDM', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'SYSDEV', 'HTEST', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'MILDCRG', 'REMITADV', 'HRESCH', 'BIORCH', 'CLINTRCH', 'CLINTRCHNPC', 'CLINTRCHPC', 'PRECLINTRCH', 'DSRCH', 'POARCH', 'TRANSRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CLINTRL', 'COC', 'ETREAT', 'BTG', 'ERTREAT', 'POPHLTH']}, 'type'=>'CodeableConcept', 'path'=>'Action.reasonCode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}}, 'reasonReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Questionnaire', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse'], 'type'=>'Reference', 'path'=>'Action.reasonReference', 'min'=>0, 'max'=>Float::INFINITY}, 'reason' => {'type'=>'string', 'path'=>'Action.reason', 'min'=>0, 'max'=>Float::INFINITY}, 'reasonLinkId' => {'type'=>'string', 'path'=>'Action.reasonLinkId', 'min'=>0, 'max'=>Float::INFINITY}, 'note' => {'type'=>'Annotation', 'path'=>'Action.note', 'min'=>0, 'max'=>Float::INFINITY}, 'securityLabelNumber' => {'type'=>'unsignedInt', 'path'=>'Action.securityLabelNumber', 'min'=>0, 'max'=>Float::INFINITY} }
Constants included from FHIR::R4
Constants included from FHIR
Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription
Instance Attribute Summary collapse
-
#context ⇒ Object
0-1 Reference(Encounter|EpisodeOfCare).
-
#contextLinkId ⇒ Object
0-* [ string ].
-
#doNotPerform ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#intent ⇒ Object
1-1 CodeableConcept.
-
#linkId ⇒ Object
0-* [ string ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-* [ Annotation ].
-
#occurrenceDateTime ⇒ Object
0-1 dateTime.
-
#occurrencePeriod ⇒ Object
0-1 Period.
-
#occurrenceTiming ⇒ Object
0-1 Timing.
-
#performer ⇒ Object
0-1 Reference(RelatedPerson|Patient|Practitioner|PractitionerRole|CareTeam|Device|Substance|Organization|Location).
-
#performerLinkId ⇒ Object
0-* [ string ].
-
#performerRole ⇒ Object
0-1 CodeableConcept.
-
#performerType ⇒ Object
0-* [ CodeableConcept ].
-
#reason ⇒ Object
0-* [ string ].
-
#reasonCode ⇒ Object
0-* [ CodeableConcept ].
-
#reasonLinkId ⇒ Object
0-* [ string ].
-
#reasonReference ⇒ Object
0-* [ Reference(Condition|Observation|DiagnosticReport|DocumentReference|Questionnaire|QuestionnaireResponse) ].
-
#requester ⇒ Object
0-* [ Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Device|Group|Organization) ].
-
#requesterLinkId ⇒ Object
0-* [ string ].
-
#securityLabelNumber ⇒ Object
0-* [ unsignedInt ].
-
#status ⇒ Object
1-1 CodeableConcept.
-
#subject ⇒ Object
0-* [ Contract::Term::Action::Subject ].
-
#type ⇒ Object
1-1 CodeableConcept.
Method Summary
Methods included from FHIR::R4
#fhir_version_string, #versioned_fhir_module
Methods included from FHIR
default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module
Methods included from ClassMethods
Methods included from ClassXml
#from_xml, #valid?, #validate, #xml_node_to_hash
Methods included from InstanceXml
Methods included from ClassJson
Methods included from InstanceJson
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
Methods included from Deprecate
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
#context ⇒ Object
0-1 Reference(Encounter|EpisodeOfCare)
420 421 422 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 420 def context @context end |
#contextLinkId ⇒ Object
0-* [ string ]
421 422 423 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 421 def contextLinkId @contextLinkId end |
#doNotPerform ⇒ Object
0-1 boolean
414 415 416 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 414 def doNotPerform @doNotPerform end |
#extension ⇒ Object
0-* [ Extension ]
412 413 414 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 412 def extension @extension end |
#id ⇒ Object
0-1 string
411 412 413 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 411 def id @id end |
#intent ⇒ Object
1-1 CodeableConcept
417 418 419 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 417 def intent @intent end |
#linkId ⇒ Object
0-* [ string ]
418 419 420 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 418 def linkId @linkId end |
#modifierExtension ⇒ Object
0-* [ Extension ]
413 414 415 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 413 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-* [ Annotation ]
435 436 437 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 435 def note @note end |
#occurrenceDateTime ⇒ Object
0-1 dateTime
422 423 424 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 422 def occurrenceDateTime @occurrenceDateTime end |
#occurrencePeriod ⇒ Object
0-1 Period
423 424 425 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 423 def occurrencePeriod @occurrencePeriod end |
#occurrenceTiming ⇒ Object
0-1 Timing
424 425 426 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 424 def occurrenceTiming @occurrenceTiming end |
#performer ⇒ Object
0-1 Reference(RelatedPerson|Patient|Practitioner|PractitionerRole|CareTeam|Device|Substance|Organization|Location)
429 430 431 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 429 def performer @performer end |
#performerLinkId ⇒ Object
0-* [ string ]
430 431 432 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 430 def performerLinkId @performerLinkId end |
#performerRole ⇒ Object
0-1 CodeableConcept
428 429 430 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 428 def performerRole @performerRole end |
#performerType ⇒ Object
0-* [ CodeableConcept ]
427 428 429 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 427 def performerType @performerType end |
#reason ⇒ Object
0-* [ string ]
433 434 435 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 433 def reason @reason end |
#reasonCode ⇒ Object
0-* [ CodeableConcept ]
431 432 433 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 431 def reasonCode @reasonCode end |
#reasonLinkId ⇒ Object
0-* [ string ]
434 435 436 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 434 def reasonLinkId @reasonLinkId end |
#reasonReference ⇒ Object
0-* [ Reference(Condition|Observation|DiagnosticReport|DocumentReference|Questionnaire|QuestionnaireResponse) ]
432 433 434 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 432 def reasonReference @reasonReference end |
#requester ⇒ Object
0-* [ Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Device|Group|Organization) ]
425 426 427 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 425 def requester @requester end |
#requesterLinkId ⇒ Object
0-* [ string ]
426 427 428 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 426 def requesterLinkId @requesterLinkId end |
#securityLabelNumber ⇒ Object
0-* [ unsignedInt ]
436 437 438 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 436 def securityLabelNumber @securityLabelNumber end |
#status ⇒ Object
1-1 CodeableConcept
419 420 421 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 419 def status @status end |
#subject ⇒ Object
0-* [ Contract::Term::Action::Subject ]
416 417 418 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 416 def subject @subject end |
#type ⇒ Object
1-1 CodeableConcept
415 416 417 |
# File 'lib/fhir_models/r4/generated/resources/Contract.rb', line 415 def type @type end |