This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
GraphDefinition example
{
"resourceType" : "GraphDefinition",
"id" : "example",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
}],
"url" : "http://h7.org/fhir/GraphDefinition/example",
"name" : "DocumentGenerationTemplate",
"title" : "Document Generation Template",
"status" : "draft",
"date" : "2015-08-04",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}]
}],
"description" : "Specify to include list references when generating a document using the $document operation",
"start" : "comp1",
"node" : [{
"nodeId" : "comp1",
"description" : "The base composition",
"type" : "Composition",
"profile" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
},
{
"nodeId" : "list1",
"description" : "A list resource that a section entry reference points to",
"type" : "List"
},
{
"nodeId" : "resN",
"description" : "Generic resource that's the target of a list reference",
"type" : "Resource"
}],
"link" : [{
"description" : "Link from Composition.section to list",
"sourceId" : "comp1",
"path" : "Composition.section.entry",
"targetId" : "list1",
"compartment" : [{
"use" : "requires",
"rule" : "identical",
"code" : "Patient"
}]
},
{
"description" : "Include any list entries",
"sourceId" : "list1",
"path" : "List.entry.item",
"targetId" : "resN",
"compartment" : [{
"use" : "requires",
"rule" : "identical",
"code" : "Patient"
}]
}]
}
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.