Class: FHIR::DocumentManifest

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

Defined Under Namespace

Classes: Content, Related

Constant Summary collapse

SEARCH_PARAMS =
['identifier', 'patient', 'type', 'author', 'content-ref', 'created', 'description', 'recipient', 'related-id', 'related-ref', 'source', 'status', 'subject']
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' => {'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', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-SP', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, '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},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/document-reference-status'=>['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'}},
  'type' => {'valid_codes'=>{'http://loinc.org'=>['55107-7', '74155-3', '51851-4', '67851-6', '34744-3', '34873-0', '68552-9', '67852-4', '68471-2', '68483-7', '64058-1', '64070-6', '64053-2', '64054-0', '34862-3', '64062-3', '64078-9', '64066-4', '64060-7', '64074-8', '51849-8', '34763-3', '47039-3', '34094-3', '57830-2', '48765-2', '74152-0', '61359-6', '57055-6', '56446-8', '51848-0', '68814-3', '64064-9', '51847-2', '69981-9', '74154-6', '71230-7', '72134-0', '55108-5', '73568-8', '74144-7', '55109-3', '34095-0', '34096-8', '63485-7', '55110-1', '34098-4', '34097-6', '47040-1', '47041-9', '59284-0', '11488-4', '34099-2', '34756-7', '34758-3', '34760-9', '34879-7', '34761-7', '34764-1', '34776-5', '34779-9', '34781-5', '72555-6', '34783-1', '34785-6', '34795-5', '34798-9', '34797-1', '34800-3', '34777-3', '34803-7', '34855-7', '34805-2', '34807-8', '34810-2', '34812-8', '34814-4', '34816-9', '34820-1', '34822-7', '34824-3', '34826-8', '34828-4', '34788-0', '34791-4', '34103-2', '34831-8', '73575-3', '34833-4', '34837-5', '34839-1', '34841-7', '34845-8', '34847-4', '34849-0', '34851-6', '34853-2', '51846-4', '34104-0', '68619-6', '68633-7', '68639-4', '68486-0', '68648-5', '68651-9', '68661-8', '64072-2', '68551-1', '68670-9', '64056-5', '68681-6', '68685-7', '68694-9', '68705-3', '68566-9', '68570-1', '68575-0', '68716-0', '68469-6', '68727-7', '68892-9', '68897-8', '68746-7', '68757-4', '68765-7', '68869-7', '68874-7', '68787-1', '68879-6', '68802-8', '68864-8', '68812-7', '68821-8', '68586-7', '68590-9', '68597-4', '68837-4', '34102-4', '64080-5', '68846-5', '64068-0', '64076-3', '68852-3', '34100-8', '51854-8', '51845-6', '34749-2', '34101-6', '47042-7', '34864-9', '34869-8', '34865-6', '34866-4', '34872-2', '55111-9', '74148-8', '64297-5', '74208-0', '51899-3', '74150-4', '74151-2', '47048-4', '70004-7', '68611-3', '68625-3', '68635-2', '68641-0', '68652-7', '68673-3', '68687-3', '68556-0', '68696-4', '68557-8', '68577-6', '68708-7', '68718-6', '68748-3', '68767-3', '68778-0', '68794-7', '68855-6', '68804-4', '68604-8', '68640-2', '68706-1', '68788-9', '68822-6', '74213-0', '60280-5', '8653-8', '18842-5', '68612-1', '68626-1', '68642-8', '68653-5', '68663-4', '68674-1', '68688-1', '68697-2', '34745-0', '68558-6', '68572-7', '68578-4', '68709-5', '68719-4', '68733-5', '68738-4', '68749-1', '68768-1', '68773-1', '68779-8', '68795-4', '68856-4', '68805-1', '68815-0', '68591-7', '68831-7', '59259-2', '68841-6', '59258-4', '34105-7', '68823-4', '34106-5', '55112-7', '34895-3', '34897-9', '67854-0', '68477-9', '68605-5', '67855-7', '34902-7', '34107-3', '34856-5', '34859-9', '34860-7', '70005-4', '64142-3', '34857-3', '72267-8', '47420-5', '47043-5', '34787-2', '34790-6', '34793-0', '34843-3', '34114-9', '64290-0', '64291-8', '57024-2', '64289-2', '51897-7', '56444-3', '74146-2', '34117-2', '68614-7', '68622-0', '68628-7', '68637-8', '68644-4', '68655-0', '68665-9', '68676-6', '68683-2', '68690-7', '68699-8', '68560-2', '68573-5', '68580-0', '68711-1', '68721-0', '68731-9', '68735-0', '68740-0', '68751-7', '68760-8', '68770-7', '68775-6', '68781-4', '68791-3', '68797-0', '68858-0', '68807-7', '68817-6', '28626-0', '68592-5', '68833-3', '68599-0', '68843-2', '34774-0', '68849-9', '11492-6', '34115-6', '68825-9', '67856-5', '34116-4', '74264-3', '74149-6', '28636-9', '28581-7', '68553-7', '18740-1', '47044-3', '64065-6', '68470-4', '34119-8', '34120-6', '34118-0', '74209-8', '74188-4', '74194-2', '74191-8', '74190-0', '74193-4', '74192-6', '74197-5', '74187-6', '74196-7', '74195-9', '74189-2', '34121-4', '34896-1', '34899-5', '55113-5', '57056-4', '57057-2', '64299-1', '51852-2', '68684-0', '68866-3', '68593-3', '68609-7', '68620-4', '68624-6', '68634-5', '68649-3', '68662-6', '68671-7', '68555-2', '68682-4', '68686-5', '68695-6', '68707-9', '68567-7', '68571-9', '68576-8', '68585-9', '68717-8', '68728-5', '68893-7', '68898-6', '68747-5', '68758-2', '68766-5', '68870-5', '68875-4', '68789-7', '68880-4', '68803-6', '68865-5', '68813-5', '68826-7', '68598-2', '68838-2', '68847-3', '68853-1', '57058-0', '64285-0', '60590-7', '60593-1', '70006-2', '68587-5', '61357-0', '61356-2', '56445-0', '74145-4', '74147-0', '59268-3', '34109-9', '68615-4', '68621-2', '68629-5', '34750-0', '68636-0', '34752-6', '68645-1', '68650-1', '68656-8', '34754-2', '28618-7', '34759-1', '68666-7', '34861-5', '34878-9', '34898-7', '34762-5', '34765-8', '34767-4', '34768-2', '34769-0', '34780-7', '34782-3', '34794-8', '34784-9', '34786-4', '68677-4', '34796-3', '34799-7', '34905-0', '68700-4', '34746-8', '34801-1', '34778-1', '34802-9', '28578-3', '34806-0', '34808-6', '34811-0', '34813-6', '34815-1', '34817-7', '34858-1', '34906-8', '51855-5', '68722-8', '68889-5', '68894-5', '68741-8', '68752-5', '68761-6', '68867-1', '68871-3', '68782-2', '68854-9', '68876-2', '68881-2', '68859-8', '68882-0', '68818-4', '34821-9', '34823-5', '28579-1', '34827-6', '34829-2', '68834-1', '28628-6', '34792-2', '34830-0', '34832-6', '34834-2', '68839-0', '34838-3', '34840-9', '28653-4', '28571-8', '34846-6', '34848-2', '34773-2', '68848-1', '34852-4', '34111-5', '57053-1', '34112-3', '64069-8', '68827-5', '64077-1', '64073-0', '34113-1', '34108-1', '34753-4', '34110-7', '34766-6', '68601-4', '34850-8', '34854-0', '68672-5', '34748-4', '34139-6', '34844-1', '74166-0', '74156-1', '64300-7', '60591-5', '60592-3', '57834-4', '48768-6', '53576-5', '64296-7', '72170-4', '56447-6', '64295-9', '51900-9', '67860-7', '67861-5', '34875-5', '34880-5', '68610-5', '68606-3', '34867-2', '64298-3', '74207-2', '67862-3', '68616-2', '68623-8', '34751-8', '68638-6', '68657-6', '68550-3', '68678-2', '68691-5', '68701-2', '34747-6', '68562-8', '34809-4', '68581-8', '68713-7', '68723-6', '68732-7', '68736-8', '68742-6', '68753-3', '68762-4', '68771-5', '68776-4', '68783-0', '68792-1', '68798-8', '68860-6', '68808-5', '68819-2', '68594-1', '68835-8', '68844-0', '34876-3', '34881-3', '68850-7', '34123-0', '68828-3', '57832-8', '64288-4', '57829-4', '57833-6', '57831-0', '57828-6', '73709-8', '55114-3', '57017-6', '57016-8', '64293-4', '68630-3', '68658-4', '68667-5', '68692-3', '68702-0', '68563-6', '68714-5', '68724-4', '68890-3', '68895-2', '68743-4', '68754-1', '68868-9', '68872-1', '68784-8', '68877-0', '68799-6', '68861-4', '68809-3', '68820-0', '68836-6', '68851-5', '68729-3', '68829-1', '68607-1', '11506-3', '68617-0', '68631-1', '68646-9', '28580-9', '68659-2', '28617-9', '68668-3', '34900-1', '68554-5', '72556-4', '34904-3', '68679-0', '68693-1', '68703-8', '28623-7', '28575-9', '68564-4', '11507-1', '68574-3', '68582-6', '68725-1', '68891-1', '68896-0', '68744-2', '68755-8', '68763-2', '68873-9', '68785-5', '68878-8', '68800-2', '68862-2', '68810-1', '11508-9', '18733-6', '28569-2', '68595-8', '11509-7', '28627-8', '11510-5', '68840-8', '28656-7', '11512-1', '15507-7', '34130-5', '68472-0', '68485-2', '68484-5', '64059-9', '64071-4', '68473-8', '64055-7', '68475-3', '68830-9', '64063-1', '64079-7', '68478-7', '68479-5', '64057-3', '64067-2', '68480-3', '64061-5', '64075-5', '68481-1', '70238-1', '34126-3', '34131-3', '34124-8', '34128-9', '34127-1', '34901-9', '34132-1', '34129-7', '34125-5', '74468-0', '74465-6', '73569-6', '64294-2', '64284-3', '57133-1', '57170-3', '57178-6', '57134-9', '57135-6', '57136-4', '57137-2', '69438-0', '57138-0', '57139-8', '57171-1', '57172-9', '57141-4', '57142-2', '57143-0', '57144-8', '57146-3', '57145-5', '57173-7', '57179-4', '57147-1', '57148-9', '57149-7', '57150-5', '57151-3', '57174-5', '57175-2', '57176-0', '57152-1', '57153-9', '57154-7', '57155-4', '57156-2', '57157-0', '57158-8', '57177-8', '57159-6', '57160-4', '57162-0', '57163-8', '57164-6', '57165-3', '57166-1', '57167-9', '57168-7', '57169-5', '64292-6', '55115-0', '70007-0', '68476-1', '68474-6', '71482-4', '51898-5', '74153-8', '59282-4', '47045-0', '68608-9', '61143-4', '68602-2', '68603-0', '47046-8', '34133-9', '74211-4', '48764-5', '47047-6', '67865-6', '34135-4', '34136-2', '34134-7', '61358-8', '11504-8', '34868-0', '34818-5', '34870-6', '28624-5', '34874-8', '34877-1', '34137-0', '34138-8', '18761-7', '68618-8', '68632-9', '68647-7', '68660-0', '34755-9', '68669-1', '34770-8', '68680-8', '68704-6', '68565-1', '68569-3', '68887-9', '68583-4', '68715-2', '68726-9', '68737-6', '68745-9', '68756-6', '68764-0', '68772-3', '68777-2', '68786-3', '68793-9', '68801-0', '68863-0', '68811-9', '68883-8', '68596-6', '68482-9', '68884-6', '59281-6', '74198-3', '54094-8', '57054-9', '38932-0', '38933-8', '38934-6', '38936-1', '38937-9', '38938-7', '38939-5', '38940-3', '38941-1', '38942-9', '38943-7', '38944-5', '38956-9', '38946-0', '38949-4', '38950-2', '38966-8', '38951-0', '38952-8', '38953-6', '38954-4', '38969-2', '38955-1', '38957-7', '38958-5', '38959-3', '38960-1', '38961-9', '38962-7', '38963-5', '38964-3', '38965-0', '38967-6', '38968-4', '38947-8', '38935-3', '38945-2', '38948-6', '38972-6', '38980-9', '38970-0', '38971-8', '38973-4', '38979-1', '38974-2', '38975-9', '38976-7', '38977-5', '38978-3', '38981-7', '38982-5', '38983-3', '38984-1', '38985-8', '38986-6', '38987-4', '38988-2', '59283-2', '52027-0', '24754-4', '26376-4', '26377-2', '26378-0', '53243-2', '11485-0', '30649-8', '30641-5', '36760-7', '36762-3', '69067-7', '24543-1', '24580-3', '26368-1', '26369-9', '24614-0', '24615-7', '35881-2', '24698-3', '36763-1', '24766-8', '26370-7', '26371-5', '26372-3', '24832-8', '30648-0', '25081-1', '25012-6', '26373-1', '26374-9', '26375-6', '43793-9', '43794-7', '43795-4', '43792-1', '25064-7', '30836-1', '37426-4', '30640-7', '35882-0', '52032-0', '36764-9', '69135-2', '69253-3', '36765-6', '35883-8', '36766-4', '24568-8', '28615-3', '52065-0', '18743-5', '36761-5', '33720-4', '52041-1', '38268-9', '43562-8', '43563-6', '48807-2', '24631-4', '53242-4', '54095-5', '11486-8', '71428-7', '71421-2', '71388-3', '71406-3', '25062-1', '24611-6', '60570-9', '60571-7', '52042-9', '25038-1', '29751-5', '50007-4', '47523-6', '47530-1', '47521-0', '50971-1', '47528-5', '47527-7', '47522-8', '47520-2', '47524-4', '47529-3', '33718-8', '47525-1', '47526-9', '52040-3', '29749-9', '28622-9', '28574-2', '29761-4', '11490-0', '28655-9', '53245-7', '53247-3', '24684-3', '24887-2', '24553-0', '24554-8', '52071-8', '67796-3', '52043-7', '30600-1', '24923-5', '52030-4', '52031-2', '52044-5', '29272-2', '52064-3', '57129-9', '52045-2', '52033-8', '51969-4', '46365-3', '44228-5', '44156-8', '44101-4', '44155-0', '58747-7', '58743-6', '35884-6', '42280-8', '42705-4', '42281-6', '42285-7', '44167-5', '42282-4', '42133-9', '39361-1', '69120-4', '69122-0', '42286-5', '44168-3', '44169-1', '42284-0', '69123-8', '43502-4', '44166-7', '30578-9', '39451-0', '35885-3', '39620-0', '39623-4', '39622-6', '39621-8', '72533-3', '72532-5', '24623-1', '42688-2', '35886-1', '24598-5', '43756-6', '69278-0', '69292-1', '69296-2', '35888-7', '24771-8', '48434-5', '24811-2', '24822-9', '69287-1', '24837-7', '39452-8', '24856-7', '24863-3', '30703-3', '37491-8', '24662-9', '37887-7', '24973-0', '42134-7', '25043-1', '30878-3', '36926-4']}, 'type'=>'CodeableConcept', 'path'=>'DocumentManifest.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/c80-doc-typecodes'}},
  '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},
  'created' => {'type'=>'dateTime', 'path'=>'DocumentManifest.created', 'min'=>0, 'max'=>1},
  '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},
  '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},
  'source' => {'type'=>'uri', 'path'=>'DocumentManifest.source', 'min'=>0, 'max'=>1},
  '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

Instance Method Summary collapse

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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

#authorObject

0-* [ Reference(Practitioner|Organization|Device|Patient|RelatedPerson) ]



88
89
90
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 88

def author
  @author
end

#containedObject

0-* [ Resource ]



79
80
81
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 79

def contained
  @contained
end

#contentObject

1-* [ DocumentManifest::Content ]



92
93
94
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 92

def content
  @content
end

#createdObject

0-1 dateTime



87
88
89
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 87

def created
  @created
end

#descriptionObject

0-1 string



91
92
93
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 91

def description
  @description
end

#extensionObject

0-* [ Extension ]



80
81
82
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 80

def extension
  @extension
end

#idObject

0-1 id



74
75
76
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 74

def id
  @id
end

#identifierObject

0-* [ Identifier ]



83
84
85
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 83

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



76
77
78
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 76

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



77
78
79
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 77

def language
  @language
end

#masterIdentifierObject

0-1 Identifier



82
83
84
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 82

def masterIdentifier
  @masterIdentifier
end

#metaObject

0-1 Meta



75
76
77
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 75

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



81
82
83
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 81

def modifierExtension
  @modifierExtension
end

#recipientObject

0-* [ Reference(Patient|Practitioner|RelatedPerson|Organization) ]



89
90
91
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 89

def recipient
  @recipient
end

0-* [ DocumentManifest::Related ]



93
94
95
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 93

def related
  @related
end

#sourceObject

0-1 uri



90
91
92
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 90

def source
  @source
end

#statusObject

1-1 code



84
85
86
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 84

def status
  @status
end

#subjectObject

0-1 Reference(Patient|Practitioner|Group|Device)



86
87
88
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 86

def subject
  @subject
end

#textObject

0-1 Narrative



78
79
80
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 78

def text
  @text
end

#typeObject

0-1 CodeableConcept



85
86
87
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 85

def type
  @type
end

Instance Method Details

#resourceTypeObject



95
96
97
# File 'lib/fhir_models/fhir/resources/DocumentManifest.rb', line 95

def resourceType
  'DocumentManifest'
end