Class: FHIR::ElementDefinition

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir_ext/element_definition.rb,
lib/fhir_models/fhir/types/ElementDefinition.rb

Overview

Extend ElementDefinition for profile validation code

Defined Under Namespace

Classes: Base, Binding, Constraint, Example, Mapping, Slicing, Type

Constant Summary collapse

MULTIPLE_TYPES =
{
  'defaultValue' => ['base64Binary', 'boolean', 'canonical', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'url', 'uuid', 'Address', 'Age', 'Annotation', 'Attachment', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'HumanName', 'Identifier', 'Money', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing', 'ContactDetail', 'Contributor', 'DataRequirement', 'Expression', 'ParameterDefinition', 'RelatedArtifact', 'TriggerDefinition', 'UsageContext', 'Dosage'],
  'fixed' => ['base64Binary', 'boolean', 'canonical', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'url', 'uuid', 'Address', 'Age', 'Annotation', 'Attachment', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'HumanName', 'Identifier', 'Money', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing', 'ContactDetail', 'Contributor', 'DataRequirement', 'Expression', 'ParameterDefinition', 'RelatedArtifact', 'TriggerDefinition', 'UsageContext', 'Dosage'],
  'pattern' => ['base64Binary', 'boolean', 'canonical', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'url', 'uuid', 'Address', 'Age', 'Annotation', 'Attachment', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'HumanName', 'Identifier', 'Money', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing', 'ContactDetail', 'Contributor', 'DataRequirement', 'Expression', 'ParameterDefinition', 'RelatedArtifact', 'TriggerDefinition', 'UsageContext', 'Dosage'],
  'minValue' => ['date', 'dateTime', 'instant', 'time', 'decimal', 'integer', 'positiveInt', 'unsignedInt', 'Quantity'],
  'maxValue' => ['date', 'dateTime', 'instant', 'time', 'decimal', 'integer', 'positiveInt', 'unsignedInt', 'Quantity']
}
SEARCH_PARAMS =
[]
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'ElementDefinition.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'ElementDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ElementDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'path' => {'type'=>'string', 'path'=>'ElementDefinition.path', 'min'=>1, 'max'=>1},
  'representation' => {'valid_codes'=>{'http://hl7.org/fhir/property-representation'=>['xmlAttr', 'xmlText', 'typeAttr', 'cdaText', 'xhtml']}, 'type'=>'code', 'path'=>'ElementDefinition.representation', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/property-representation|4.0.0'}},
  'sliceName' => {'type'=>'string', 'path'=>'ElementDefinition.sliceName', 'min'=>0, 'max'=>1},
  'sliceIsConstraining' => {'type'=>'boolean', 'path'=>'ElementDefinition.sliceIsConstraining', 'min'=>0, 'max'=>1},
  'label' => {'type'=>'string', 'path'=>'ElementDefinition.label', 'min'=>0, 'max'=>1},
  'code' => {'valid_codes'=>{'http://loinc.org'=>['1-8', '10-9', '100-8', '1000-9', '10000-8', '10001-6', '10002-4', '10003-2', '10004-0', '10005-7', '10006-5', '10007-3', '10008-1', '10009-9', '1001-7', '10010-7', '10011-5', '10012-3', '10013-1', '10014-9', '10015-6', '10016-4', '10017-2', '10018-0', '10019-8', '1002-5', '10020-6', '10021-4', '10022-2', '10023-0', '10024-8', '10025-5', '10026-3', '10027-1', '10028-9', '10029-7', '1003-3', '10030-5', '10031-3', '10032-1', '10033-9', '10034-7', '10035-4', '10036-2', '10037-0', '10038-8', '10039-6', '1004-1', '10040-4', '10041-2', '10042-0', '10043-8', '10044-6', '10045-3', '10046-1', '10047-9', '10048-7', '10049-5', '1005-8', '10050-3', '10051-1', '10052-9', '10053-7', '10054-5', '10055-2', '10056-0', '10057-8', '10058-6', '10059-4', '1006-6', '10060-2', '10061-0', '10062-8', '10063-6', '10064-4', '10065-1', '10066-9', '10067-7', '10068-5', '10069-3', '1007-4', '10070-1', '10071-9', '10072-7', '10073-5', '10074-3', '10075-0', '10076-8', '10077-6', '10078-4', '10079-2', '1008-2', '10080-0', '10081-8', '10082-6', '10083-4', '10084-2', '10085-9', '10086-7', '10087-5', '10088-3', '10089-1', '1009-0', '10090-9', '10091-7', '10092-5', '10093-3', '10094-1', '10095-8', '10096-6', '10097-4', '10098-2', '10099-0', '101-6', '1010-8', '10100-6', '10101-4', '10102-2', '10103-0', '10104-8', '10105-5', '10106-3', '10107-1', '10108-9', '10109-7', '1011-6', '10110-5', '10111-3', '10112-1', '10113-9', '10114-7', '10115-4', '10116-2', '10117-0', '10118-8', '10119-6', '1012-4', '10120-4', '10121-2', '10122-0', '10123-8', '10124-6', '10125-3', '10126-1', '10127-9', '10128-7', '10129-5', '1013-2', '10130-3', '10131-1', '10132-9', '10133-7', '10134-5', '10135-2', '10136-0', '10137-8', '10138-6', '10139-4', '1014-0', '10140-2', '10141-0', '10142-8', '10143-6', '10144-4', '10145-1', '10146-9', '10147-7', '10148-5', '10149-3', '1015-7', '10150-1', '10151-9', '10152-7', '10153-5', '10154-3', '10155-0', '10156-8', '10157-6', '10158-4', '10159-2', '1016-5', '10160-0', '10161-8', '10162-6', '10163-4', '10164-2', '10165-9', '10166-7', '10167-5', '10168-3', '10169-1', '1017-3', '10170-9', '10171-7', '10172-5', '10173-3', '10174-1', '10175-8', '10176-6', '10177-4', '10178-2', '10179-0', '1018-1', '10180-8', '10181-6', '10182-4', '10183-2', '10184-0', '10185-7', '10186-5', '10187-3', '10188-1', '10189-9', '1019-9', '10190-7', '10191-5', '10192-3', '10193-1', '10194-9', '10195-6', '10196-4', '10197-2', '10198-0', '10199-8', '102-4', '1020-7', '10200-4', '10201-2', '10202-0', '10203-8', '10204-6', '10205-3', '10206-1', '10207-9', '10208-7', '10209-5', '1021-5', '10210-3', '10211-1', '10212-9', '10213-7', '10214-5', '10215-2', '10216-0', '10217-8', '10218-6', '10219-4', '1022-3', '10220-2', '10221-0', '10222-8', '10223-6', '10224-4', '10225-1', '10226-9', '10227-7', '10228-5', '10229-3', '1023-1', '10230-1', '10231-9', '10232-7', '10233-5', '10234-3', '10235-0', '10236-8', '10237-6', '10238-4', '10239-2', '1024-9', '10240-0', '10241-8', '10242-6', '10243-4', '10244-2', '10245-9', '10246-7', '10247-5', '10248-3', '10249-1', '1025-6', '10250-9', '10251-7', '10252-5', '10253-3', '10254-1', '10255-8', '10256-6', '10257-4', '10258-2', '10259-0', '1026-4', '10260-8', '10261-6', '10262-4', '10263-2', '10264-0', '10265-7', '10266-5', '10267-3', '10268-1', '10269-9', '1027-2', '10270-7', '10271-5', '10272-3', '10273-1', '10274-9', '10275-6', '10276-4', '10277-2', '10278-0', '10279-8', '1028-0', '10280-6', '10281-4', '10282-2', '10283-0', '10284-8', '10285-5', '10286-3', '10287-1', '10288-9', '10289-7', '1029-8', '10290-5', '10291-3', '10292-1', '10293-9', '10294-7', '10295-4', '10296-2', '10297-0', '10298-8', '10299-6', '103-2', '1030-6', '10300-2', '10301-0', '10302-8', '10303-6', '10304-4', '10305-1', '10306-9', '10307-7', '10308-5', '10309-3', '1031-4', '10310-1', '10311-9', '10312-7', '10313-5', '10314-3', '10315-0', '10316-8', '10317-6', '10318-4', '10319-2', '1032-2', '10320-0', '10321-8', '10322-6', '10323-4', '10324-2', '10325-9', '10326-7', '10327-5', '10328-3', '10329-1', '1033-0', '10330-9', '10331-7', '10332-5', '10333-3', '10334-1', '10335-8', '10336-6', '10337-4', '10338-2', '10339-0', '1034-8', '10340-8', '10341-6', '10342-4', '10343-2', '10344-0', '10345-7', '10346-5', '10347-3', '10348-1', '10349-9', '1035-5', '10350-7', '10351-5', '10352-3', '10353-1', '10354-9', '10355-6', '10356-4', '10357-2', '10358-0', '10359-8', '1036-3', '10360-6', '10361-4', '10362-2', '10363-0', '10364-8', '10365-5', '10366-3', '10367-1', '10368-9', '10369-7', '1037-1', '10370-5', '10371-3', '10372-1', '10373-9', '10374-7', '10375-4', '10376-2', '10377-0', '10378-8', '10379-6', '1038-9', '10380-4', '10381-2', '10382-0', '10383-8', '10384-6', '10385-3', '10386-1', '10387-9', '10388-7', '10389-5', '1039-7', '10390-3', '10391-1', '10392-9', '10393-7', '10394-5', '10395-2', '10396-0', '10397-8', '10398-6', '10399-4', '104-0', '1040-5', '10400-0', '10401-8', '10402-6', '10403-4', '10404-2', '10405-9', '10406-7', '10407-5', '10408-3', '10409-1', '1041-3', '10410-9', '10411-7', '10412-5', '10413-3', '10414-1', '10415-8', '10416-6', '10417-4', '10418-2', '10419-0', '1042-1', '10420-8', '10421-6', '10422-4', '10423-2', '10424-0', '10425-7', '10426-5', '10427-3', '10428-1', '10429-9', '1043-9', '10430-7', '10431-5', '10432-3', '10433-1', '10434-9', '10435-6', '10436-4', '10437-2', '10438-0', '10439-8', '1044-7', '10440-6', '10441-4', '10442-2', '10443-0', '10444-8', '10445-5', '10446-3', '10447-1', '10448-9', '10449-7', '1045-4', '10450-5', '10451-3', '10452-1', '10453-9', '10454-7', '10455-4', '10456-2', '10457-0', '10458-8', '10459-6', '1046-2', '10460-4', '10461-2', '10462-0', '10463-8', '10464-6', '10465-3', '10466-1', '10467-9', '10468-7', '10469-5', '1047-0', '10470-3', '10471-1', '10472-9', '10473-7', '10474-5', '10475-2', '10476-0', '10477-8', '10478-6', '10479-4', '1048-8', '10480-2', '10481-0', '10482-8', '10483-6', '10484-4', '10485-1', '10486-9', '10487-7', '10488-5', '10489-3', '1049-6', '10490-1', '10491-9', '10492-7', '10493-5', '10494-3', '10495-0', '10496-8', '10497-6', '10498-4', '10499-2', '105-7', '1050-4', '10500-7', '10501-5', '10502-3', '10503-1', '10504-9', '10505-6', '10506-4', '10507-2', '10508-0', '10509-8', '1051-2', '10510-6', '10511-4', '10512-2', '10513-0', '10514-8', '10515-5', '10516-3', '10517-1', '10518-9', '10519-7', '1052-0', '10520-5', '10521-3', '10522-1', '10523-9', '10524-7', '10525-4', '10526-2', '10527-0', '10528-8', '10529-6', '1053-8', '10530-4', '10531-2', '10532-0', '10533-8', '10534-6', '10535-3', '10536-1', '10537-9', '10538-7', '10539-5', '1054-6', '10540-3', '10541-1', '10542-9', '10543-7', '10544-5', '10545-2', '10546-0', '10547-8', '10548-6', '10549-4', '1055-3', '10550-2', '10551-0', '10552-8', '10553-6', '10554-4', '10555-1', '10556-9', '10557-7', '10558-5', '10559-3', '1056-1', '10560-1', '10561-9', '10562-7', '10563-5', '10564-3', '10565-0', '10566-8', '10567-6', '10568-4', '10569-2', '1057-9', '10570-0', '10571-8', '10572-6', '10573-4', '10574-2', '10575-9', '10576-7', '10577-5', '10578-3', '10579-1', '1058-7', '10580-9', '10581-7', '10582-5', '10583-3', '10584-1', '10585-8', '10586-6', '10587-4', '10588-2', '10589-0', '1059-5', '10590-8', '10591-6', '10592-4', '10593-2', '10594-0', '10595-7', '10596-5', '10597-3', '10598-1', '10599-9', '106-5', '1060-3', '10600-5', '10601-3', '10602-1', '10603-9', '10604-7', '10605-4', '10606-2', '10607-0', '10608-8', '10609-6', '1061-1', '10610-4', '10611-2', '10612-0', '10613-8', '10614-6', '10615-3', '10616-1', '10617-9', '10618-7', '10619-5', '1062-9', '10620-3', '10621-1', '10622-9', '10623-7', '10624-5', '10625-2', '10626-0', '10627-8', '10628-6', '10629-4', '1063-7', '10630-2', '10631-0', '10632-8', '10633-6', '10634-4', '10635-1', '10636-9', '10637-7', '10638-5', '10639-3', '1064-5', '10640-1', '10641-9', '10642-7', '10643-5', '10644-3', '10645-0', '10646-8', '10647-6', '10648-4', '10649-2', '1065-2', '10650-0', '10651-8', '10652-6', '10653-4', '10654-2', '10655-9', '10656-7', '10657-5', '10658-3', '10659-1', '1066-0', '10660-9', '10661-7', '10662-5', '10663-3', '10664-1', '10665-8', '10666-6', '10667-4', '10668-2', '10669-0', '1067-8', '10670-8', '10671-6', '10672-4', '10673-2', '10674-0', '10675-7', '10676-5', '10677-3', '10678-1', '10679-9', '1068-6', '10680-7', '10681-5', '10682-3', '10683-1', '10684-9', '10685-6', '10686-4', '10687-2', '10688-0', '10689-8', '1069-4', '10690-6', '10691-4', '10692-2', '10693-0', '10694-8', '10695-5', '10696-3', '10697-1', '10698-9', '10699-7', '107-3', '1070-2', '10700-3', '10701-1', '10702-9', '10703-7', '10704-5', '10705-2', '10706-0', '10707-8', '10708-6', '10709-4', '1071-0', '10710-2', '10711-0', '10712-8', '10713-6', '10714-4', '10715-1', '10716-9', '10717-7', '10718-5', '10719-3', '1072-8', '10720-1', '10721-9', '10722-7', '10723-5', '10724-3', '10725-0', '10726-8', '10727-6', '10728-4', '10729-2', '1073-6', '10730-0', '10731-8', '10732-6', '10733-4', '10734-2', '10735-9', '10736-7', '10737-5', '10738-3', '10739-1', '1074-4', '10740-9', '10741-7', '10742-5', '10743-3', '10744-1', '10745-8', '10746-6', '10747-4', '10748-2', '10749-0', '1075-1', '10750-8', '10751-6', '10752-4', '10753-2', '10754-0', '10755-7', '10756-5', '10757-3', '10758-1', '10759-9', '1076-9', '10760-7', '10761-5', '10762-3', '10763-1', '10764-9', '10765-6', '10766-4', '10767-2', '10768-0', '10769-8', '1077-7', '10770-6', '10771-4', '10772-2', '10773-0', '10774-8', '10775-5', '10776-3', '10777-1', '10778-9', '10779-7', '1078-5', '10780-5', '10781-3', '10782-1', '10783-9', '10784-7', '10785-4', '10786-2', '10787-0', '10788-8', '10789-6', '1079-3', '10790-4', '10791-2', '10792-0', '10793-8', '10794-6', '10795-3', '10796-1', '10797-9', '10798-7', '10799-5', '108-1', '1080-1', '10800-1', '10801-9', '10802-7', '10803-5', '10804-3', '10805-0', '10806-8', '10807-6', '10808-4', '10809-2', '1081-9', '10810-0', '10811-8', '10812-6', '10813-4', '10814-2', '10815-9', '10816-7', '10817-5', '10818-3', '10819-1', '1082-7', '10820-9', '10821-7', '10822-5', '10823-3', '10824-1', '10825-8', '10826-6', '10827-4', '10828-2', '10829-0', '1083-5', '10830-8', '10831-6', '10832-4', '10833-2', '10834-0', '10835-7', '10836-5', '10837-3', '10838-1', '10839-9', '1084-3', '10840-7', '10841-5', '10842-3', '10843-1', '10844-9', '10845-6', '10846-4', '10847-2', '10848-0', '10849-8', '1085-0', '10850-6', '10851-4', '10852-2', '10853-0', '10854-8', '10855-5', '10856-3', '10857-1', '10858-9', '10859-7', '1086-8', '10860-5', '10861-3', '10862-1', '10863-9', '10864-7', '10865-4', '10866-2', '10867-0', '10868-8', '10869-6', '1087-6', '10870-4', '10871-2', '10872-0', '10873-8', '10874-6', '10875-3', '10876-1', '10877-9', '10878-7', '10879-5', '1088-4', '10880-3', '10881-1', '10882-9', '10883-7', '10884-5', '10885-2', '10886-0', '10887-8', '10888-6', '10889-4', '1089-2', '10890-2', '10891-0', '10892-8', '10893-6', '10894-4', '10895-1', '10896-9', '10897-7', '10898-5']}, 'type'=>'Coding', 'path'=>'ElementDefinition.code', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/observation-codes'}},
  'slicing' => {'type'=>'ElementDefinition::Slicing', 'path'=>'ElementDefinition.slicing', 'min'=>0, 'max'=>1},
  'short' => {'type'=>'string', 'path'=>'ElementDefinition.short', 'min'=>0, 'max'=>1},
  'definition' => {'type'=>'markdown', 'path'=>'ElementDefinition.definition', 'min'=>0, 'max'=>1},
  'comment' => {'type'=>'markdown', 'path'=>'ElementDefinition.comment', 'min'=>0, 'max'=>1},
  'requirements' => {'type'=>'markdown', 'path'=>'ElementDefinition.requirements', 'min'=>0, 'max'=>1},
  'alias' => {'type'=>'string', 'path'=>'ElementDefinition.alias', 'min'=>0, 'max'=>Float::INFINITY},
  'min' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.min', 'min'=>0, 'max'=>1},
  'max' => {'type'=>'string', 'path'=>'ElementDefinition.max', 'min'=>0, 'max'=>1},
  'base' => {'type'=>'ElementDefinition::Base', 'path'=>'ElementDefinition.base', 'min'=>0, 'max'=>1},
  'contentReference' => {'type'=>'uri', 'path'=>'ElementDefinition.contentReference', 'min'=>0, 'max'=>1},
  'type' => {'type'=>'ElementDefinition::Type', 'path'=>'ElementDefinition.type', 'min'=>0, 'max'=>Float::INFINITY},
  'defaultValueBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueCanonical' => {'type'=>'canonical', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueCode' => {'type'=>'code', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueId' => {'type'=>'id', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueOid' => {'type'=>'oid', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueString' => {'type'=>'string', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueUri' => {'type'=>'uri', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueUrl' => {'type'=>'url', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueUuid' => {'type'=>'uuid', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueAge' => {'type'=>'Age', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueCount' => {'type'=>'Count', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueDistance' => {'type'=>'Distance', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueDuration' => {'type'=>'Duration', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueMoney' => {'type'=>'Money', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValuePeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueRange' => {'type'=>'Range', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueContactDetail' => {'type'=>'ContactDetail', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueContributor' => {'type'=>'Contributor', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueDataRequirement' => {'type'=>'DataRequirement', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueExpression' => {'type'=>'Expression', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueParameterDefinition' => {'type'=>'ParameterDefinition', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueRelatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueTriggerDefinition' => {'type'=>'TriggerDefinition', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueUsageContext' => {'type'=>'UsageContext', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'defaultValueDosage' => {'type'=>'Dosage', 'path'=>'ElementDefinition.defaultValue[x]', 'min'=>0, 'max'=>1},
  'meaningWhenMissing' => {'type'=>'markdown', 'path'=>'ElementDefinition.meaningWhenMissing', 'min'=>0, 'max'=>1},
  'orderMeaning' => {'type'=>'string', 'path'=>'ElementDefinition.orderMeaning', 'min'=>0, 'max'=>1},
  'fixedBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedCanonical' => {'type'=>'canonical', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedCode' => {'type'=>'code', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedDate' => {'type'=>'date', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedId' => {'type'=>'id', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedOid' => {'type'=>'oid', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedString' => {'type'=>'string', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedTime' => {'type'=>'time', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedUri' => {'type'=>'uri', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedUrl' => {'type'=>'url', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedUuid' => {'type'=>'uuid', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedAge' => {'type'=>'Age', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedCount' => {'type'=>'Count', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedDistance' => {'type'=>'Distance', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedDuration' => {'type'=>'Duration', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedMoney' => {'type'=>'Money', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedRange' => {'type'=>'Range', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedContactDetail' => {'type'=>'ContactDetail', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedContributor' => {'type'=>'Contributor', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedDataRequirement' => {'type'=>'DataRequirement', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedExpression' => {'type'=>'Expression', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedParameterDefinition' => {'type'=>'ParameterDefinition', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedRelatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedTriggerDefinition' => {'type'=>'TriggerDefinition', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedUsageContext' => {'type'=>'UsageContext', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'fixedDosage' => {'type'=>'Dosage', 'path'=>'ElementDefinition.fixed[x]', 'min'=>0, 'max'=>1},
  'patternBase64Binary' => {'type'=>'base64Binary', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternBoolean' => {'type'=>'boolean', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternCanonical' => {'type'=>'canonical', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternCode' => {'type'=>'code', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternDate' => {'type'=>'date', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternId' => {'type'=>'id', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternMarkdown' => {'type'=>'markdown', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternOid' => {'type'=>'oid', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternPositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternString' => {'type'=>'string', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternTime' => {'type'=>'time', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternUri' => {'type'=>'uri', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternUrl' => {'type'=>'url', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternUuid' => {'type'=>'uuid', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternAddress' => {'type'=>'Address', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternAge' => {'type'=>'Age', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternAnnotation' => {'type'=>'Annotation', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternAttachment' => {'type'=>'Attachment', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternCoding' => {'type'=>'Coding', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternContactPoint' => {'type'=>'ContactPoint', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternCount' => {'type'=>'Count', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternDistance' => {'type'=>'Distance', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternDuration' => {'type'=>'Duration', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternHumanName' => {'type'=>'HumanName', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternIdentifier' => {'type'=>'Identifier', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternMoney' => {'type'=>'Money', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternPeriod' => {'type'=>'Period', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternRange' => {'type'=>'Range', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternRatio' => {'type'=>'Ratio', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternReference' => {'type'=>'Reference', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternSampledData' => {'type'=>'SampledData', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternSignature' => {'type'=>'Signature', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternTiming' => {'type'=>'Timing', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternContactDetail' => {'type'=>'ContactDetail', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternContributor' => {'type'=>'Contributor', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternDataRequirement' => {'type'=>'DataRequirement', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternExpression' => {'type'=>'Expression', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternParameterDefinition' => {'type'=>'ParameterDefinition', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternRelatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternTriggerDefinition' => {'type'=>'TriggerDefinition', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternUsageContext' => {'type'=>'UsageContext', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'patternDosage' => {'type'=>'Dosage', 'path'=>'ElementDefinition.pattern[x]', 'min'=>0, 'max'=>1},
  'example' => {'type'=>'ElementDefinition::Example', 'path'=>'ElementDefinition.example', 'min'=>0, 'max'=>Float::INFINITY},
  'minValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'minValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.minValue[x]', 'min'=>0, 'max'=>1},
  'maxValueDate' => {'type'=>'date', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValueDateTime' => {'type'=>'dateTime', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValueInstant' => {'type'=>'instant', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValueTime' => {'type'=>'time', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValueDecimal' => {'type'=>'decimal', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValueInteger' => {'type'=>'integer', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValuePositiveInt' => {'type'=>'positiveInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxValueQuantity' => {'type'=>'Quantity', 'path'=>'ElementDefinition.maxValue[x]', 'min'=>0, 'max'=>1},
  'maxLength' => {'type'=>'integer', 'path'=>'ElementDefinition.maxLength', 'min'=>0, 'max'=>1},
  'condition' => {'type'=>'id', 'path'=>'ElementDefinition.condition', 'min'=>0, 'max'=>Float::INFINITY},
  'constraint' => {'type'=>'ElementDefinition::Constraint', 'path'=>'ElementDefinition.constraint', 'min'=>0, 'max'=>Float::INFINITY},
  'mustSupport' => {'type'=>'boolean', 'path'=>'ElementDefinition.mustSupport', 'min'=>0, 'max'=>1},
  'isModifier' => {'type'=>'boolean', 'path'=>'ElementDefinition.isModifier', 'min'=>0, 'max'=>1},
  'isModifierReason' => {'type'=>'string', 'path'=>'ElementDefinition.isModifierReason', 'min'=>0, 'max'=>1},
  'isSummary' => {'type'=>'boolean', 'path'=>'ElementDefinition.isSummary', 'min'=>0, 'max'=>1},
  'binding' => {'type'=>'ElementDefinition::Binding', 'path'=>'ElementDefinition.binding', 'min'=>0, 'max'=>1},
  'mapping' => {'type'=>'ElementDefinition::Mapping', 'path'=>'ElementDefinition.mapping', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::Model

Instance Attribute Details

#aliasObject

0-* [ string ]



500
501
502
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 500

def alias
  @alias
end

#baseObject

0-1 ElementDefinition::Base



503
504
505
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 503

def base
  @base
end

#bindingObject

0-1 ElementDefinition::Binding



681
682
683
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 681

def binding
  @binding
end

#childrenObject

children is used to hierarchically arrange elements so profile validation is easier to compute



6
7
8
# File 'lib/fhir_models/fhir_ext/element_definition.rb', line 6

def children
  @children
end

#codeObject

0-* [ Coding ]



494
495
496
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 494

def code
  @code
end

#commentObject

0-1 markdown



498
499
500
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 498

def comment
  @comment
end

#conditionObject

0-* [ id ]



675
676
677
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 675

def condition
  @condition
end

#constraintObject

0-* [ ElementDefinition::Constraint ]



676
677
678
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 676

def constraint
  @constraint
end

#contentReferenceObject

0-1 uri



504
505
506
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 504

def contentReference
  @contentReference
end

#defaultValueAddressObject

0-1 Address



525
526
527
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 525

def defaultValueAddress
  @defaultValueAddress
end

#defaultValueAgeObject

0-1 Age



526
527
528
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 526

def defaultValueAge
  @defaultValueAge
end

#defaultValueAnnotationObject

0-1 Annotation



527
528
529
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 527

def defaultValueAnnotation
  @defaultValueAnnotation
end

#defaultValueAttachmentObject

0-1 Attachment



528
529
530
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 528

def defaultValueAttachment
  @defaultValueAttachment
end

#defaultValueBase64BinaryObject

0-1 base64Binary



506
507
508
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 506

def defaultValueBase64Binary
  @defaultValueBase64Binary
end

#defaultValueBooleanObject

0-1 boolean



507
508
509
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 507

def defaultValueBoolean
  @defaultValueBoolean
end

#defaultValueCanonicalObject

0-1 canonical



508
509
510
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 508

def defaultValueCanonical
  @defaultValueCanonical
end

#defaultValueCodeObject

0-1 code



509
510
511
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 509

def defaultValueCode
  @defaultValueCode
end

#defaultValueCodeableConceptObject

0-1 CodeableConcept



529
530
531
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 529

def defaultValueCodeableConcept
  @defaultValueCodeableConcept
end

#defaultValueCodingObject

0-1 Coding



530
531
532
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 530

def defaultValueCoding
  @defaultValueCoding
end

#defaultValueContactDetailObject

0-1 ContactDetail



546
547
548
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 546

def defaultValueContactDetail
  @defaultValueContactDetail
end

#defaultValueContactPointObject

0-1 ContactPoint



531
532
533
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 531

def defaultValueContactPoint
  @defaultValueContactPoint
end

#defaultValueContributorObject

0-1 Contributor



547
548
549
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 547

def defaultValueContributor
  @defaultValueContributor
end

#defaultValueCountObject

0-1 Count



532
533
534
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 532

def defaultValueCount
  @defaultValueCount
end

#defaultValueDataRequirementObject

0-1 DataRequirement



548
549
550
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 548

def defaultValueDataRequirement
  @defaultValueDataRequirement
end

#defaultValueDateObject

0-1 date



510
511
512
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 510

def defaultValueDate
  @defaultValueDate
end

#defaultValueDateTimeObject

0-1 dateTime



511
512
513
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 511

def defaultValueDateTime
  @defaultValueDateTime
end

#defaultValueDecimalObject

0-1 decimal



512
513
514
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 512

def defaultValueDecimal
  @defaultValueDecimal
end

#defaultValueDistanceObject

0-1 Distance



533
534
535
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 533

def defaultValueDistance
  @defaultValueDistance
end

#defaultValueDosageObject

0-1 Dosage



554
555
556
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 554

def defaultValueDosage
  @defaultValueDosage
end

#defaultValueDurationObject

0-1 Duration



534
535
536
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 534

def defaultValueDuration
  @defaultValueDuration
end

#defaultValueExpressionObject

0-1 Expression



549
550
551
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 549

def defaultValueExpression
  @defaultValueExpression
end

#defaultValueHumanNameObject

0-1 HumanName



535
536
537
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 535

def defaultValueHumanName
  @defaultValueHumanName
end

#defaultValueIdObject

0-1 id



513
514
515
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 513

def defaultValueId
  @defaultValueId
end

#defaultValueIdentifierObject

0-1 Identifier



536
537
538
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 536

def defaultValueIdentifier
  @defaultValueIdentifier
end

#defaultValueInstantObject

0-1 instant



514
515
516
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 514

def defaultValueInstant
  @defaultValueInstant
end

#defaultValueIntegerObject

0-1 integer



515
516
517
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 515

def defaultValueInteger
  @defaultValueInteger
end

#defaultValueMarkdownObject

0-1 markdown



516
517
518
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 516

def defaultValueMarkdown
  @defaultValueMarkdown
end

#defaultValueMoneyObject

0-1 Money



537
538
539
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 537

def defaultValueMoney
  @defaultValueMoney
end

#defaultValueOidObject

0-1 oid



517
518
519
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 517

def defaultValueOid
  @defaultValueOid
end

#defaultValueParameterDefinitionObject

0-1 ParameterDefinition



550
551
552
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 550

def defaultValueParameterDefinition
  @defaultValueParameterDefinition
end

#defaultValuePeriodObject

0-1 Period



538
539
540
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 538

def defaultValuePeriod
  @defaultValuePeriod
end

#defaultValuePositiveIntObject

0-1 positiveInt



518
519
520
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 518

def defaultValuePositiveInt
  @defaultValuePositiveInt
end

#defaultValueQuantityObject

0-1 Quantity



539
540
541
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 539

def defaultValueQuantity
  @defaultValueQuantity
end

#defaultValueRangeObject

0-1 Range



540
541
542
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 540

def defaultValueRange
  @defaultValueRange
end

#defaultValueRatioObject

0-1 Ratio



541
542
543
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 541

def defaultValueRatio
  @defaultValueRatio
end

#defaultValueReferenceObject

0-1 Reference()



542
543
544
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 542

def defaultValueReference
  @defaultValueReference
end

#defaultValueRelatedArtifactObject

0-1 RelatedArtifact



551
552
553
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 551

def defaultValueRelatedArtifact
  @defaultValueRelatedArtifact
end

#defaultValueSampledDataObject

0-1 SampledData



543
544
545
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 543

def defaultValueSampledData
  @defaultValueSampledData
end

#defaultValueSignatureObject

0-1 Signature



544
545
546
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 544

def defaultValueSignature
  @defaultValueSignature
end

#defaultValueStringObject

0-1 string



519
520
521
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 519

def defaultValueString
  @defaultValueString
end

#defaultValueTimeObject

0-1 time



520
521
522
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 520

def defaultValueTime
  @defaultValueTime
end

#defaultValueTimingObject

0-1 Timing



545
546
547
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 545

def defaultValueTiming
  @defaultValueTiming
end

#defaultValueTriggerDefinitionObject

0-1 TriggerDefinition



552
553
554
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 552

def defaultValueTriggerDefinition
  @defaultValueTriggerDefinition
end

#defaultValueUnsignedIntObject

0-1 unsignedInt



521
522
523
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 521

def defaultValueUnsignedInt
  @defaultValueUnsignedInt
end

#defaultValueUriObject

0-1 uri



522
523
524
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 522

def defaultValueUri
  @defaultValueUri
end

#defaultValueUrlObject

0-1 url



523
524
525
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 523

def defaultValueUrl
  @defaultValueUrl
end

#defaultValueUsageContextObject

0-1 UsageContext



553
554
555
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 553

def defaultValueUsageContext
  @defaultValueUsageContext
end

#defaultValueUuidObject

0-1 uuid



524
525
526
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 524

def defaultValueUuid
  @defaultValueUuid
end

#definitionObject

0-1 markdown



497
498
499
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 497

def definition
  @definition
end

#exampleObject

0-* [ ElementDefinition::Example ]



655
656
657
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 655

def example
  @example
end

#extensionObject

0-* [ Extension ]



487
488
489
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 487

def extension
  @extension
end

#fixedAddressObject

0-1 Address



576
577
578
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 576

def fixedAddress
  @fixedAddress
end

#fixedAgeObject

0-1 Age



577
578
579
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 577

def fixedAge
  @fixedAge
end

#fixedAnnotationObject

0-1 Annotation



578
579
580
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 578

def fixedAnnotation
  @fixedAnnotation
end

#fixedAttachmentObject

0-1 Attachment



579
580
581
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 579

def fixedAttachment
  @fixedAttachment
end

#fixedBase64BinaryObject

0-1 base64Binary



557
558
559
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 557

def fixedBase64Binary
  @fixedBase64Binary
end

#fixedBooleanObject

0-1 boolean



558
559
560
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 558

def fixedBoolean
  @fixedBoolean
end

#fixedCanonicalObject

0-1 canonical



559
560
561
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 559

def fixedCanonical
  @fixedCanonical
end

#fixedCodeObject

0-1 code



560
561
562
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 560

def fixedCode
  @fixedCode
end

#fixedCodeableConceptObject

0-1 CodeableConcept



580
581
582
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 580

def fixedCodeableConcept
  @fixedCodeableConcept
end

#fixedCodingObject

0-1 Coding



581
582
583
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 581

def fixedCoding
  @fixedCoding
end

#fixedContactDetailObject

0-1 ContactDetail



597
598
599
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 597

def fixedContactDetail
  @fixedContactDetail
end

#fixedContactPointObject

0-1 ContactPoint



582
583
584
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 582

def fixedContactPoint
  @fixedContactPoint
end

#fixedContributorObject

0-1 Contributor



598
599
600
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 598

def fixedContributor
  @fixedContributor
end

#fixedCountObject

0-1 Count



583
584
585
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 583

def fixedCount
  @fixedCount
end

#fixedDataRequirementObject

0-1 DataRequirement



599
600
601
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 599

def fixedDataRequirement
  @fixedDataRequirement
end

#fixedDateObject

0-1 date



561
562
563
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 561

def fixedDate
  @fixedDate
end

#fixedDateTimeObject

0-1 dateTime



562
563
564
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 562

def fixedDateTime
  @fixedDateTime
end

#fixedDecimalObject

0-1 decimal



563
564
565
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 563

def fixedDecimal
  @fixedDecimal
end

#fixedDistanceObject

0-1 Distance



584
585
586
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 584

def fixedDistance
  @fixedDistance
end

#fixedDosageObject

0-1 Dosage



605
606
607
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 605

def fixedDosage
  @fixedDosage
end

#fixedDurationObject

0-1 Duration



585
586
587
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 585

def fixedDuration
  @fixedDuration
end

#fixedExpressionObject

0-1 Expression



600
601
602
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 600

def fixedExpression
  @fixedExpression
end

#fixedHumanNameObject

0-1 HumanName



586
587
588
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 586

def fixedHumanName
  @fixedHumanName
end

#fixedIdObject

0-1 id



564
565
566
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 564

def fixedId
  @fixedId
end

#fixedIdentifierObject

0-1 Identifier



587
588
589
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 587

def fixedIdentifier
  @fixedIdentifier
end

#fixedInstantObject

0-1 instant



565
566
567
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 565

def fixedInstant
  @fixedInstant
end

#fixedIntegerObject

0-1 integer



566
567
568
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 566

def fixedInteger
  @fixedInteger
end

#fixedMarkdownObject

0-1 markdown



567
568
569
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 567

def fixedMarkdown
  @fixedMarkdown
end

#fixedMoneyObject

0-1 Money



588
589
590
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 588

def fixedMoney
  @fixedMoney
end

#fixedOidObject

0-1 oid



568
569
570
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 568

def fixedOid
  @fixedOid
end

#fixedParameterDefinitionObject

0-1 ParameterDefinition



601
602
603
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 601

def fixedParameterDefinition
  @fixedParameterDefinition
end

#fixedPeriodObject

0-1 Period



589
590
591
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 589

def fixedPeriod
  @fixedPeriod
end

#fixedPositiveIntObject

0-1 positiveInt



569
570
571
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 569

def fixedPositiveInt
  @fixedPositiveInt
end

#fixedQuantityObject

0-1 Quantity



590
591
592
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 590

def fixedQuantity
  @fixedQuantity
end

#fixedRangeObject

0-1 Range



591
592
593
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 591

def fixedRange
  @fixedRange
end

#fixedRatioObject

0-1 Ratio



592
593
594
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 592

def fixedRatio
  @fixedRatio
end

#fixedReferenceObject

0-1 Reference()



593
594
595
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 593

def fixedReference
  @fixedReference
end

#fixedRelatedArtifactObject

0-1 RelatedArtifact



602
603
604
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 602

def fixedRelatedArtifact
  @fixedRelatedArtifact
end

#fixedSampledDataObject

0-1 SampledData



594
595
596
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 594

def fixedSampledData
  @fixedSampledData
end

#fixedSignatureObject

0-1 Signature



595
596
597
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 595

def fixedSignature
  @fixedSignature
end

#fixedStringObject

0-1 string



570
571
572
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 570

def fixedString
  @fixedString
end

#fixedTimeObject

0-1 time



571
572
573
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 571

def fixedTime
  @fixedTime
end

#fixedTimingObject

0-1 Timing



596
597
598
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 596

def fixedTiming
  @fixedTiming
end

#fixedTriggerDefinitionObject

0-1 TriggerDefinition



603
604
605
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 603

def fixedTriggerDefinition
  @fixedTriggerDefinition
end

#fixedUnsignedIntObject

0-1 unsignedInt



572
573
574
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 572

def fixedUnsignedInt
  @fixedUnsignedInt
end

#fixedUriObject

0-1 uri



573
574
575
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 573

def fixedUri
  @fixedUri
end

#fixedUrlObject

0-1 url



574
575
576
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 574

def fixedUrl
  @fixedUrl
end

#fixedUsageContextObject

0-1 UsageContext



604
605
606
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 604

def fixedUsageContext
  @fixedUsageContext
end

#fixedUuidObject

0-1 uuid



575
576
577
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 575

def fixedUuid
  @fixedUuid
end

#idObject

0-1 string



486
487
488
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 486

def id
  @id
end

#isModifierObject

0-1 boolean



678
679
680
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 678

def isModifier
  @isModifier
end

#isModifierReasonObject

0-1 string



679
680
681
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 679

def isModifierReason
  @isModifierReason
end

#isSummaryObject

0-1 boolean



680
681
682
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 680

def isSummary
  @isSummary
end

#labelObject

0-1 string



493
494
495
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 493

def label
  @label
end

#local_nameObject

Returns the value of attribute local_name.



7
8
9
# File 'lib/fhir_models/fhir_ext/element_definition.rb', line 7

def local_name
  @local_name
end

#mappingObject

0-* [ ElementDefinition::Mapping ]



682
683
684
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 682

def mapping
  @mapping
end

#marked_for_keepingObject

Returns the value of attribute marked_for_keeping.



8
9
10
# File 'lib/fhir_models/fhir_ext/element_definition.rb', line 8

def marked_for_keeping
  @marked_for_keeping
end

#maxObject

0-1 string



502
503
504
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 502

def max
  @max
end

#maxLengthObject

0-1 integer



674
675
676
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 674

def maxLength
  @maxLength
end

#maxValueDateObject

0-1 date



665
666
667
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 665

def maxValueDate
  @maxValueDate
end

#maxValueDateTimeObject

0-1 dateTime



666
667
668
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 666

def maxValueDateTime
  @maxValueDateTime
end

#maxValueDecimalObject

0-1 decimal



669
670
671
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 669

def maxValueDecimal
  @maxValueDecimal
end

#maxValueInstantObject

0-1 instant



667
668
669
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 667

def maxValueInstant
  @maxValueInstant
end

#maxValueIntegerObject

0-1 integer



670
671
672
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 670

def maxValueInteger
  @maxValueInteger
end

#maxValuePositiveIntObject

0-1 positiveInt



671
672
673
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 671

def maxValuePositiveInt
  @maxValuePositiveInt
end

#maxValueQuantityObject

0-1 Quantity



673
674
675
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 673

def maxValueQuantity
  @maxValueQuantity
end

#maxValueTimeObject

0-1 time



668
669
670
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 668

def maxValueTime
  @maxValueTime
end

#maxValueUnsignedIntObject

0-1 unsignedInt



672
673
674
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 672

def maxValueUnsignedInt
  @maxValueUnsignedInt
end

#meaningWhenMissingObject

0-1 markdown



555
556
557
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 555

def meaningWhenMissing
  @meaningWhenMissing
end

#minObject

0-1 unsignedInt



501
502
503
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 501

def min
  @min
end

#minValueDateObject

0-1 date



656
657
658
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 656

def minValueDate
  @minValueDate
end

#minValueDateTimeObject

0-1 dateTime



657
658
659
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 657

def minValueDateTime
  @minValueDateTime
end

#minValueDecimalObject

0-1 decimal



660
661
662
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 660

def minValueDecimal
  @minValueDecimal
end

#minValueInstantObject

0-1 instant



658
659
660
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 658

def minValueInstant
  @minValueInstant
end

#minValueIntegerObject

0-1 integer



661
662
663
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 661

def minValueInteger
  @minValueInteger
end

#minValuePositiveIntObject

0-1 positiveInt



662
663
664
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 662

def minValuePositiveInt
  @minValuePositiveInt
end

#minValueQuantityObject

0-1 Quantity



664
665
666
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 664

def minValueQuantity
  @minValueQuantity
end

#minValueTimeObject

0-1 time



659
660
661
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 659

def minValueTime
  @minValueTime
end

#minValueUnsignedIntObject

0-1 unsignedInt



663
664
665
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 663

def minValueUnsignedInt
  @minValueUnsignedInt
end

#modifierExtensionObject

0-* [ Extension ]



488
489
490
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 488

def modifierExtension
  @modifierExtension
end

#mustSupportObject

0-1 boolean



677
678
679
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 677

def mustSupport
  @mustSupport
end

#orderMeaningObject

0-1 string



556
557
558
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 556

def orderMeaning
  @orderMeaning
end

#pathObject

1-1 string



489
490
491
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 489

def path
  @path
end

#patternAddressObject

0-1 Address



625
626
627
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 625

def patternAddress
  @patternAddress
end

#patternAgeObject

0-1 Age



626
627
628
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 626

def patternAge
  @patternAge
end

#patternAnnotationObject

0-1 Annotation



627
628
629
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 627

def patternAnnotation
  @patternAnnotation
end

#patternAttachmentObject

0-1 Attachment



628
629
630
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 628

def patternAttachment
  @patternAttachment
end

#patternBase64BinaryObject

0-1 base64Binary



606
607
608
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 606

def patternBase64Binary
  @patternBase64Binary
end

#patternBooleanObject

0-1 boolean



607
608
609
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 607

def patternBoolean
  @patternBoolean
end

#patternCanonicalObject

0-1 canonical



608
609
610
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 608

def patternCanonical
  @patternCanonical
end

#patternCodeObject

0-1 code



609
610
611
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 609

def patternCode
  @patternCode
end

#patternCodeableConceptObject

0-1 CodeableConcept



629
630
631
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 629

def patternCodeableConcept
  @patternCodeableConcept
end

#patternCodingObject

0-1 Coding



630
631
632
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 630

def patternCoding
  @patternCoding
end

#patternContactDetailObject

0-1 ContactDetail



646
647
648
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 646

def patternContactDetail
  @patternContactDetail
end

#patternContactPointObject

0-1 ContactPoint



631
632
633
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 631

def patternContactPoint
  @patternContactPoint
end

#patternContributorObject

0-1 Contributor



647
648
649
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 647

def patternContributor
  @patternContributor
end

#patternCountObject

0-1 Count



632
633
634
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 632

def patternCount
  @patternCount
end

#patternDataRequirementObject

0-1 DataRequirement



648
649
650
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 648

def patternDataRequirement
  @patternDataRequirement
end

#patternDateObject

0-1 date



610
611
612
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 610

def patternDate
  @patternDate
end

#patternDateTimeObject

0-1 dateTime



611
612
613
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 611

def patternDateTime
  @patternDateTime
end

#patternDecimalObject

0-1 decimal



612
613
614
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 612

def patternDecimal
  @patternDecimal
end

#patternDistanceObject

0-1 Distance



633
634
635
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 633

def patternDistance
  @patternDistance
end

#patternDosageObject

0-1 Dosage



654
655
656
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 654

def patternDosage
  @patternDosage
end

#patternDurationObject

0-1 Duration



634
635
636
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 634

def patternDuration
  @patternDuration
end

#patternExpressionObject

0-1 Expression



649
650
651
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 649

def patternExpression
  @patternExpression
end

#patternHumanNameObject

0-1 HumanName



635
636
637
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 635

def patternHumanName
  @patternHumanName
end

#patternIdObject

0-1 id



613
614
615
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 613

def patternId
  @patternId
end

#patternIdentifierObject

0-1 Identifier



636
637
638
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 636

def patternIdentifier
  @patternIdentifier
end

#patternInstantObject

0-1 instant



614
615
616
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 614

def patternInstant
  @patternInstant
end

#patternIntegerObject

0-1 integer



615
616
617
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 615

def patternInteger
  @patternInteger
end

#patternMarkdownObject

0-1 markdown



616
617
618
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 616

def patternMarkdown
  @patternMarkdown
end

#patternMoneyObject

0-1 Money



637
638
639
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 637

def patternMoney
  @patternMoney
end

#patternOidObject

0-1 oid



617
618
619
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 617

def patternOid
  @patternOid
end

#patternParameterDefinitionObject

0-1 ParameterDefinition



650
651
652
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 650

def patternParameterDefinition
  @patternParameterDefinition
end

#patternPeriodObject

0-1 Period



638
639
640
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 638

def patternPeriod
  @patternPeriod
end

#patternPositiveIntObject

0-1 positiveInt



618
619
620
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 618

def patternPositiveInt
  @patternPositiveInt
end

#patternQuantityObject

0-1 Quantity



639
640
641
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 639

def patternQuantity
  @patternQuantity
end

#patternRangeObject

0-1 Range



640
641
642
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 640

def patternRange
  @patternRange
end

#patternRatioObject

0-1 Ratio



641
642
643
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 641

def patternRatio
  @patternRatio
end

#patternReferenceObject

0-1 Reference()



642
643
644
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 642

def patternReference
  @patternReference
end

#patternRelatedArtifactObject

0-1 RelatedArtifact



651
652
653
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 651

def patternRelatedArtifact
  @patternRelatedArtifact
end

#patternSampledDataObject

0-1 SampledData



643
644
645
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 643

def patternSampledData
  @patternSampledData
end

#patternSignatureObject

0-1 Signature



644
645
646
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 644

def patternSignature
  @patternSignature
end

#patternStringObject

0-1 string



619
620
621
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 619

def patternString
  @patternString
end

#patternTimeObject

0-1 time



620
621
622
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 620

def patternTime
  @patternTime
end

#patternTimingObject

0-1 Timing



645
646
647
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 645

def patternTiming
  @patternTiming
end

#patternTriggerDefinitionObject

0-1 TriggerDefinition



652
653
654
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 652

def patternTriggerDefinition
  @patternTriggerDefinition
end

#patternUnsignedIntObject

0-1 unsignedInt



621
622
623
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 621

def patternUnsignedInt
  @patternUnsignedInt
end

#patternUriObject

0-1 uri



622
623
624
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 622

def patternUri
  @patternUri
end

#patternUrlObject

0-1 url



623
624
625
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 623

def patternUrl
  @patternUrl
end

#patternUsageContextObject

0-1 UsageContext



653
654
655
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 653

def patternUsageContext
  @patternUsageContext
end

#patternUuidObject

0-1 uuid



624
625
626
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 624

def patternUuid
  @patternUuid
end

#representationObject

0-* [ code ]



490
491
492
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 490

def representation
  @representation
end

#requirementsObject

0-1 markdown



499
500
501
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 499

def requirements
  @requirements
end

#shortObject

0-1 string



496
497
498
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 496

def short
  @short
end

#sliceIsConstrainingObject

0-1 boolean



492
493
494
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 492

def sliceIsConstraining
  @sliceIsConstraining
end

#sliceNameObject

0-1 string



491
492
493
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 491

def sliceName
  @sliceName
end

#slicingObject

0-1 ElementDefinition::Slicing



495
496
497
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 495

def slicing
  @slicing
end

#typeObject

0-* [ ElementDefinition::Type ]



505
506
507
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 505

def type
  @type
end

Instance Method Details

#add_descendent(element) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/fhir_models/fhir_ext/element_definition.rb', line 10

def add_descendent(element)
  @children = [] if @children.nil?
  element.local_name = element.path.gsub("#{path}.", '')
  if @children.last && element.path.start_with?(@children.last.path)
    if element.path == @children.last.path
      # slicing
      @children << element
    else
      @children.last.add_descendent(element)
    end
  else
    @children << element
  end
end

#keep_children(whitelist = []) ⇒ Object



25
26
27
28
29
30
31
# File 'lib/fhir_models/fhir_ext/element_definition.rb', line 25

def keep_children(whitelist = [])
  @marked_for_keeping = true if whitelist.include?(path)
  return unless @children
  @children.each do |child|
    child.keep_children(whitelist)
  end
end


40
41
42
43
44
45
46
47
# File 'lib/fhir_models/fhir_ext/element_definition.rb', line 40

def print_children(spaces = 0)
  puts "#{' ' * spaces}+#{local_name || path}"
  return nil unless @children
  @children.each do |child|
    child.print_children(spaces + 2)
  end
  nil
end

#sweep_childrenObject



33
34
35
36
37
38
# File 'lib/fhir_models/fhir_ext/element_definition.rb', line 33

def sweep_children
  return unless @children
  @children.each(&:sweep_children)
  @children = @children.keep_if(&:marked_for_keeping)
  @marked_for_keeping = !@children.empty? || @marked_for_keeping
end