Class: FHIR::R4B::Composition

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

Defined Under Namespace

Classes: Attester, Event, RelatesTo, Section

Constant Summary collapse

SEARCH_PARAMS =
['attester', 'author', 'category', 'confidentiality', 'context', 'date', 'encounter', 'entry', 'identifier', 'patient', 'period', 'related-id', 'related-ref', 'section', 'status', 'subject', 'title', 'type']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'Composition.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'Composition.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'Composition.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'=>'Composition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'Composition.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'Composition.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'Composition.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Composition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'Composition.identifier', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/composition-status'=>['preliminary', 'final', 'amended', 'entered-in-error']}, 'type'=>'code', 'path'=>'Composition.status', 'min'=>1, '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'=>'Composition.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/doc-typecodes'}},
  'category' => {'valid_codes'=>{'http://loinc.org'=>['11488-4', '11492-6', '11504-8', '11506-3', '11507-1', '11508-9', '11509-7', '11510-5', '11512-1', '15507-7', '18733-6', '18740-1', '18761-7', '18842-5', '28569-2', '28571-8', '28575-9', '28578-3', '28579-1', '28580-9', '28581-7', '28617-9', '28618-7', '28623-7', '28624-5', '28626-0', '28627-8', '28628-6', '28636-9', '28653-4', '28656-7', '34094-3', '34095-0', '34096-8', '34097-6', '34098-4', '34099-2', '34100-8', '34101-6', '34102-4', '34103-2', '34104-0', '34105-7', '34106-5', '34107-3', '34108-1', '34109-9', '34110-7', '34111-5', '34112-3', '34113-1', '34114-9', '34115-6', '34116-4', '34117-2', '34118-0', '34119-8', '34120-6', '34121-4', '34123-0', '34124-8', '34125-5', '34126-3', '34127-1', '34128-9', '34129-7', '34130-5', '34131-3', '34132-1', '34133-9', '34134-7', '34135-4', '34136-2', '34137-0', '34138-8', '34139-6', '34744-3', '34745-0', '34746-8', '34747-6', '34748-4', '34749-2', '34750-0', '34751-8', '34752-6', '34753-4', '34754-2', '34755-9', '34756-7', '34758-3', '34759-1', '34760-9', '34761-7', '34762-5', '34763-3', '34764-1', '34765-8', '34766-6', '34767-4', '34768-2', '34769-0', '34770-8', '34773-2', '34774-0', '34776-5', '34777-3', '34778-1', '34779-9', '34780-7', '34781-5', '34782-3', '34783-1', '34784-9', '34785-6', '34786-4', '34787-2', '34788-0', '34790-6', '34791-4', '34792-2', '34793-0', '34794-8', '34795-5', '34796-3', '34797-1', '34798-9', '34799-7', '34800-3', '34801-1', '34802-9', '34803-7', '34805-2', '34806-0', '34807-8', '34808-6', '34809-4', '34810-2', '34811-0', '34812-8', '34813-6', '34814-4', '34815-1', '34816-9', '34817-7', '34818-5', '34820-1', '34821-9', '34822-7', '34823-5', '34824-3', '34826-8', '34827-6', '34828-4', '34829-2', '34830-0', '34831-8', '34832-6', '34833-4', '34834-2', '34837-5', '34838-3', '34839-1', '34840-9', '34841-7', '34843-3', '34844-1', '34845-8', '34846-6', '34847-4', '34848-2', '34849-0', '34850-8', '34851-6', '34852-4', '34853-2', '34854-0', '34855-7', '34856-5', '34857-3', '34858-1', '34859-9', '34860-7', '34861-5', '34862-3', '34864-9', '34865-6', '34866-4', '34867-2', '34868-0', '34869-8', '34870-6', '34872-2', '34873-0', '34874-8', '34875-5', '34876-3', '34877-1', '34878-9', '34879-7', '34880-5', '34881-3', '34895-3', '34896-1', '34897-9', '34898-7', '34899-5', '34900-1', '34901-9', '34902-7', '34904-3', '34905-0', '34906-8', '47039-3', '47040-1', '47041-9', '47042-7', '47043-5', '47044-3', '47046-8', '47047-6', '47420-5', '51845-6', '51846-4', '51847-2', '51848-0', '51849-8', '51851-4', '51852-2', '51854-8', '51855-5', '51900-9', '54094-8', '56447-6', '57053-1', '57054-9', '57055-6', '57056-4', '57057-2', '57058-0', '57133-1', '57134-9', '57135-6', '57136-4', '57137-2', '57138-0', '57139-8', '57141-4', '57142-2', '57143-0', '57144-8', '57145-5', '57146-3', '57147-1', '57148-9', '57149-7', '57150-5', '57151-3', '57152-1', '57153-9', '57154-7', '57155-4', '57156-2', '57157-0', '57158-8', '57159-6', '57160-4', '57162-0', '57163-8', '57164-6', '57165-3', '57166-1', '57167-9', '57168-7', '57169-5', '57170-3', '57171-1', '57172-9', '57173-7', '57174-5', '57175-2', '57176-0', '57177-8', '57178-6', '57179-4', '59258-4', '59259-2', '59283-2', '59284-0', '60280-5', '61143-4', '61358-8', '61359-6', '64053-2', '64054-0', '64055-7', '64056-5', '64057-3', '64058-1', '64059-9', '64060-7', '64061-5', '64062-3', '64063-1', '64064-9', '64065-6', '64066-4', '64067-2', '64068-0', '64069-8', '64070-6', '64071-4', '64072-2', '64073-0', '64074-8', '64075-5', '64076-3', '64077-1', '64078-9', '64079-7', '64080-5', '64142-3', '64284-3', '64288-4', '64290-0', '64291-8', '64292-6', '64293-4', '64294-2', '64295-9', '67851-6', '67852-4', '67854-0', '67855-7', '67856-5', '67860-7', '67861-5', '67862-3', '67865-6', '68469-6', '68470-4', '68471-2', '68472-0', '68473-8', '68474-6', '68475-3', '68476-1', '68477-9', '68478-7', '68479-5', '68480-3', '68481-1', '68482-9', '68483-7', '68484-5', '68485-2', '68486-0', '68550-3', '68551-1', '68552-9', '68553-7', '68554-5', '68555-2', '68556-0', '68557-8', '68558-6', '68560-2', '68562-8', '68563-6', '68564-4', '68565-1', '68566-9', '68567-7', '68569-3', '68570-1', '68571-9', '68572-7', '68573-5', '68574-3', '68575-0', '68576-8', '68577-6', '68578-4', '68580-0', '68581-8', '68582-6', '68583-4', '68585-9', '68586-7', '68587-5', '68590-9', '68591-7', '68592-5', '68593-3', '68594-1', '68595-8', '68596-6', '68597-4', '68598-2', '68599-0', '68601-4', '68602-2', '68603-0', '68604-8', '68605-5', '68606-3', '68607-1', '68608-9', '68609-7', '68610-5', '68611-3', '68612-1', '68614-7', '68615-4', '68616-2', '68617-0', '68618-8', '68619-6', '68620-4', '68621-2', '68622-0', '68623-8', '68624-6', '68625-3', '68626-1', '68628-7', '68629-5', '68630-3', '68631-1', '68632-9', '68633-7', '68634-5', '68635-2', '68636-0', '68637-8', '68638-6', '68639-4', '68640-2', '68641-0', '68642-8', '68644-4', '68645-1', '68646-9', '68647-7', '68648-5', '68649-3', '68650-1', '68651-9', '68652-7', '68653-5', '68655-0', '68656-8', '68657-6', '68658-4', '68659-2', '68660-0', '68661-8', '68662-6', '68663-4', '68665-9', '68666-7', '68667-5', '68668-3', '68669-1', '68670-9', '68671-7', '68672-5', '68673-3', '68674-1', '68676-6', '68677-4', '68678-2', '68679-0', '68680-8', '68681-6', '68682-4', '68683-2', '68684-0', '68685-7', '68686-5', '68687-3', '68688-1', '68690-7', '68691-5', '68692-3', '68693-1', '68694-9', '68695-6', '68696-4', '68697-2', '68699-8', '68700-4', '68701-2', '68702-0', '68703-8', '68704-6', '68705-3', '68706-1', '68707-9', '68708-7', '68709-5', '68711-1', '68713-7', '68714-5', '68715-2', '68716-0', '68717-8', '68718-6', '68719-4', '68721-0', '68722-8', '68723-6', '68724-4', '68725-1', '68726-9', '68727-7', '68728-5', '68729-3', '68731-9', '68732-7', '68733-5', '68735-0', '68736-8', '68737-6', '68738-4', '68740-0', '68741-8', '68742-6', '68743-4', '68744-2', '68745-9', '68746-7', '68747-5', '68748-3', '68749-1', '68751-7', '68752-5', '68753-3', '68754-1', '68755-8', '68756-6', '68757-4', '68758-2', '68760-8', '68761-6', '68762-4', '68763-2', '68764-0', '68765-7', '68766-5', '68767-3', '68768-1', '68770-7', '68771-5', '68772-3', '68773-1', '68775-6', '68776-4', '68777-2', '68778-0', '68779-8', '68781-4', '68782-2', '68783-0', '68784-8', '68785-5', '68786-3', '68787-1', '68788-9', '68789-7', '68791-3', '68792-1', '68793-9', '68794-7', '68795-4', '68797-0', '68798-8', '68799-6', '68800-2', '68801-0', '68802-8', '68803-6', '68804-4', '68805-1', '68807-7', '68808-5', '68809-3', '68810-1', '68811-9', '68812-7', '68813-5', '68814-3', '68815-0', '68817-6', '68818-4', '68819-2', '68820-0', '68821-8', '68822-6', '68823-4', '68825-9', '68826-7', '68827-5', '68828-3', '68829-1', '68830-9', '68831-7', '68833-3', '68834-1', '68835-8', '68836-6', '68837-4', '68838-2', '68839-0', '68840-8', '68841-6', '68843-2', '68844-0', '68846-5', '68847-3', '68848-1', '68849-9', '68850-7', '68851-5', '68852-3', '68853-1', '68854-9', '68855-6', '68856-4', '68858-0', '68859-8', '68860-6', '68861-4', '68862-2', '68863-0', '68864-8', '68865-5', '68866-3', '68867-1', '68868-9', '68869-7', '68870-5', '68871-3', '68872-1', '68873-9', '68874-7', '68875-4', '68876-2', '68877-0', '68878-8', '68879-6', '68880-4', '68881-2', '68882-0', '68883-8', '68884-6', '68887-9', '68889-5', '68890-3', '68891-1', '68892-9', '68893-7', '68894-5', '68895-2', '68896-0', '68897-8', '68898-6', '69981-9', '70004-7', '70005-4', '70006-2', '70007-0', '70238-1', '72555-6', '72556-4', '73575-3', '73709-8', '74144-7', '74145-4', '74146-2', '74147-0', '74148-8', '74149-6', '74150-4', '74151-2', '74152-0', '74153-8', '74154-6', '74155-3', '74213-0', '74282-5', '8653-8']}, 'type'=>'CodeableConcept', 'path'=>'Composition.category', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-LoincDocumentOntologyInternational'}},
  'subject' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Composition.subject', 'min'=>0, 'max'=>1},
  'encounter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Encounter'], 'type'=>'Reference', 'path'=>'Composition.encounter', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'Composition.date', 'min'=>1, 'max'=>1},
  'author' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Composition.author', 'min'=>1, 'max'=>Float::INFINITY},
  'title' => {'type'=>'string', 'path'=>'Composition.title', 'min'=>1, 'max'=>1},
  'confidentiality' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-Confidentiality'=>['L', 'M', 'N', 'R', 'U', 'V']}, 'type'=>'code', 'path'=>'Composition.confidentiality', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-Confidentiality'}},
  'attester' => {'type'=>'Composition::Attester', 'path'=>'Composition.attester', 'min'=>0, 'max'=>Float::INFINITY},
  'custodian' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Composition.custodian', 'min'=>0, 'max'=>1},
  'relatesTo' => {'type'=>'Composition::RelatesTo', 'path'=>'Composition.relatesTo', 'min'=>0, 'max'=>Float::INFINITY},
  'event' => {'type'=>'Composition::Event', 'path'=>'Composition.event', 'min'=>0, 'max'=>Float::INFINITY},
  'section' => {'type'=>'Composition::Section', 'path'=>'Composition.section', 'min'=>0, 'max'=>Float::INFINITY}
}

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

#attesterObject

0-* [ Composition::Attester ]



158
159
160
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 158

def attester
  @attester
end

#authorObject

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



155
156
157
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 155

def author
  @author
end

#categoryObject

0-* [ CodeableConcept ]



151
152
153
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 151

def category
  @category
end

#confidentialityObject

0-1 code



157
158
159
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 157

def confidentiality
  @confidentiality
end

#containedObject

0-* [ Resource ]



145
146
147
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 145

def contained
  @contained
end

#custodianObject

0-1 Reference(Organization)



159
160
161
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 159

def custodian
  @custodian
end

#dateObject

1-1 dateTime



154
155
156
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 154

def date
  @date
end

#encounterObject

0-1 Reference(Encounter)



153
154
155
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 153

def encounter
  @encounter
end

#eventObject

0-* [ Composition::Event ]



161
162
163
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 161

def event
  @event
end

#extensionObject

0-* [ Extension ]



146
147
148
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 146

def extension
  @extension
end

#idObject

0-1 id



140
141
142
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 140

def id
  @id
end

#identifierObject

0-1 Identifier



148
149
150
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 148

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



142
143
144
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 142

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



143
144
145
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 143

def language
  @language
end

#metaObject

0-1 Meta



141
142
143
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 141

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



147
148
149
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 147

def modifierExtension
  @modifierExtension
end

#relatesToObject

0-* [ Composition::RelatesTo ]



160
161
162
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 160

def relatesTo
  @relatesTo
end

#sectionObject

0-* [ Composition::Section ]



162
163
164
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 162

def section
  @section
end

#statusObject

1-1 code



149
150
151
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 149

def status
  @status
end

#subjectObject

0-1 Reference(Resource)



152
153
154
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 152

def subject
  @subject
end

#textObject

0-1 Narrative



144
145
146
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 144

def text
  @text
end

#titleObject

1-1 string



156
157
158
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 156

def title
  @title
end

#typeObject

1-1 CodeableConcept



150
151
152
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 150

def type
  @type
end

Instance Method Details

#resourceTypeObject



164
165
166
# File 'lib/fhir_models/r4b/generated/resources/Composition.rb', line 164

def resourceType
  'Composition'
end