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)

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"/> 
  <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"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </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.