lib/fhir_models/fhir/resources/DocumentManifest.rb in fhir_models-3.0.4 vs lib/fhir_models/fhir/resources/DocumentManifest.rb in fhir_models-4.0.0
- old
+ new
@@ -2,57 +2,34 @@
class DocumentManifest < FHIR::Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
- SEARCH_PARAMS = ['identifier', 'patient', 'type', 'author', 'content-ref', 'created', 'description', 'recipient', 'related-id', 'related-ref', 'source', 'status', 'subject']
+ SEARCH_PARAMS = ['identifier', 'patient', 'type', 'author', 'created', 'description', 'item', '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'}},
+ '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'=>'DocumentManifest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', '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'}},
+ '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|4.0.0'}},
+ 'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActCode'=>['ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', 'DISPLAY', 'FORM', 'CPTM', 'HCPCSA', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', 'ROIFS', 'ROIPS', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'OBSENC', 'PRENC', 'SS', 'VR', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', 'AUTO', 'ENDC', 'REFLEX', 'AUTH', 'NAUTH', 'ELG', 'NELG', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', 'CHRG', 'REV', 'MVA', 'SCHOOL', 'SPT', 'WPA', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', 'UNSPSC', 'GTIN', 'UPC', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', 'AFTHRS', 'ISOL', 'OOO', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', 'FST', 'HST', 'PST', 'I', 'P', 'S', 'SP', 'W', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', 'VFPAPER', 'ACH', 'CHK', 'DDP', 'NON', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', 'EMRGONLY', 'GRANTORCHOICE', 'IMPLIED', 'IMPLIEDD', 'NOCONSENT', 'NOPP', 'OPTIN', 'OPTINR', 'OPTOUT', 'OPTOUTE', '_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332', 'ETH', 'GDIS', 'HIV', 'MST', 'SCA', 'SDV', 'SEX', 'SPI', 'BH', 'COGN', 'DVD', 'EMOTDIS', 'MH', 'PSY', 'PSYTHPN', 'SUD', 'ETHUD', 'OPIOIDUD', 'STD', 'TBOO', 'VIO', 'SICKLE', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PHY', 'PRS', 'COMPT', 'ACOCOMPT', 'CTCOMPT', 'FMCOMPT', 'HRCOMPT', 'LRCOMPT', 'PACOMPT', 'RESCOMPT', 'RMGTCOMPT', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'AUTHPOL', 'ACCESSCONSCHEME', 'DELEPOL', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DECLASSIFYLABEL', 'DEID', 'DELAU', 'DOWNGRDLABEL', 'DRIVLABEL', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'LABEL', 'MASK', 'MINEC', 'PERSISTLABEL', 'PRIVMARK', 'PSEUD', 'REDACT', 'UPGRDLABEL', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', 'LOAN', 'RENT', 'TRANSFER', 'SALE', 'SREC', 'SSTOR', 'STRAN', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'CMPMSRMTH', 'CMPMSRSCRWGHT', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', 'TIME_ABSOLUTE', 'TIME_RELATIVE', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSROBS', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', 'KEY206', 'OBSOLETE', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', 'ENDLATE', 'STRTLATE', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA']}, 'type'=>'CodeableConcept', 'path'=>'DocumentManifest.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-ActCode'}},
'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},
+ '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'=>'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/PractitionerRole', '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},
+ 'content' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'DocumentManifest.content', 'min'=>1, 'max'=>Float::INFINITY},
'related' => {'type'=>'DocumentManifest::Related', 'path'=>'DocumentManifest.related', 'min'=>0, 'max'=>Float::INFINITY}
}
- class Content < FHIR::Model
- include FHIR::Hashable
- include FHIR::Json
- include FHIR::Xml
-
- MULTIPLE_TYPES = {
- 'p' => ['Attachment', 'Reference']
- }
- METADATA = {
- 'id' => {'type'=>'string', 'path'=>'Content.id', 'min'=>0, 'max'=>1},
- 'extension' => {'type'=>'Extension', 'path'=>'Content.extension', 'min'=>0, 'max'=>Float::INFINITY},
- 'modifierExtension' => {'type'=>'Extension', 'path'=>'Content.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
- 'pAttachment' => {'type'=>'Attachment', 'path'=>'Content.p[x]', 'min'=>1, 'max'=>1},
- 'pReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Content.p[x]', 'min'=>1, 'max'=>1}
- }
-
- attr_accessor :id # 0-1 string
- attr_accessor :extension # 0-* [ Extension ]
- attr_accessor :modifierExtension # 0-* [ Extension ]
- attr_accessor :pAttachment # 1-1 Attachment
- attr_accessor :pReference # 1-1 Reference(Resource)
- end
-
class Related < FHIR::Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
@@ -83,14 +60,14 @@
attr_accessor :identifier # 0-* [ Identifier ]
attr_accessor :status # 1-1 code
attr_accessor :type # 0-1 CodeableConcept
attr_accessor :subject # 0-1 Reference(Patient|Practitioner|Group|Device)
attr_accessor :created # 0-1 dateTime
- attr_accessor :author # 0-* [ Reference(Practitioner|Organization|Device|Patient|RelatedPerson) ]
- attr_accessor :recipient # 0-* [ Reference(Patient|Practitioner|RelatedPerson|Organization) ]
+ attr_accessor :author # 0-* [ Reference(Practitioner|PractitionerRole|Organization|Device|Patient|RelatedPerson) ]
+ attr_accessor :recipient # 0-* [ Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization) ]
attr_accessor :source # 0-1 uri
attr_accessor :description # 0-1 string
- attr_accessor :content # 1-* [ DocumentManifest::Content ]
+ attr_accessor :content # 1-* [ Reference(Resource) ]
attr_accessor :related # 0-* [ DocumentManifest::Related ]
def resourceType
'DocumentManifest'
end
\ No newline at end of file