Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Extension.profile.ttl

Modeling and Methodology Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

StructureDefinition for Extension

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition;
  fhir:Resource.id [ fhir:value "Extension"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "normative" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
     fhir:Extension.value [ fhir:value "4.0.0" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"];
  fhir:StructureDefinition.version [ fhir:value "4.3.0"];
  fhir:StructureDefinition.name [ fhir:value "Extension"];
  fhir:StructureDefinition.status [ fhir:value "active"];
  fhir:StructureDefinition.experimental [ fhir:value "false"];
  fhir:StructureDefinition.date [ fhir:value "2022-05-28T12:47:40+10:00"];
  fhir:StructureDefinition.publisher [ fhir:value "HL7 FHIR Standard"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "Base StructureDefinition for Extension Type: Optional Extension Element - found in all resources."];
  fhir:StructureDefinition.purpose [ fhir:value "The ability to add extensions in a structured way is what keeps FHIR resources simple."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.3.0"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.name [ fhir:value "RIM Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "complex-type"];
  fhir:StructureDefinition.abstract [ fhir:value "false"];
  fhir:StructureDefinition.type [ fhir:value "Extension"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"];
  fhir:StructureDefinition.derivation [ fhir:value "specialization"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Extension" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
         fhir:Extension.value [ fhir:value "normative" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
         fhir:Extension.value [ fhir:value "4.0.0" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Extension" ];
       fhir:ElementDefinition.short [ fhir:value "Optional Extensions Element" ];
       fhir:ElementDefinition.definition [ fhir:value "Optional Extension Element - found in all resources." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.condition [
         fhir:value "ele-1";
         fhir:index 0
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children unless an empty Parameters resource" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count()) or $this is Parameters" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div|self::f:Parameters" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Extension.id" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "id" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Extension.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "url" ]
         ];
         fhir:ElementDefinition.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "identifies the meaning of the extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Source of the definition for the extension code - a logical name or a URL." ];
       fhir:ElementDefinition.comment [ fhir:value "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Extension.url" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "uri" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Extension.value[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.value[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Value of extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Extension.value[x]" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "base64Binary" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.code [ fhir:value "canonical" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.code [ fhir:value "date" ]
       ], [
         fhir:index 5;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ], [
         fhir:index 6;
         fhir:ElementDefinition.code [ fhir:value "decimal" ]
       ], [
         fhir:index 7;
         fhir:ElementDefinition.code [ fhir:value "id" ]
       ], [
         fhir:index 8;
         fhir:ElementDefinition.code [ fhir:value "instant" ]
       ], [
         fhir:index 9;
         fhir:ElementDefinition.code [ fhir:value "integer" ]
       ], [
         fhir:index 10;
         fhir:ElementDefinition.code [ fhir:value "markdown" ]
       ], [
         fhir:index 11;
         fhir:ElementDefinition.code [ fhir:value "oid" ]
       ], [
         fhir:index 12;
         fhir:ElementDefinition.code [ fhir:value "positiveInt" ]
       ], [
         fhir:index 13;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ], [
         fhir:index 14;
         fhir:ElementDefinition.code [ fhir:value "time" ]
       ], [
         fhir:index 15;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ], [
         fhir:index 16;
         fhir:ElementDefinition.code [ fhir:value "uri" ]
       ], [
         fhir:index 17;
         fhir:ElementDefinition.code [ fhir:value "url" ]
       ], [
         fhir:index 18;
         fhir:ElementDefinition.code [ fhir:value "uuid" ]
       ], [
         fhir:index 19;
         fhir:ElementDefinition.code [ fhir:value "Address" ]
       ], [
         fhir:index 20;
         fhir:ElementDefinition.code [ fhir:value "Age" ]
       ], [
         fhir:index 21;
         fhir:ElementDefinition.code [ fhir:value "Annotation" ]
       ], [
         fhir:index 22;
         fhir:ElementDefinition.code [ fhir:value "Attachment" ]
       ], [
         fhir:index 23;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ], [
         fhir:index 24;
         fhir:ElementDefinition.code [ fhir:value "CodeableReference" ]
       ], [
         fhir:index 25;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ], [
         fhir:index 26;
         fhir:ElementDefinition.code [ fhir:value "ContactPoint" ]
       ], [
         fhir:index 27;
         fhir:ElementDefinition.code [ fhir:value "Count" ]
       ], [
         fhir:index 28;
         fhir:ElementDefinition.code [ fhir:value "Distance" ]
       ], [
         fhir:index 29;
         fhir:ElementDefinition.code [ fhir:value "Duration" ]
       ], [
         fhir:index 30;
         fhir:ElementDefinition.code [ fhir:value "HumanName" ]
       ], [
         fhir:index 31;
         fhir:ElementDefinition.code [ fhir:value "Identifier" ]
       ], [
         fhir:index 32;
         fhir:ElementDefinition.code [ fhir:value "Money" ]
       ], [
         fhir:index 33;
         fhir:ElementDefinition.code [ fhir:value "Period" ]
       ], [
         fhir:index 34;
         fhir:ElementDefinition.code [ fhir:value "Quantity" ]
       ], [
         fhir:index 35;
         fhir:ElementDefinition.code [ fhir:value "Range" ]
       ], [
         fhir:index 36;
         fhir:ElementDefinition.code [ fhir:value "Ratio" ]
       ], [
         fhir:index 37;
         fhir:ElementDefinition.code [ fhir:value "RatioRange" ]
       ], [
         fhir:index 38;
         fhir:ElementDefinition.code [ fhir:value "Reference" ]
       ], [
         fhir:index 39;
         fhir:ElementDefinition.code [ fhir:value "SampledData" ]
       ], [
         fhir:index 40;
         fhir:ElementDefinition.code [ fhir:value "Signature" ]
       ], [
         fhir:index 41;
         fhir:ElementDefinition.code [ fhir:value "Timing" ]
       ], [
         fhir:index 42;
         fhir:ElementDefinition.code [ fhir:value "ContactDetail" ]
       ], [
         fhir:index 43;
         fhir:ElementDefinition.code [ fhir:value "Contributor" ]
       ], [
         fhir:index 44;
         fhir:ElementDefinition.code [ fhir:value "DataRequirement" ]
       ], [
         fhir:index 45;
         fhir:ElementDefinition.code [ fhir:value "Expression" ]
       ], [
         fhir:index 46;
         fhir:ElementDefinition.code [ fhir:value "ParameterDefinition" ]
       ], [
         fhir:index 47;
         fhir:ElementDefinition.code [ fhir:value "RelatedArtifact" ]
       ], [
         fhir:index 48;
         fhir:ElementDefinition.code [ fhir:value "TriggerDefinition" ]
       ], [
         fhir:index 49;
         fhir:ElementDefinition.code [ fhir:value "UsageContext" ]
       ], [
         fhir:index 50;
         fhir:ElementDefinition.code [ fhir:value "Dosage" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Extension" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
         fhir:Extension.value [ fhir:value "normative" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
         fhir:Extension.value [ fhir:value "4.0.0" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Extension" ];
       fhir:ElementDefinition.short [ fhir:value "Optional Extensions Element" ];
       fhir:ElementDefinition.definition [ fhir:value "Optional Extension Element - found in all resources." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "identifies the meaning of the extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Source of the definition for the extension code - a logical name or a URL." ];
       fhir:ElementDefinition.comment [ fhir:value "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "uri" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Extension.value[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.value[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Value of extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "base64Binary" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.code [ fhir:value "canonical" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.code [ fhir:value "date" ]
       ], [
         fhir:index 5;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ], [
         fhir:index 6;
         fhir:ElementDefinition.code [ fhir:value "decimal" ]
       ], [
         fhir:index 7;
         fhir:ElementDefinition.code [ fhir:value "id" ]
       ], [
         fhir:index 8;
         fhir:ElementDefinition.code [ fhir:value "instant" ]
       ], [
         fhir:index 9;
         fhir:ElementDefinition.code [ fhir:value "integer" ]
       ], [
         fhir:index 10;
         fhir:ElementDefinition.code [ fhir:value "markdown" ]
       ], [
         fhir:index 11;
         fhir:ElementDefinition.code [ fhir:value "oid" ]
       ], [
         fhir:index 12;
         fhir:ElementDefinition.code [ fhir:value "positiveInt" ]
       ], [
         fhir:index 13;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ], [
         fhir:index 14;
         fhir:ElementDefinition.code [ fhir:value "time" ]
       ], [
         fhir:index 15;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ], [
         fhir:index 16;
         fhir:ElementDefinition.code [ fhir:value "uri" ]
       ], [
         fhir:index 17;
         fhir:ElementDefinition.code [ fhir:value "url" ]
       ], [
         fhir:index 18;
         fhir:ElementDefinition.code [ fhir:value "uuid" ]
       ], [
         fhir:index 19;
         fhir:ElementDefinition.code [ fhir:value "Address" ]
       ], [
         fhir:index 20;
         fhir:ElementDefinition.code [ fhir:value "Age" ]
       ], [
         fhir:index 21;
         fhir:ElementDefinition.code [ fhir:value "Annotation" ]
       ], [
         fhir:index 22;
         fhir:ElementDefinition.code [ fhir:value "Attachment" ]
       ], [
         fhir:index 23;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ], [
         fhir:index 24;
         fhir:ElementDefinition.code [ fhir:value "CodeableReference" ]
       ], [
         fhir:index 25;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ], [
         fhir:index 26;
         fhir:ElementDefinition.code [ fhir:value "ContactPoint" ]
       ], [
         fhir:index 27;
         fhir:ElementDefinition.code [ fhir:value "Count" ]
       ], [
         fhir:index 28;
         fhir:ElementDefinition.code [ fhir:value "Distance" ]
       ], [
         fhir:index 29;
         fhir:ElementDefinition.code [ fhir:value "Duration" ]
       ], [
         fhir:index 30;
         fhir:ElementDefinition.code [ fhir:value "HumanName" ]
       ], [
         fhir:index 31;
         fhir:ElementDefinition.code [ fhir:value "Identifier" ]
       ], [
         fhir:index 32;
         fhir:ElementDefinition.code [ fhir:value "Money" ]
       ], [
         fhir:index 33;
         fhir:ElementDefinition.code [ fhir:value "Period" ]
       ], [
         fhir:index 34;
         fhir:ElementDefinition.code [ fhir:value "Quantity" ]
       ], [
         fhir:index 35;
         fhir:ElementDefinition.code [ fhir:value "Range" ]
       ], [
         fhir:index 36;
         fhir:ElementDefinition.code [ fhir:value "Ratio" ]
       ], [
         fhir:index 37;
         fhir:ElementDefinition.code [ fhir:value "RatioRange" ]
       ], [
         fhir:index 38;
         fhir:ElementDefinition.code [ fhir:value "Reference" ]
       ], [
         fhir:index 39;
         fhir:ElementDefinition.code [ fhir:value "SampledData" ]
       ], [
         fhir:index 40;
         fhir:ElementDefinition.code [ fhir:value "Signature" ]
       ], [
         fhir:index 41;
         fhir:ElementDefinition.code [ fhir:value "Timing" ]
       ], [
         fhir:index 42;
         fhir:ElementDefinition.code [ fhir:value "ContactDetail" ]
       ], [
         fhir:index 43;
         fhir:ElementDefinition.code [ fhir:value "Contributor" ]
       ], [
         fhir:index 44;
         fhir:ElementDefinition.code [ fhir:value "DataRequirement" ]
       ], [
         fhir:index 45;
         fhir:ElementDefinition.code [ fhir:value "Expression" ]
       ], [
         fhir:index 46;
         fhir:ElementDefinition.code [ fhir:value "ParameterDefinition" ]
       ], [
         fhir:index 47;
         fhir:ElementDefinition.code [ fhir:value "RelatedArtifact" ]
       ], [
         fhir:index 48;
         fhir:ElementDefinition.code [ fhir:value "TriggerDefinition" ]
       ], [
         fhir:index 49;
         fhir:ElementDefinition.code [ fhir:value "UsageContext" ]
       ], [
         fhir:index 50;
         fhir:ElementDefinition.code [ fhir:value "Dosage" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.