FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example StructureDefinition/example-section-library (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Example showing how to define Section Level Profiles (id = "example-section-library")

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

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="example-section-library"/> 
  <text> <status value="extensions"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: StructureDefinition</b> <a name="example-section-library"> </a> <a name="hcexample-section-library"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource StructureDefinition &quot;example-section-library&quot; </p> </div> <p> <b> StructureDefinition Work Group</b> : fhir</p> <p> <b> url</b> : <code> http://hl7.org/fhir/StructureDefinition/example-section-library</code> </p> <p> <b> identifier</b> : <a href="http://terminology.hl7.org/5.5.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes
         defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase)
         and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.t
        xt 

This oid is used as an identifier II.root to indicate the the extension is an absolute
         URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that
         when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid
         or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR
         - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear
         more commonly in FHIR.

This OID may also be used in CD.codeSystem.">URI</a> /urn:oid:2.16.840.1.113883.4.642.5.1041</p> <p> <b> name</b> : DocumentSectionLibrary</p> <p> <b> title</b> : Document Section Library (For testing section templates)</p> <p> <b> status</b> : active</p> <p> <b> experimental</b> : false</p> <p> <b> date</b> : 2018-11-05T17:57:00+11:00</p> <p> <b> publisher</b> : HL7 International / FHIR Infrastructure</p> <p> <b> contact</b> : </p> <p> <b> description</b> : Document Section Library (For testing section templates)</p> <p> <b> kind</b> : resource</p> <p> <b> abstract</b> : true</p> <p> <b> type</b> : <a href="composition.html">Composition</a> </p> <p> <b> baseDefinition</b> : <a href="composition.html">Composition</a> </p> <p> <b> derivation</b> : constraint</p> <blockquote> <p> <b> differential</b> </p> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition</p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section</p> <blockquote> <p> <b> slicing</b> </p> </blockquote> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section</p> <p> <b> sliceName</b> : procedure</p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section.title</p> <p> <b> min</b> : 1</p> <p> <b> fixed</b> : Procedures Performed</p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section.code</p> <p> <b> min</b> : 1</p> <p> <b> pattern</b> : Procedure Narrative <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a> #29554-3)</span> </p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section</p> <p> <b> sliceName</b> : medications</p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section.title</p> <p> <b> min</b> : 1</p> <p> <b> fixed</b> : Medications Administered</p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section.code</p> <p> <b> min</b> : 1</p> <p> <b> pattern</b> : Medication administered Narrative <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a> #29549-3)</span> </p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section</p> <p> <b> sliceName</b> : plan</p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section.title</p> <p> <b> min</b> : 1</p> <p> <b> fixed</b> : Discharge Treatment Plan</p> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> path</b> : Composition.section.code</p> <p> <b> min</b> : 1</p> <p> <b> pattern</b> : Plan of care note <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a> #18776-5)</span> </p> </blockquote> </blockquote> </div> </text> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"><valueCode value="fhir"/> </extension> 
  <url value="http://hl7.org/fhir/StructureDefinition/example-section-library"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.5.1041"/> 
  </identifier> 
  <name value="DocumentSectionLibrary"/> 
  <title value="Document Section Library (For testing section templates)"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2018-11-05T17:57:00+11:00"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      </telecom> 
  </contact> 
  <description value="Document Section Library (For testing section templates)"/> 
  <kind value="resource"/> 
  <abstract value="true"/> 
  <type value="Composition"/> 
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Composition"/> 
  <derivation value="constraint"/> 
  <differential> 
    <element id="Composition">
      <path value="Composition"/> 
    </element> 
    <element id="Composition.section">
      <path value="Composition.section"/> 
      <slicing> 
        <discriminator> 
          <type value="pattern"/> 
          <path value="code"/> 
        </discriminator> 
        <description value="Slice by .section.code when using this library of sections"/> 
        <ordered value="true"/> 
        <rules value="closed"/> 
      </slicing> 
    </element> 
    <element id="Composition.section:procedure">
      <path value="Composition.section"/> 
      <sliceName value="procedure"/> 
    </element> 
    <element id="Composition.section:procedure.title">
      <path value="Composition.section.title"/> 
      <min value="1"/> 
      <fixedString value="Procedures Performed"/> 
    </element> 
    <element id="Composition.section:procedure.code">
      <path value="Composition.section.code"/> 
      <min value="1"/> 
      <patternCodeableConcept> 
        <coding> 
          <system value="http://loinc.org"/> 
          <code value="29554-3"/> 
          <display value="Procedure Narrative"/> 
        </coding> 
      </patternCodeableConcept> 
    </element> 
    <element id="Composition.section:medications">
      <path value="Composition.section"/> 
      <sliceName value="medications"/> 
    </element> 
    <element id="Composition.section:medications.title">
      <path value="Composition.section.title"/> 
      <min value="1"/> 
      <fixedString value="Medications Administered"/> 
    </element> 
    <element id="Composition.section:medications.code">
      <path value="Composition.section.code"/> 
      <min value="1"/> 
      <patternCodeableConcept> 
        <coding> 
          <system value="http://loinc.org"/> 
          <code value="29549-3"/> 
          <display value="Medication administered Narrative"/> 
        </coding> 
      </patternCodeableConcept> 
    </element> 
    <element id="Composition.section:plan">
      <path value="Composition.section"/> 
      <sliceName value="plan"/> 
    </element> 
    <element id="Composition.section:plan.title">
      <path value="Composition.section.title"/> 
      <min value="1"/> 
      <fixedString value="Discharge Treatment Plan"/> 
    </element> 
    <element id="Composition.section:plan.code">
      <path value="Composition.section.code"/> 
      <min value="1"/> 
      <patternCodeableConcept> 
        <coding> 
          <system value="http://loinc.org"/> 
          <code value="18776-5"/> 
          <display value="Plan of care note"/> 
        </coding> 
      </patternCodeableConcept> 
    </element> 
  </differential> 
</StructureDefinition> 

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.