Class: FHIR::R4B::DocumentReference

Inherits:
Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r4b/generated/resources/DocumentReference.rb

Defined Under Namespace

Classes: Content, Context, RelatesTo

Constant Summary collapse

SEARCH_PARAMS =
['authenticator', 'author', 'category', 'contenttype', 'custodian', 'date', 'description', 'encounter', 'event', 'facility', 'format', 'identifier', 'language', 'location', 'patient', 'period', 'related', 'relatesto', 'relation', 'relationship', 'security-label', 'setting', 'status', 'subject', 'type']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'DocumentReference.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'DocumentReference.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'DocumentReference.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'=>'DocumentReference.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'DocumentReference.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'DocumentReference.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'DocumentReference.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'DocumentReference.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'masterIdentifier' => {'type'=>'Identifier', 'path'=>'DocumentReference.masterIdentifier', 'min'=>0, 'max'=>1},
  'identifier' => {'type'=>'Identifier', 'path'=>'DocumentReference.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/document-reference-status'=>['current', 'superseded', 'entered-in-error']}, 'type'=>'code', 'path'=>'DocumentReference.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/document-reference-status'}},
  'docStatus' => {'valid_codes'=>{'http://hl7.org/fhir/composition-status'=>['preliminary', 'final', 'amended', 'entered-in-error']}, 'type'=>'code', 'path'=>'DocumentReference.docStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/composition-status'}},
  'type' => {'valid_codes'=>{'http://loinc.org'=>['100018-1', '100029-8', '11485-0', '11486-8', '11488-4', '11490-0', '11492-6', '11494-2', '11495-9', '11496-7', '11497-5', '11498-3', '11499-1', '11500-6', '11502-2', '11503-0', '11504-8', '11505-5', '11506-3', '11507-1', '11508-9', '11509-7', '11510-5', '11512-1', '11514-7', '11515-4', '11516-2', '11517-0', '11518-8', '11519-6', '11520-4', '11521-2', '11522-0', '11523-8', '11524-6', '11525-3', '11526-1', '11527-9', '11528-7', '11529-5', '11534-5', '11536-0', '11538-6', '11539-4', '11540-2', '11541-0', '11542-8', '11543-6', '15507-7', '15508-5', '17787-3', '18594-2', '18682-5', '18733-6', '18734-4', '18735-1', '18736-9', '18737-7', '18738-5', '18739-3', '18740-1', '18741-9', '18742-7', '18743-5', '18744-3', '18745-0', '18746-8', '18747-6', '18748-4', '18749-2', '18750-0', '18751-8', '18752-6', '18753-4', '18754-2', '18755-9', '18756-7', '18757-5', '18758-3', '18759-1', '18760-9', '18761-7', '18762-5', '18763-3', '18764-1', '18765-8', '18766-6', '18776-5', '18823-5', '18824-3', '18825-0', '18826-8', '18836-7', '18841-7', '18842-5', '19002-5', '19003-3', '19004-1', '24531-6', '24532-4', '24533-2', '24534-0', '24535-7', '24536-5', '24537-3', '24538-1', '24539-9', '24540-7', '24541-5', '24542-3', '24543-1', '24544-9', '24545-6', '24546-4', '24547-2', '24548-0', '24549-8', '24550-6', '24551-4', '24552-2', '24553-0', '24554-8', '24555-5', '24556-3', '24557-1', '24558-9', '24559-7', '24560-5', '24561-3', '24562-1', '24563-9', '24564-7', '24566-2', '24567-0', '24568-8', '24569-6', '24570-4', '24571-2', '24572-0', '24573-8', '24574-6', '24575-3', '24576-1', '24577-9', '24578-7', '24579-5', '24580-3', '24581-1', '24582-9', '24583-7', '24584-5', '24585-2', '24586-0', '24587-8', '24588-6', '24589-4', '24590-2', '24591-0', '24593-6', '24594-4', '24595-1', '24596-9', '24597-7', '24598-5', '24599-3', '24600-9', '24601-7', '24602-5', '24603-3', '24604-1', '24605-8', '24606-6', '24609-0', '24610-8', '24611-6', '24612-4', '24613-2', '24614-0', '24615-7', '24616-5', '24617-3', '24619-9', '24620-7', '24621-5', '24622-3', '24623-1', '24624-9', '24625-6', '24626-4', '24627-2', '24628-0', '24629-8', '24630-6', '24631-4', '24632-2', '24634-8', '24635-5', '24636-3', '24637-1', '24638-9', '24639-7', '24640-5', '24641-3', '24642-1', '24643-9', '24644-7', '24645-4', '24646-2', '24647-0', '24648-8', '24649-6', '24650-4', '24651-2', '24652-0', '24653-8', '24654-6', '24655-3', '24656-1', '24657-9', '24658-7', '24659-5', '24660-3', '24661-1', '24662-9', '24663-7', '24664-5', '24665-2', '24666-0', '24667-8', '24668-6', '24669-4', '24670-2', '24671-0', '24672-8', '24673-6', '24674-4', '24675-1', '24676-9', '24677-7', '24678-5', '24679-3', '24680-1', '24681-9', '24682-7', '24683-5', '24684-3', '24685-0', '24686-8', '24687-6', '24688-4', '24689-2', '24690-0', '24691-8', '24692-6', '24693-4', '24694-2', '24695-9', '24696-7', '24697-5', '24698-3', '24699-1', '24700-7', '24702-3', '24703-1', '24704-9', '24705-6', '24706-4', '24707-2', '24708-0', '24709-8', '24710-6', '24711-4', '24712-2', '24713-0', '24714-8', '24715-5', '24716-3', '24717-1', '24718-9', '24719-7', '24720-5', '24721-3', '24722-1', '24723-9', '24724-7', '24725-4', '24726-2', '24727-0', '24728-8', '24729-6', '24730-4', '24731-2', '24732-0', '24733-8', '24734-6', '24735-3', '24740-3', '24745-2', '24746-0', '24747-8', '24748-6', '24750-2', '24751-0', '24752-8', '24753-6', '24754-4', '24755-1', '24756-9', '24757-7', '24760-1', '24761-9', '24762-7', '24764-3', '24765-0', '24766-8', '24767-6', '24769-2', '24770-0', '24771-8', '24772-6', '24773-4', '24776-7', '24778-3', '24779-1', '24780-9', '24781-7', '24782-5', '24783-3', '24784-1', '24787-4', '24788-2', '24789-0', '24790-8', '24792-4', '24793-2', '24794-0', '24795-7', '24796-5', '24797-3', '24798-1', '24799-9', '24800-5', '24801-3', '24802-1', '24803-9', '24804-7', '24805-4', '24806-2', '24807-0', '24808-8', '24809-6', '24811-2', '24812-0', '24813-8', '24814-6', '24815-3', '24816-1', '24817-9', '24818-7', '24819-5', '24820-3', '24821-1', '24822-9', '24823-7', '24824-5', '24825-2', '24826-0', '24827-8', '24828-6', '24829-4', '24830-2', '24831-0', '24832-8', '24833-6', '24834-4', '24835-1', '24836-9', '24837-7', '24838-5', '24839-3', '24840-1', '24841-9', '24842-7', '24843-5', '24844-3', '24845-0', '24846-8', '24848-4', '24849-2', '24850-0', '24851-8', '24852-6', '24853-4', '24854-2', '24855-9', '24856-7', '24857-5', '24858-3', '24859-1', '24860-9', '24861-7', '24862-5', '24863-3', '24864-1', '24865-8', '24866-6', '24867-4', '24868-2', '24869-0', '24870-8', '24871-6', '24872-4', '24873-2', '24874-0', '24875-7', '24876-5', '24877-3', '24878-1', '24879-9', '24880-7', '24881-5', '24882-3', '24883-1', '24884-9', '24885-6', '24887-2', '24888-0', '24889-8', '24891-4', '24892-2', '24893-0', '24894-8', '24896-3', '24899-7', '24900-3', '24901-1', '24902-9', '24903-7', '24904-5', '24905-2', '24906-0', '24907-8', '24908-6', '24909-4', '24910-2', '24911-0', '24912-8', '24913-6', '24914-4', '24915-1', '24916-9', '24917-7', '24918-5', '24919-3', '24920-1', '24921-9', '24922-7', '24923-5', '24924-3', '24925-0', '24926-8', '24927-6', '24928-4', '24929-2', '24930-0', '24931-8', '24932-6', '24933-4', '24934-2', '24935-9', '24936-7', '24937-5', '24938-3', '24939-1', '24940-9', '24941-7', '24942-5', '24943-3', '24944-1', '24945-8', '24946-6', '24947-4', '24948-2', '24963-1', '24964-9', '24965-6', '24967-2', '24968-0', '24969-8', '24970-6', '24971-4', '24972-2', '24973-0', '24974-8', '24975-5', '24977-1', '24978-9', '24979-7', '24980-5', '24981-3', '24982-1', '24983-9', '24984-7', '24985-4', '24986-2', '24987-0', '24988-8', '24989-6', '24990-4', '24991-2', '24992-0', '24993-8', '24994-6', '24995-3', '24996-1', '24997-9', '24998-7', '24999-5', '25000-1', '25001-9', '25002-7', '25003-5', '25005-0', '25006-8', '25007-6', '25008-4', '25009-2', '25010-0', '25011-8', '25012-6', '25013-4', '25014-2', '25015-9', '25016-7', '25017-5', '25018-3', '25019-1', '25020-9', '25022-5', '25023-3', '25024-1', '25025-8', '25026-6', '25027-4', '25028-2', '25029-0', '25030-8', '25031-6', '25032-4', '25033-2', '25034-0', '25035-7', '25036-5', '25038-1', '25039-9', '25040-7', '25041-5', '25042-3', '25043-1', '25044-9', '25045-6', '25046-4', '25047-2', '25050-6', '25051-4', '25052-2', '25053-0', '25054-8', '25055-5', '25056-3', '25057-1', '25058-9', '25059-7', '25060-5', '25061-3', '25062-1', '25063-9', '25064-7', '25065-4', '25066-2', '25067-0', '25068-8', '25069-6', '25070-4', '25071-2', '25072-0', '25073-8', '25074-6', '25076-1', '25077-9', '25078-7', '25079-5', '25080-3', '25081-1', '26064-6', '26065-3', '26066-1', '26067-9', '26068-7', '26069-5', '26070-3', '26071-1', '26072-9', '26073-7', '26074-5', '26075-2', '26076-0', '26077-8', '26078-6', '26079-4', '26080-2', '26081-0', '26082-8', '26083-6', '26084-4', '26085-1', '26086-9', '26087-7', '26088-5', '26089-3', '26090-1', '26091-9', '26092-7', '26093-5', '26094-3', '26095-0', '26096-8', '26097-6', '26098-4', '26099-2', '26100-8', '26101-6', '26102-4', '26106-5', '26107-3', '26108-1', '26109-9', '26110-7', '26111-5', '26112-3', '26113-1', '26114-9', '26115-6', '26116-4', '26117-2', '26118-0', '26120-6', '26122-2', '26124-8', '26125-5', '26126-3', '26127-1', '26128-9', '26129-7', '26130-5', '26131-3', '26132-1', '26133-9', '26134-7', '26135-4', '26136-2', '26137-0', '26138-8', '26139-6', '26140-4', '26141-2', '26142-0', '26143-8', '26144-6', '26146-1', '26148-7', '26150-3', '26151-1', '26152-9', '26153-7', '26154-5', '26155-2', '26156-0', '26157-8', '26158-6', '26159-4', '26160-2', '26161-0', '26162-8', '26163-6', '26164-4', '26165-1', '26166-9', '26167-7', '26168-5', '26169-3', '26170-1', '26171-9', '26172-7', '26173-5', '26174-3', '26175-0', '26176-8', '26177-6', '26178-4', '26179-2', '26180-0', '26181-8', '26182-6', '26183-4', '26184-2', '26185-9', '26186-7', '26187-5', '26188-3', '26189-1', '26190-9', '26191-7', '26192-5', '26193-3', '26194-1', '26195-8', '26196-6', '26197-4', '26198-2', '26199-0', '26200-6', '26201-4', '26202-2', '26203-0', '26204-8', '26205-5', '26206-3', '26207-1', '26208-9', '26209-7', '26210-5', '26211-3', '26212-1', '26213-9', '26214-7', '26215-4', '26216-2', '26217-0', '26218-8', '26219-6', '26220-4', '26221-2', '26222-0', '26223-8', '26224-6', '26225-3', '26226-1', '26227-9', '26228-7', '26229-5', '26230-3', '26231-1', '26232-9', '26233-7', '26234-5', '26235-2', '26236-0', '26237-8', '26238-6', '26239-4', '26240-2', '26241-0', '26242-8', '26243-6', '26244-4', '26245-1', '26246-9', '26247-7', '26248-5', '26249-3', '26250-1', '26251-9', '26252-7', '26253-5', '26254-3', '26255-0', '26256-8', '26257-6', '26258-4', '26259-2', '26260-0', '26261-8', '26262-6', '26263-4', '26264-2', '26265-9', '26266-7', '26267-5', '26268-3', '26269-1', '26270-9', '26271-7', '26272-5', '26273-3', '26277-4', '26278-2', '26279-0', '26280-8', '26281-6', '26282-4', '26283-2', '26284-0', '26285-7', '26286-5', '26287-3', '26288-1', '26289-9', '26290-7', '26291-5', '26292-3', '26293-1', '26294-9', '26295-6', '26296-4', '26297-2', '26298-0', '26299-8', '26300-4', '26301-2', '26302-0', '26303-8', '26304-6', '26305-3', '26306-1', '26307-9', '26308-7', '26309-5', '26310-3', '26311-1', '26312-9', '26313-7', '26314-5', '26315-2', '26316-0', '26317-8', '26318-6', '26319-4', '26320-2', '26321-0', '26322-8', '26323-6', '26324-4', '26325-1', '26326-9', '26327-7', '26328-5', '26329-3', '26330-1', '26331-9', '26332-7', '26333-5', '26334-3', '26335-0', '26336-8', '26337-6', '26338-4', '26339-2', '26340-0', '26341-8', '26342-6', '26343-4', '26344-2', '26345-9', '26346-7', '26347-5', '26348-3', '26349-1', '26350-9', '26351-7', '26352-5', '26353-3', '26354-1', '26355-8', '26356-6', '26357-4', '26358-2', '26359-0', '26360-8', '26361-6', '26362-4', '26363-2', '26364-0', '26365-7', '26366-5', '26368-1', '26369-9', '26370-7', '26371-5', '26372-3', '26373-1', '26374-9', '26375-6', '26376-4', '26377-2', '26378-0', '26379-8', '26380-6', '26381-4', '26382-2', '26383-0', '26384-8', '26385-5', '26386-3', '26387-1', '26388-9', '26389-7', '26390-5', '26391-3', '26392-1', '26393-9', '26394-7', '26395-4', '26396-2', '26397-0', '26398-8', '26399-6', '26400-2', '26401-0', '26402-8', '28011-5', '28012-3', '28014-9', '28016-4', '28018-0', '28020-6', '28028-9', '28032-1', '28033-9', '28561-9', '28564-3', '28565-0', '28566-8', '28567-6', '28568-4', '28569-2', '28570-0', '28571-8', '28572-6', '28573-4', '28574-2', '28575-9', '28576-7', '28577-5', '28578-3', '28579-1', '28580-9', '28581-7', '28582-5', '28583-3', '28613-8', '28614-6', '28615-3', '28616-1', '28617-9', '28618-7', '28621-1', '28622-9', '28623-7', '28624-5', '28625-2', '28626-0', '28627-8', '28628-6', '28629-4', '28630-2', '28631-0', '28632-8', '28633-6', '28635-1', '28636-9', '28651-8', '28653-4', '28654-2', '28655-9', '28656-7', '29206-0', '29252-4', '29272-2', '29749-9', '29750-7', '29751-5', '29752-3', '29753-1', '29754-9', '29755-6', '29756-4', '29757-2', '29761-4', '30578-9', '30579-7', '30580-5', '30581-3', '30582-1', '30583-9', '30584-7', '30585-4', '30586-2', '30587-0', '30588-8']}, 'type'=>'CodeableConcept', 'path'=>'DocumentReference.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/doc-typecodes'}},
  'category' => {'valid_codes'=>{'http://loinc.org'=>['11369-6', '11485-0', '11486-8', '11488-4', '11506-3', '11543-6', '15508-5', '18726-0', '18761-7', '18842-5', '26436-6', '26441-6', '26442-4', '27895-2', '27896-0', '27897-8', '27898-6', '28570-0', '28619-5', '28634-4', '29749-9', '29750-7', '29751-5', '29752-3', '34109-9', '34117-2', '34121-4', '34122-2', '34133-9', '34140-4', '34748-4', '34775-7', '47039-3', '47042-7', '47045-0', '47046-8', '47049-2', '57017-6', '57016-8', '56445-0', '53576-5', '56447-6', '18748-4', '11504-8', '57133-1']}, 'type'=>'CodeableConcept', 'path'=>'DocumentReference.category', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/doc-classcodes'}},
  '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'=>'DocumentReference.subject', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'instant', 'path'=>'DocumentReference.date', 'min'=>0, 'max'=>1},
  'author' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', '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'=>'DocumentReference.author', 'min'=>0, 'max'=>Float::INFINITY},
  'authenticator' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'DocumentReference.authenticator', 'min'=>0, 'max'=>1},
  'custodian' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'DocumentReference.custodian', 'min'=>0, 'max'=>1},
  'relatesTo' => {'type'=>'DocumentReference::RelatesTo', 'path'=>'DocumentReference.relatesTo', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'string', 'path'=>'DocumentReference.description', 'min'=>0, 'max'=>1},
  'securityLabel' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-Confidentiality'=>['U', 'L', 'M', 'N', 'R', 'V'], 'http://terminology.hl7.org/CodeSystem/v3-ActCode'=>['_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'MST', 'PREGNANT', 'SCA', 'SDV', 'SEX', 'SPI', 'BH', 'COGN', 'DVD', 'EMOTDIS', 'MH', 'PSY', 'PSYTHPN', 'SUD', 'ETHUD', 'OPIOIDUD', 'STD', 'TBOO', 'VIO', 'IDS', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'PATLOC', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'VIP', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PHY', 'PRS', 'COMPT', 'ACOCOMPT', 'CDSSCOMPT', 'CTCOMPT', 'FMCOMPT', 'HRCOMPT', 'LRCOMPT', 'PACOMPT', 'RESCOMPT', 'RMGTCOMPT', 'SecurityPolicy', 'AUTHPOL', 'ACCESSCONSCHEME', 'DELEPOL', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYPOL', 'CPLYCC', 'CPLYCD', 'CPLYCUI', 'CPLYJPP', 'CPLYJSP', 'CPLYOPP', 'CPLYOSP', 'DECLASSIFYLABEL', 'DEID', 'DELAU', 'DOWNGRDLABEL', 'DRIVLABEL', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'LABEL', 'MASK', 'MINEC', 'PERSISTLABEL', 'PRIVMARK', 'CUIMark', 'PSEUD', 'REDACT', 'UPGRDLABEL', 'PrivacyMark', 'ControlledUnclassifiedInformation', 'CONTROLLED', 'CUI', 'CUIHLTH', 'CUIHLTHP', 'CUIP', 'CUIPRVCY', 'CUIPRVCYP', 'CUISP-HLTH', 'CUISP-HLTHP', 'CUISP-PRVCY', 'CUISP-PRVCYP', 'UUI', 'SecurityLabelMark', 'ConfidentialMark', 'COPYMark', 'DeliverToAddresseeOnlyMark', 'RedisclosureProhibitionMark', 'RestrictedConfidentialityMark', 'DRAFTMark', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON'], 'http://terminology.hl7.org/CodeSystem/v3-ObservationValue'=>['_SECALTINTOBV', 'ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', '_SECDATINTOBV', 'CRYTOHASH', 'DIGSIG', '_SECINTCONOBV', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', '_SECINTPRVOBV', '_SECINTPRVABOBV', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', '_SECINTPRVRBOBV', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT', '_SECINTSTOBV', '_ActCoverageAssessmentObservationValue', '_ActFinancialStatusObservationValue', 'ASSET', 'ANNUITY', 'PROP', 'RETACCT', 'TRUST', 'INCOME', 'CHILD', 'DISABL', 'INVEST', 'PAY', 'RETIRE', 'SPOUSAL', 'SUPPLE', 'TAX', 'LIVEXP', 'CLOTH', 'FOOD', 'HEALTH', 'HOUSE', 'LEGAL', 'MORTG', 'RENT', 'SUNDRY', 'TRANS', 'UTIL', 'ELSTAT', 'ADOPT', 'BTHCERT', 'CCOC', 'DRLIC', 'FOSTER', 'MEMBER', 'MIL', 'MRGCERT', 'PASSPORT', 'STUDENRL', 'HLSTAT', 'DISABLE', 'DRUG', 'IVDRG', 'PGNT', 'LIVDEP', 'RELDEP', 'SPSDEP', 'URELDEP', 'LIVSIT', 'ALONE', 'DEPCHD', 'DEPSPS', 'DEPYGCHD', 'FAM', 'RELAT', 'SPS', 'UNREL', 'SOECSTAT', 'ABUSE', 'HMLESS', 'ILGIM', 'INCAR', 'PROB', 'REFUG', 'UNEMPL', '_AllergyTestValue', 'A0', 'A1', 'A2', 'A3', 'A4', '_CompositeMeasureScoring', 'ALLORNONESCR', 'LINEARSCR', 'OPPORSCR', 'WEIGHTSCR', '_CoverageLimitObservationValue', '_CoverageLevelObservationValue', 'ADC', 'CHD', 'DEP', 'DP', 'ECH', 'FLY', 'IND', 'SSP', '_CoverageItemLimitObservationValue', '_CoverageLocationLimitObservationValue', '_CriticalityObservationValue', 'CRITH', 'CRITL', 'CRITU', '_EmploymentStatus', 'Employed', 'NotInLaborForce', 'Unemployed', '_GeneticObservationValue', 'Homozygote', '_MeasurementImprovementNotation', 'DecrIsImp', 'IncrIsImp', '_ObservationMeasureScoring', 'COHORT', 'CONTVAR', 'PROPOR', 'RATIO', '_ObservationMeasureType', 'COMPOSITE', 'EFFICIENCY', 'EXPERIENCE', 'OUTCOME', 'INTERM-OM', 'PRO-PM', 'PROCESS', 'APPROPRIATE', 'RESOURCE', 'STRUCTURE', '_ObservationPopulationInclusion', 'DENEX', 'DENEXCEP', 'DENOM', 'IP', 'IPP', 'MSRPOPL', 'NUMER', 'NUMEX', '_PartialCompletionScale', 'G', 'LE', 'ME', 'MI', 'N', 'S', '_SecurityObservationValue', '_SECCATOBV', '_SECCLASSOBV', '_SECCONOBV', '_SECINTOBV', 'SECTRSTOBV', 'TRSTACCRDOBV', 'TRSTAGREOBV', 'TRSTCERTOBV', 'TRSTFWKOBV', 'TRSTLOAOBV', 'LOAAN', 'LOAAN1', 'LOAAN2', 'LOAAN3', 'LOAAN4', 'LOAAP', 'LOAAP1', 'LOAAP2', 'LOAAP3', 'LOAAP4', 'LOAAS', 'LOAAS1', 'LOAAS2', 'LOAAS3', 'LOAAS4', 'LOACM', 'LOACM1', 'LOACM2', 'LOACM3', 'LOACM4', 'LOAID', 'LOAID1', 'LOAID2', 'LOAID3', 'LOAID4', 'LOANR', 'LOANR1', 'LOANR2', 'LOANR3', 'LOANR4', 'LOARA', 'LOARA1', 'LOARA2', 'LOARA3', 'LOARA4', 'LOATK', 'LOATK1', 'LOATK2', 'LOATK3', 'LOATK4', 'TRSTMECOBV', '_SeverityObservation', 'H', 'L', 'M', '_SubjectBodyPosition', 'LLD', 'PRN', 'RLD', 'SFWL', 'SIT', 'STN', 'SUP', 'RTRD', 'TRD', '_VerificationOutcomeValue', 'ACT', 'ACTPEND', 'ELG', 'INACT', 'INPNDINV', 'INPNDUPD', 'NELG', '_WorkSchedule', 'DS', 'EMS', 'ES', 'NS', 'RSWN', 'RSWON', 'SS', 'VLS', 'VS', '_AnnotationValue', '_ECGAnnotationValue', '_CommonClinicalObservationValue', '_CommonClinicalObservationAssertionValue', '_CommonClinicalObservationResultValue', '_CoverageChemicalDependencyValue', '_IndividualCaseSafetyReportValueDomains', '_CaseSeriousnessCriteria', '_DeviceManufacturerEvaluationInterpretation', '_DeviceManufacturerEvaluationMethod', '_DeviceManufacturerEvaluationResult', '_PertinentReactionRelatedness', '_ProductCharacterization', '_ReactionActionTaken', '_SubjectReaction', '_SubjectReactionEmphasis', '_SubjectReactionOutcome', '_InjuryObservationValue', '_IntoleranceValue', '_IssueTriggerObservationValue', '_OtherIndicationValue', '_IndicationValue', '_DiagnosisValue', '_SymptomValue'], 'http://terminology.hl7.org/CodeSystem/v3-ActReason'=>['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'], 'http://terminology.hl7.org/CodeSystem/v3-ActUSPrivacyLaw'=>['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332', 'Title38Part1']}, 'type'=>'CodeableConcept', 'path'=>'DocumentReference.securityLabel', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/security-labels'}},
  'content' => {'type'=>'DocumentReference::Content', 'path'=>'DocumentReference.content', 'min'=>1, 'max'=>Float::INFINITY},
  'context' => {'type'=>'DocumentReference::Context', 'path'=>'DocumentReference.context', 'min'=>0, 'max'=>1}
}

Constants included from FHIR::R4

FHIR::R4::PRIMITIVES, FHIR::R4::RESOURCES, FHIR::R4::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

Constants included from FHIR::R4B

PRIMITIVES, RESOURCES, TYPES

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 included from FHIR::R4B

#fhir_version_string, #versioned_fhir_module

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

#authenticatorObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



123
124
125
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 123

def authenticator
  @authenticator
end

#authorObject

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



122
123
124
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 122

def author
  @author
end

#categoryObject

0-* [ CodeableConcept ]



119
120
121
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 119

def category
  @category
end

#containedObject

0-* [ Resource ]



111
112
113
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 111

def contained
  @contained
end

#contentObject

1-* [ DocumentReference::Content ]



128
129
130
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 128

def content
  @content
end

#contextObject

0-1 DocumentReference::Context



129
130
131
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 129

def context
  @context
end

#custodianObject

0-1 Reference(Organization)



124
125
126
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 124

def custodian
  @custodian
end

#dateObject

0-1 instant



121
122
123
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 121

def date
  @date
end

#descriptionObject

0-1 string



126
127
128
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 126

def description
  @description
end

#docStatusObject

0-1 code



117
118
119
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 117

def docStatus
  @docStatus
end

#extensionObject

0-* [ Extension ]



112
113
114
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 112

def extension
  @extension
end

#idObject

0-1 id



106
107
108
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 106

def id
  @id
end

#identifierObject

0-* [ Identifier ]



115
116
117
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 115

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



108
109
110
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 108

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



109
110
111
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 109

def language
  @language
end

#masterIdentifierObject

0-1 Identifier



114
115
116
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 114

def masterIdentifier
  @masterIdentifier
end

#metaObject

0-1 Meta



107
108
109
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 107

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



113
114
115
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 113

def modifierExtension
  @modifierExtension
end

#relatesToObject

0-* [ DocumentReference::RelatesTo ]



125
126
127
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 125

def relatesTo
  @relatesTo
end

#securityLabelObject

0-* [ CodeableConcept ]



127
128
129
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 127

def securityLabel
  @securityLabel
end

#statusObject

1-1 code



116
117
118
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 116

def status
  @status
end

#subjectObject

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



120
121
122
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 120

def subject
  @subject
end

#textObject

0-1 Narrative



110
111
112
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 110

def text
  @text
end

#typeObject

0-1 CodeableConcept



118
119
120
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 118

def type
  @type
end

Instance Method Details

#resourceTypeObject



131
132
133
# File 'lib/fhir_models/r4b/generated/resources/DocumentReference.rb', line 131

def resourceType
  'DocumentReference'
end