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 (JSON)

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

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

Example showing how to define Section Level Profiles

{
  "resourceType" : "StructureDefinition",
  "id" : "example-section-library",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  }],
  "url" : "http://hl7.org/fhir/StructureDefinition/example-section-library",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.5.1041"
  }],
  "name" : "DocumentSectionLibrary",
  "title" : "Document Section Library (For testing section templates)",
  "status" : "active",
  "experimental" : false,
  "date" : "2018-11-05T17:57:00+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "Document Section Library (For testing section templates)",
  "kind" : "resource",
  "abstract" : true,
  "type" : "Composition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Composition",
      "path" : "Composition"
    },
    {
      "id" : "Composition.section",
      "path" : "Composition.section",
      "slicing" : {
        "discriminator" : [{
          "type" : "pattern",
          "path" : "code"
        }],
        "description" : "Slice by .section.code when using this library of sections",
        "ordered" : true,
        "rules" : "closed"
      }
    },
    {
      "id" : "Composition.section:procedure",
      "path" : "Composition.section",
      "sliceName" : "procedure"
    },
    {
      "id" : "Composition.section:procedure.title",
      "path" : "Composition.section.title",
      "min" : 1,
      "fixedString" : "Procedures Performed"
    },
    {
      "id" : "Composition.section:procedure.code",
      "path" : "Composition.section.code",
      "min" : 1,
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "29554-3",
          "display" : "Procedure Narrative"
        }]
      }
    },
    {
      "id" : "Composition.section:medications",
      "path" : "Composition.section",
      "sliceName" : "medications"
    },
    {
      "id" : "Composition.section:medications.title",
      "path" : "Composition.section.title",
      "min" : 1,
      "fixedString" : "Medications Administered"
    },
    {
      "id" : "Composition.section:medications.code",
      "path" : "Composition.section.code",
      "min" : 1,
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "29549-3",
          "display" : "Medication administered Narrative"
        }]
      }
    },
    {
      "id" : "Composition.section:plan",
      "path" : "Composition.section",
      "sliceName" : "plan"
    },
    {
      "id" : "Composition.section:plan.title",
      "path" : "Composition.section.title",
      "min" : 1,
      "fixedString" : "Discharge Treatment Plan"
    },
    {
      "id" : "Composition.section:plan.code",
      "path" : "Composition.section.code",
      "min" : 1,
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "18776-5",
          "display" : "Plan of care note"
        }]
      }
    }]
  }
}

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.