Skip to main content

GraphDefinition

ResourceFoundation · ConformanceTrial useMaturity 1

A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
12 of 14 parameters tested

Structure​

ElementCard.TypeDescription
urlΣ
0..1uriCanonical identifier for this graph definition, represented as a URI (globally unique)
versionΣ
0..1stringBusiness version of the graph definition
nameRequiredΣ
1..1stringName for this graph definition (computer friendly)
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
description
0..1markdownNatural language description of the graph definition
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for graph definition (if applicable)Binding (extensible): jurisdiction
purpose
0..1markdownWhy this graph definition is defined
startRequiredΣ
1..1codeType of resource at which the graph startsBinding (required): resource-types
profile
0..1canonical(StructureDefinition)Profile on base resource
path
0..1stringPath in the resource that contains the link
sliceName
0..1stringWhich slice (if profiled)
min
0..1integerMinimum occurrences for this link
max
0..1stringMaximum occurrences for this link
description
0..1stringWhy this link is specified
target
0..*BackboneElementPotential target for the link
typeRequired
1..1codeType of resource this link refers toBinding (required): resource-types
params
0..1stringCriteria for reverse lookup
profile
0..1canonical(StructureDefinition)Profile for the target resource
compartment
0..*BackboneElementCompartment Consistency Rules
useRequired
1..1codecondition | requirementBinding (required): graph-compartment-use
codeRequired
1..1codePatient | Encounter | RelatedPerson | Practitioner | DeviceBinding (required): compartment-type
ruleRequired
1..1codeidentical | matching | different | customBinding (required): graph-compartment-rule
expression
0..1stringCustom rule, as a FHIRPath expression
description
0..1stringDocumentation for FHIRPath expression

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/GraphDefinition?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
contexttoken

A use context assigned to the graph definition

(GraphDefinition.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the graph definition

(GraphDefinition.useContext.value.ofType(Quantity)) | (GraphDefinition.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the graph definition

GraphDefinition.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the graph definition

GraphDefinition.useContext
context-type-valuecomposite

A use context type and value assigned to the graph definition

GraphDefinition.useContext
datedate

The graph definition publication date

GraphDefinition.date
descriptionstring

The description of the graph definition

GraphDefinition.description
jurisdictiontoken

Intended jurisdiction for the graph definition

GraphDefinition.jurisdiction
namestring

Computationally friendly name of the graph definition

GraphDefinition.name
publisherstring

Name of the publisher of the graph definition

GraphDefinition.publisher
starttoken

Type of resource at which the graph starts

GraphDefinition.start
statustoken

The current status of the graph definition

GraphDefinition.status
urluri

The uri that identifies the graph definition

GraphDefinition.url
versiontoken

The business version of the graph definition

GraphDefinition.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition