Release 4 R5 Final QA

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-draft-final: Final QA Preview for R5 - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). 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 Content Detailed Descriptions Mappings XML R3 JSON R2

Example Group/101 (XML)

Extension: initiatingOrganization URL for this extension: http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization Status: draft. Extension maintained by: Health Level Seven, Inc. - CDS WG The organization initiating the request. Context of Use: Use on Element ID Basic Extension Content
FHIR Infrastructure Work Group   Maturity Level : 1 N/A Standards Status : Informative Use Context Compartments : Any Device , Patient , Practitioner

Summary Name Flags Card. Type Description & Constraints initiatingOrganization 0..1 Reference Raw XML ( Organization ) URL = http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization initiatingOrganization: The organization initiating the request. Use on Element ID Basic Documentation for this format Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization initiatingOrganization: The organization initiating the request. Use on Element ID Basic extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization" value[x] I 1..1 Reference canonical form ( Organization + also see XML Format Specification ) Value of extension Documentation for this format XML Template

<!-- initiatingOrganization --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: <</valueReference> </extension>

JSON Template { // // from Element: " ] " " } Jump past Narrative Summary

Name Flags Card. Type Description & Constraints initiatingOrganization 0..1 Reference ( Organization ) URL = http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization initiatingOrganization: The organization initiating the request. Use on Element ID Basic Documentation for this format

Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL General Group Example, Characteristic Based (id = http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization initiatingOrganization: The organization initiating the request. Use on Element ID Basic extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization" value[x] I 1..1 Reference ( Organization ) Value of extension Documentation for this format XML Template "101")

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


< xmlns="http://hl7.org/fhir"
     url="" >
  <!-- from Element: 
 <</valueReference>
</extension>

<Group xmlns="http://hl7.org/fhir">
  <id value="101"/> 
  <text> 
    <status value="additional"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> Herd of 25 horses</p> 
      <p> Gender: mixed</p> 
      <p> Owner: John Smith</p> 
    </div> 
  </text> 
  <identifier> 
    <system value="http://someveterinarianclinic.org/fhir/NamingSystem/herds"/> 
    <value value="12345"/> 
  </identifier> 
  <type value="animal"/> 
  <membership value="enumerated"/> 
  <code> 
    <text value="Horse"/> 
  </code> 
  <name value="John's herd"/> 
  <quantity value="25"/> 
  <characteristic> 
    <code> 
      <text value="gender"/> 
    </code> 
    <valueCodeableConcept> 
      <text value="mixed"/> 
    </valueCodeableConcept> 
    <exclude value="false"/> 
  </characteristic> 
  <characteristic> 
    <code> 
      <text value="owner"/> 
    </code> 
    <valueCodeableConcept> 
      <text value="John Smith"/> 
    </valueCodeableConcept> 
    <exclude value="false"/> 
  </characteristic> 


</

Group


>

JSON
Template



  
{ // 
  // 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], Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div ) normative part of the specification.