Class: FHIR::R4::CapabilityStatement

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r4/generated/resources/CapabilityStatement.rb

Defined Under Namespace

Classes: Document, Implementation, Messaging, Rest, Software

Constant Summary collapse

SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'context-type-quantity', 'context-type-value', 'date', 'description', 'fhirversion', 'format', 'guide', 'jurisdiction', 'mode', 'name', 'publisher', 'resource', 'resource-profile', 'security-service', 'software', 'status', 'supported-profile', 'title', 'url', 'version']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'CapabilityStatement.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'CapabilityStatement.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'CapabilityStatement.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'CapabilityStatement.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'CapabilityStatement.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'CapabilityStatement.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'CapabilityStatement.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'CapabilityStatement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'url' => {'type'=>'uri', 'path'=>'CapabilityStatement.url', 'min'=>0, 'max'=>1},
  'version' => {'type'=>'string', 'path'=>'CapabilityStatement.version', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'CapabilityStatement.name', 'min'=>0, 'max'=>1},
  'title' => {'type'=>'string', 'path'=>'CapabilityStatement.title', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'CapabilityStatement.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}},
  'experimental' => {'type'=>'boolean', 'path'=>'CapabilityStatement.experimental', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'CapabilityStatement.date', 'min'=>1, 'max'=>1},
  'publisher' => {'type'=>'string', 'path'=>'CapabilityStatement.publisher', 'min'=>0, 'max'=>1},
  'contact' => {'type'=>'ContactDetail', 'path'=>'CapabilityStatement.contact', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'CapabilityStatement.description', 'min'=>0, 'max'=>1},
  'useContext' => {'type'=>'UsageContext', 'path'=>'CapabilityStatement.useContext', 'min'=>0, 'max'=>Float::INFINITY},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'CapabilityStatement.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}},
  'purpose' => {'type'=>'markdown', 'path'=>'CapabilityStatement.purpose', 'min'=>0, 'max'=>1},
  'copyright' => {'type'=>'markdown', 'path'=>'CapabilityStatement.copyright', 'min'=>0, 'max'=>1},
  'kind' => {'valid_codes'=>{'http://hl7.org/fhir/capability-statement-kind'=>['instance', 'capability', 'requirements']}, 'type'=>'code', 'path'=>'CapabilityStatement.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/capability-statement-kind'}},
  'instantiates' => {'type'=>'canonical', 'path'=>'CapabilityStatement.instantiates', 'min'=>0, 'max'=>Float::INFINITY},
  'imports' => {'type'=>'canonical', 'path'=>'CapabilityStatement.imports', 'min'=>0, 'max'=>Float::INFINITY},
  'software' => {'type'=>'CapabilityStatement::Software', 'path'=>'CapabilityStatement.software', 'min'=>0, 'max'=>1},
  'implementation' => {'type'=>'CapabilityStatement::Implementation', 'path'=>'CapabilityStatement.implementation', 'min'=>0, 'max'=>1},
  'fhirVersion' => {'valid_codes'=>{'http://hl7.org/fhir/FHIR-version'=>['0.01', '0.05', '0.06', '0.11', '0.0.80', '0.0.81', '0.0.82', '0.4.0', '0.5.0', '1.0.0', '1.0.1', '1.0.2', '1.1.0', '1.4.0', '1.6.0', '1.8.0', '3.0.0', '3.0.1', '3.3.0', '3.5.0', '4.0.0', '4.0.1']}, 'type'=>'code', 'path'=>'CapabilityStatement.fhirVersion', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/FHIR-version'}},
  'format' => {'type'=>'code', 'path'=>'CapabilityStatement.format', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/mimetypes'}},
  'patchFormat' => {'type'=>'code', 'path'=>'CapabilityStatement.patchFormat', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/mimetypes'}},
  'implementationGuide' => {'type'=>'canonical', 'path'=>'CapabilityStatement.implementationGuide', 'min'=>0, 'max'=>Float::INFINITY},
  'rest' => {'type'=>'CapabilityStatement::Rest', 'path'=>'CapabilityStatement.rest', 'min'=>0, 'max'=>Float::INFINITY},
  'messaging' => {'type'=>'CapabilityStatement::Messaging', 'path'=>'CapabilityStatement.messaging', 'min'=>0, 'max'=>Float::INFINITY},
  'document' => {'type'=>'CapabilityStatement::Document', 'path'=>'CapabilityStatement.document', 'min'=>0, 'max'=>Float::INFINITY}
}

Constants included from FHIR::R4

PRIMITIVES, RESOURCES, TYPES

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

Instance Method Summary collapse

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

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#to_json

Methods included from Hashable

#from_hash, #to_hash

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

#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

#contactObject

0-* [ ContactDetail ]



382
383
384
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 382

def contact
  @contact
end

#containedObject

0-* [ Resource ]



371
372
373
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 371

def contained
  @contained
end

0-1 markdown



387
388
389
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 387

def copyright
  @copyright
end

#dateObject

1-1 dateTime



380
381
382
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 380

def date
  @date
end

#descriptionObject

0-1 markdown



383
384
385
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 383

def description
  @description
end

#documentObject

0-* [ CapabilityStatement::Document ]



399
400
401
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 399

def document
  @document
end

#experimentalObject

0-1 boolean



379
380
381
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 379

def experimental
  @experimental
end

#extensionObject

0-* [ Extension ]



372
373
374
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 372

def extension
  @extension
end

#fhirVersionObject

1-1 code



393
394
395
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 393

def fhirVersion
  @fhirVersion
end

#formatObject

1-* [ code ]



394
395
396
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 394

def format
  @format
end

#idObject

0-1 id



366
367
368
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 366

def id
  @id
end

#implementationObject

0-1 CapabilityStatement::Implementation



392
393
394
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 392

def implementation
  @implementation
end

#implementationGuideObject

0-* [ canonical ]



396
397
398
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 396

def implementationGuide
  @implementationGuide
end

#implicitRulesObject

0-1 uri



368
369
370
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 368

def implicitRules
  @implicitRules
end

#importsObject

0-* [ canonical ]



390
391
392
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 390

def imports
  @imports
end

#instantiatesObject

0-* [ canonical ]



389
390
391
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 389

def instantiates
  @instantiates
end

#jurisdictionObject

0-* [ CodeableConcept ]



385
386
387
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 385

def jurisdiction
  @jurisdiction
end

#kindObject

1-1 code



388
389
390
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 388

def kind
  @kind
end

#languageObject

0-1 code



369
370
371
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 369

def language
  @language
end

#messagingObject

0-* [ CapabilityStatement::Messaging ]



398
399
400
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 398

def messaging
  @messaging
end

#metaObject

0-1 Meta



367
368
369
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 367

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



373
374
375
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 373

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



376
377
378
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 376

def name
  @name
end

#patchFormatObject

0-* [ code ]



395
396
397
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 395

def patchFormat
  @patchFormat
end

#publisherObject

0-1 string



381
382
383
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 381

def publisher
  @publisher
end

#purposeObject

0-1 markdown



386
387
388
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 386

def purpose
  @purpose
end

#restObject

0-* [ CapabilityStatement::Rest ]



397
398
399
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 397

def rest
  @rest
end

#softwareObject

0-1 CapabilityStatement::Software



391
392
393
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 391

def software
  @software
end

#statusObject

1-1 code



378
379
380
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 378

def status
  @status
end

#textObject

0-1 Narrative



370
371
372
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 370

def text
  @text
end

#titleObject

0-1 string



377
378
379
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 377

def title
  @title
end

#urlObject

0-1 uri



374
375
376
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 374

def url
  @url
end

#useContextObject

0-* [ UsageContext ]



384
385
386
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 384

def useContext
  @useContext
end

#versionObject

0-1 string



375
376
377
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 375

def version
  @version
end

Instance Method Details

#resourceTypeObject



401
402
403
# File 'lib/fhir_models/r4/generated/resources/CapabilityStatement.rb', line 401

def resourceType
  'CapabilityStatement'
end