This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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 R3
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw XML (canonical form + also see XML Format Specification)
GraphDefinition example (id = "example")
<?xml version="1.0" encoding="UTF-8"?> <GraphDefinition xmlns="http://hl7.org/fhir"> <id value="example"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p> <b> Generated Narrative</b> </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 "example" </p> </div> <p> <b> url</b> : <code> http://h7.org/fhir/GraphDefinition/example</code> </p> <p> <b> name</b> : Document Generation Template </p> <p> <b> status</b> : draft </p> <p> <b> date</b> : 2015-08-04 </p> <p> <b> publisher</b> : FHIR Project </p> <p> <b> contact</b> : <a href="http://hl7.org/fhir">http://hl7.org/fhir</a> </p> <p> <b> description</b> : Specify to include list references when generating a document using the $document operation </p> <p> <b> start</b> : Composition </p> <blockquote> <p> <b> link</b> </p> <p> <b> path</b> : Composition.section.entry </p> <p> <b> description</b> : Link to List </p> <blockquote> <p> <b> target</b> </p> <p> <b> type</b> : List </p> <h3> Compartments</h3> <table class="grid"> <tr> <td> -</td> <td> <b> Use</b> </td> <td> <b> Code</b> </td> <td> <b> Rule</b> </td> </tr> <tr> <td> *</td> <td> requirement</td> <td> Patient</td> <td> identical</td> </tr> </table> <blockquote> <p> <b> link</b> </p> <p> <b> path</b> : List.entry.item </p> <p> <b> description</b> : Include any list entries </p> </blockquote> </blockquote> </blockquote> </div> </text> <url value="http://h7.org/fhir/GraphDefinition/example"/> <name value="Document Generation Template"/> <status value="draft"/> <experimental value="true"/> <date value="2015-08-04"/> <publisher value="FHIR Project"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> </contact> <description value="Specify to include list references when generating a document using the $document operation"/> <start value="Composition"/> <link> <path value="Composition.section.entry"/> <description value="Link to List"/> <target> <type value="List"/> <compartment> <use value="requirement"/> <code value="Patient"/> <rule value="identical"/> </compartment> <link> <path value="List.entry.item"/> <description value="Include any list entries"/> <target> <type value="Resource"/> <compartment> <use value="requirement"/> <code value="Patient"/> <rule value="identical"/> </compartment> </target> </link> </target> </link> </GraphDefinition>
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.