Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R4B R4

Content Detailed Descriptions Mappings XML JSON

Example ValueSet/medication-cost-category (XML)

Extension: Item   Maturity Level : 1 URL for this extension: http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem Status: draft. Extension maintained by: Health Level Seven International (Clinical Genomics) The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested. Context of Use: Use on Element ID DiagnosticReport Extension Content
Orders and Observations Responsible Owner: Terminology Infrastructure Work Group Standards Status : Informative Use Context : Any

Summary Name Flags Card. Type Description & Constraints Item 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem Item: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested. Use on Element ID DiagnosticReport code 1..1 CodeableConcept Code to indicate the item (test, panel or sequence variant) being ordered. geneticsObservation 0..1 Reference Raw XML ( Observation ) Indicate the genetic variant ordered to be tested. specimen 0..1 Reference canonical form ( Specimen + also see XML Format Specification ) If the item is related to a specific specimen. status 0..1 code The status of this individual item within the order. Documentation for this format Full Structure

Name Flags Card. Type Description & Constraints extension 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem Item: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested. Use on Element ID DiagnosticReport extension I 0..* Extension Additional content defined by implementations Slice: Unordered, Open by value:url extension:code I 1..1 Extension Code to indicate the item (test, panel or sequence variant) being ordered extension I 0..0 url 1..1 uri "code" value[x] I 1..1 CodeableConcept Value of extension extension:geneticsObservation I 0..1 Extension Indicate the genetic variant ordered to be tested extension I 0..0 url 1..1 uri "geneticsObservation" value[x] I 1..1 Reference ( Observation ) Value of extension extension:specimen I 0..1 Extension If this item relates to specific specimens extension I 0..0 url 1..1 uri "specimen" value[x] I 1..1 Reference ( Specimen ) Value of extension extension:status I 0..1 Extension proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed extension I 0..0 url 1..1 uri "status" value[x] I 1..1 code Value of extension url 1..1 uri "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem" value[x] I 0 .. 0 valueBase64Binary base64Binary valueBoolean boolean valueCanonical canonical () valueCode code valueDate date valueDateTime dateTime valueDecimal decimal valueId id valueInstant instant valueInteger integer valueMarkdown markdown valueOid oid valuePositiveInt positiveInt valueString string valueTime time valueUnsignedInt unsignedInt valueUri uri valueUrl url valueUuid uuid valueAddress Address valueAge Age valueAnnotation Annotation valueAttachment Attachment valueCodeableConcept CodeableConcept valueCoding Coding valueContactPoint ContactPoint valueCount Count valueDistance Distance valueDuration Duration valueHumanName HumanName valueIdentifier Identifier valueMoney Money valuePeriod Period valueQuantity Quantity valueRange Range valueRatio Ratio valueReference Reference () valueSampledData SampledData valueSignature Signature valueTiming Timing valueContactDetail ContactDetail valueContributor Contributor valueDataRequirement DataRequirement valueExpression Expression valueParameterDefinition ParameterDefinition valueRelatedArtifact RelatedArtifact valueTriggerDefinition TriggerDefinition valueUsageContext UsageContext valueDosage Dosage valueMeta Meta Documentation for this format

XML Template Definition for Value SetMedication Cost Category Codes

<!-- Item -->
<?xml version="1.0" encoding="UTF-8"?>


< xmlns="http://hl7.org/fhir"
     url="" >
 
 <
  <
      Value of extension</valueCodeableConcept>
 </extension>
 <
  <</valueReference>
 </extension>
 <
  <</valueReference>
 </extension>
 <
  <
 </extension>
</extension>
JSON
Template
  
{ // 
    " 
      { //  
        // from Element: 
        " ]
        " 
        "
      },
      { // 
        // from Element: 
        " ]
        " 
        "
      },
      { // 
        // from Element: 
        " ]
        " 
        "
      },
      { // 
        // from Element: 
        " ]
        " 
        "
      }
    ],
    " 

  }
Summary

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="medication-cost-category"/> 
  <meta> 
    <lastUpdated value="2025-11-13T03:03:06.418+00:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: ValueSet medication-cost-category</b> 
      </p> 
      <a name="medication-cost-category"> </a> 
      <a name="hcmedication-cost-category"> </a> 
      <ul> 
        <li> Include all codes defined in 
          <a href="codesystem-medication-cost-category.html">
            <code> http://hl7.org/fhir/medication-cost-category</code> 
          </a> 
          <span title="Version is not explicitly stated, which means it is fixed to the version provided
           in this specification"> version 📦6.0.0-ballot3</span> 
        </li>       </ul>     </div>   </text>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">    <valueCode value="phx"/>   </extension>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">    <valueCode value="draft"/>   </extension>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">    <valueInteger value="1"/>   </extension>   <url value="http://hl7.org/fhir/ValueSet/medication-cost-category"/>   <identifier>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.3.3230"/>   </identifier>   <version value="6.0.0-ballot3"/>   <name value="MedicationCostCategoryCodes"/>   <title value="Medication Cost Category Codes"/>   <status value="draft"/>   <experimental value="false"/>   <publisher value="FHIR Project team"/>   <contact>     <telecom>       <system value="url"/>       <value value="http://hl7.org/fhir"/>     </telecom>   </contact>   <description value="Medication Cost Category Codes"/>   <jurisdiction>     <coding>       <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>       <code value="001"/>       <display value="World"/>     </coding>   </jurisdiction>   <compose>     <include>       <system value="http://hl7.org/fhir/medication-cost-category"/>     </include>   </compose> 

Name
Flags
Card.
Type
Description
&
Constraints


</

ValueSet


>


Item
0..*
Extension
URL
=
http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem
Item:
The
specific
diagnostic
investigations
that
are
requested
as
part
of
this
request.
Sometimes,
there
can
only
be
one
item
per
request,
but
in
most
contexts,
more
than
one
investigation
can
be
requested.
Use
on
Element
ID
DiagnosticReport
code
1..1
CodeableConcept
Code
to
indicate
the
item
(test,
panel
or
sequence
variant)
being
ordered.
geneticsObservation
0..1
Reference
(
Observation
)
Indicate
the
genetic
variant
ordered
to
be
tested.
specimen
0..1
Reference
(
Specimen
)
If
the
item
is
related
to
a
specific
specimen.
status
0..1
code
The
status
of
this
individual
item
within
the
order.
Documentation
for
this
format



Full Structure Name Flags Card. Type Description & Constraints extension 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem Item: The specific diagnostic investigations Usage note: every effort has been made to ensure that the examples are requested as part of this request. Sometimes, there can only be one item per request, correct and useful, but in most contexts, more than one investigation can be requested. Use on Element ID DiagnosticReport extension I 0..* Extension Additional content defined by implementations Slice: Unordered, Open by value:url extension:code I 1..1 Extension Code to indicate the item (test, panel or sequence variant) being ordered extension I 0..0 url 1..1 uri "code" value[x] I 1..1 CodeableConcept Value they are not a normative part of extension extension:geneticsObservation I 0..1 Extension Indicate the genetic variant ordered to be tested extension I 0..0 url 1..1 uri "geneticsObservation" value[x] I 1..1 Reference ( Observation ) Value of extension extension:specimen I 0..1 Extension If this item relates to specific specimens extension I 0..0 url 1..1 uri "specimen" value[x] I 1..1 Reference ( Specimen ) Value of extension extension:status I 0..1 Extension proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed extension I 0..0 url 1..1 uri "status" value[x] I 1..1 code Value of extension url 1..1 uri "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem" value[x] I 0 .. 0 valueBase64Binary base64Binary valueBoolean boolean valueCanonical canonical () valueCode code valueDate date valueDateTime dateTime valueDecimal decimal valueId id valueInstant instant valueInteger integer valueMarkdown markdown valueOid oid valuePositiveInt positiveInt valueString string valueTime time valueUnsignedInt unsignedInt valueUri uri valueUrl url valueUuid uuid valueAddress Address valueAge Age valueAnnotation Annotation valueAttachment Attachment valueCodeableConcept CodeableConcept valueCoding Coding valueContactPoint ContactPoint valueCount Count valueDistance Distance valueDuration Duration valueHumanName HumanName valueIdentifier Identifier valueMoney Money valuePeriod Period valueQuantity Quantity valueRange Range valueRatio Ratio valueReference Reference () valueSampledData SampledData valueSignature Signature valueTiming Timing valueContactDetail ContactDetail valueContributor Contributor valueDataRequirement DataRequirement valueExpression Expression valueParameterDefinition ParameterDefinition valueRelatedArtifact RelatedArtifact valueTriggerDefinition TriggerDefinition valueUsageContext UsageContext valueDosage Dosage valueMeta Meta Documentation for this format XML Template specification.

<!-- Item --> < xmlns="http://hl7.org/fhir" url="" > < < Value of extension</valueCodeableConcept> </extension> < <</valueReference> </extension> < <</valueReference> </extension> < < </extension> </extension> JSON Template { // " { // // from Element: " ] " " }, { // // from Element: " ] " " }, { // // from Element: " ] " " }, { // // from Element: " ] " " } ], " }   Constraints ele-1 : All FHIR elements must have a @value or children (xpath: @value|f:*|h:div ) ext-1 : Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) ) ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div ) ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div ) ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div ) ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div ) ele-1 : On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div )