"url": "http://h7.org/fhir/GraphDefinition/example"
"version":
"name": "Document Generation Template"
"status": "draft"
"experimental":
"date": "2015-08-04"
"publisher": "FHIR Project"
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org/fhir"
}
]
}
]
"description": "Specify to include list references when generating a document using the $document operation"
"useContext":
"jurisdiction":
"purpose":
"start": "Composition"
"profile":
"link": [
{
"path": "Composition.section.entry",
"description": "Link to List",
"target": [
{
"type": "List",
"compartment": [
{
"use": "requirement",
"code": "Patient",
"rule": "identical"
}
],
"link": [
{
"path": "List.entry.item",
"description": "Include any list entries",
"target": [
{
"type": "Resource",
"compartment": [
{
"use": "requirement",
"code": "Patient",
"rule": "identical"
}
]
}
]
}
]
}
]
}
]
{
"resourceType": "GraphDefinition",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>url</b>: <b>http://h7.org/fhir/GraphDefinition/example</b></p><p><b>name</b>: Document Generation Template</p><p><b>status</b>: draft</p><p><b>date</b>: 04/08/2015</p><p><b>publisher</b>: FHIR Project</p><p><b>contact</b>: </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><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><h3>Links</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote></blockquote></div>"
},
"url": "http://h7.org/fhir/GraphDefinition/example",
"name": "Document Generation Template",
"status": "draft",
"date": "2015-08-04",
"publisher": "FHIR Project",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org/fhir"
}
]
}
],
"description": "Specify to include list references when generating a document using the $document operation",
"start": "Composition",
"link": [
{
"path": "Composition.section.entry",
"description": "Link to List",
"target": [
{
"type": "List",
"compartment": [
{
"use": "requirement",
"code": "Patient",
"rule": "identical"
}
],
"link": [
{
"path": "List.entry.item",
"description": "Include any list entries",
"target": [
{
"type": "Resource",
"compartment": [
{
"use": "requirement",
"code": "Patient",
"rule": "identical"
}
]
}
]
}
]
}
]
}
]
}
{
"resourceType" : "GraphDefinition",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"url" : "<uri>", // Canonical identifier for this graph definition, represented as a URI (globally unique)
"version" : "<string>", // Business version of the graph definition
"name" : "<string>", // C? R! Name for this graph definition (computer friendly)
"status" : "<code>", // R! draft | active | retired | unknown
"experimental" : <boolean>, // For testing purposes, not real usage
"date" : "<dateTime>", // Date last changed
"publisher" : "<string>", // Name of the publisher (organization or individual)
"contact" : [{ ContactDetail }], // Contact details for the publisher
"description" : "<markdown>", // Natural language description of the graph definition
"useContext" : [{ UsageContext }], // The context that the content is intended to support
"jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for graph definition (if applicable)
"purpose" : "<markdown>", // Why this graph definition is defined
"start" : "<code>", // R! Type of resource at which the graph starts
"profile" : { canonical(StructureDefinition) }, // Profile on base resource
"link" : [{ // Links this graph makes rules about
"path" : "<string>", // Path in the resource that contains the link
"sliceName" : "<string>", // Which slice (if profiled)
"min" : <integer>, // Minimum occurrences for this link
"max" : "<string>", // Maximum occurrences for this link
"description" : "<string>", // Why this link is specified
"target" : [{ // Potential target for the link
"type" : "<code>", // R! Type of resource this link refers to
"params" : "<string>", // Criteria for reverse lookup
"profile" : { canonical(StructureDefinition) }, // Profile for the target resource
"compartment" : [{ // Compartment Consistency Rules
"use" : "<code>", // R! condition | requirement
"code" : "<code>", // R! Patient | Encounter | RelatedPerson | Practitioner | Device
"rule" : "<code>", // R! identical | matching | different | custom
"expression" : "<string>", // Custom rule, as a FHIRPath expression
"description" : "<string>" // Documentation for FHIRPath expression
}],
"link" : [{ Content as for GraphDefinition.link }] // Additional links from target resource
}]
}]
}
The following search parameters can be used to query GraphDefinition resources. Just submit them like so:
https://api.1up.health/fhir/r4/GraphDefinition?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|---|---|
context | text | useContext.value |
context-quantity | quantity | useContext.value |
context-type | text | useContext.code |
context-type-quantity | composite | useContext |
context-type-value | composite | useContext |
date | date | date |
description | text | description |
jurisdiction | text | jurisdiction |
name | text | name |
publisher | text | publisher |
start | text | start |
status | text | status |
url | uri | url |
version | text | version |