http://hl7.org/fhir/StructureDefinition/GraphDefinition|4.0.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.
| Name | Flags | Card | Type | Description & Constraints |
|---|---|---|---|---|
GraphDefinition | 0..* | Definition of a graph of resources | ||
Σ | 0..1 | uri | Canonical identifier for this graph definition, represented as a URI (globally unique) | |
Σ | 0..1 | string | Business version of the graph definition | |
Σ | 1..1 | string | Name for this graph definition (computer friendly) | |
?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (required) | |
Σ | 0..1 | boolean | For testing purposes, not real usage | |
Σ | 0..1 | dateTime | Date last changed | |
Σ | 0..1 | string | Name of the publisher (organization or individual) | |
Σ | 0..* | ContactDetail | Contact details for the publisher | |
| 0..1 | markdown | Natural language description of the graph definition | ||
Σ | 0..* | UsageContext | The context that the content is intended to support | |
Σ | 0..* | CodeableConcept | Intended jurisdiction for graph definition (if applicable) Jurisdiction (extensible) | |
| 0..1 | markdown | Why this graph definition is defined | ||
Σ | 1..1 | code | Type of resource at which the graph starts ResourceType (required) | |
| 0..1 | canonical | Profile on base resource | ||
| 0..* | BackboneElement | Links this graph makes rules about | ||
| 0..1 | string | Path in the resource that contains the link | ||
| 0..1 | string | Which slice (if profiled) | ||
| 0..1 | integer | Minimum occurrences for this link | ||
| 0..1 | string | Maximum occurrences for this link | ||
| 0..1 | string | Why this link is specified | ||
| 0..* | BackboneElement | Potential target for the link | ||
| 1..1 | code | Type of resource this link refers to ResourceType (required) | ||
| 0..1 | string | Criteria for reverse lookup | ||
| 0..1 | canonical | Profile for the target resource | ||
| 0..* | BackboneElement | Compartment Consistency Rules | ||
| 1..1 | code | condition | requirement GraphCompartmentUse (required) | ||
| 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device CompartmentCode (required) | ||
| 1..1 | code | identical | matching | different | custom GraphCompartmentRule (required) | ||
| 0..1 | string | Custom rule, as a FHIRPath expression | ||
| 0..1 | string | Documentation for FHIRPath expression | ||
| 0..* | Additional links from target resource |