GraphDefinition
FoundationA 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.
| Path | Card. | Type | Description & Constraints |
|---|---|---|---|
| GraphDefinition | 0..* | — | Definition of a graph of resources |
| .idΣ | 0..1 | String | Logical id of this artifact |
| .metaΣ | 0..1 | Meta | Metadata about the resource |
| .implicitRules?!Σ | 0..1 | uri | A set of rules under which this content was created |
| .language | 0..1 | code | Language of the resource content Bindinglanguages(preferred) |
| .text | 0..1 | Narrative | Text summary of the resource, for human interpretation |
| .contained | 0..* | Resource | Contained, inline Resources |
| .extension | 0..* | Extension | Additional content defined by implementations |
| .modifierExtension?! | 0..* | Extension | Extensions that cannot be ignored |
| .urlΣ | 0..1 | uri | Canonical identifier for this graph definition, represented as a URI (globally unique) |
| .versionΣ | 0..1 | string | Business version of the graph definition |
| .nameΣ | 1..1 | string | Name for this graph definition (computer friendly) |
| .status?!Σ | 1..1 | code | draft | active | retired | unknown Bindingpublication-status(required) |
| .experimentalΣ | 0..1 | boolean | For testing purposes, not real usage |
| .dateΣ | 0..1 | dateTime | Date last changed |
| .publisherΣ | 0..1 | string | Name of the publisher (organization or individual) |
| .contactΣ | 0..* | ContactDetail | Contact details for the publisher |
| .description | 0..1 | markdown | Natural language description of the graph definition |
| .useContextΣ | 0..* | UsageContext | The context that the content is intended to support |
| .jurisdictionΣ | 0..* | CodeableConcept | Intended jurisdiction for graph definition (if applicable) Bindingjurisdiction(extensible) |
| .purpose | 0..1 | markdown | Why this graph definition is defined |
| .startΣ | 1..1 | code | Type of resource at which the graph starts Bindingresource-types(required) |
| .profile | 0..1 | canonical | Profile on base resource |
| .link | 0..* | BackboneElement | Links this graph makes rules about |
| .id | 0..1 | String | Unique id for inter-element referencing |
| .extension | 0..* | Extension | Additional content defined by implementations |
| .modifierExtension?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
| .path | 0..1 | string | Path in the resource that contains the link |
| .sliceName | 0..1 | string | Which slice (if profiled) |
| .min | 0..1 | integer | Minimum occurrences for this link |
| .max | 0..1 | string | Maximum occurrences for this link |
| .description | 0..1 | string | Why this link is specified |
| .target | 0..* | BackboneElement | Potential target for the link |
| .id | 0..1 | String | Unique id for inter-element referencing |
| .extension | 0..* | Extension | Additional content defined by implementations |
| .modifierExtension?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
| .type | 1..1 | code | Type of resource this link refers to Bindingresource-types(required) |
| .params | 0..1 | string | Criteria for reverse lookup |
| .profile | 0..1 | canonical | Profile for the target resource |
| .compartment | 0..* | BackboneElement | Compartment Consistency Rules |
| .id | 0..1 | String | Unique id for inter-element referencing |
| .extension | 0..* | Extension | Additional content defined by implementations |
| .modifierExtension?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
| .use | 1..1 | code | condition | requirement Bindinggraph-compartment-use(required) |
| .code | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device Bindingcompartment-type(required) |
| .rule | 1..1 | code | identical | matching | different | custom Bindinggraph-compartment-rule(required) |
| .expression | 0..1 | string | Custom rule, as a FHIRPath expression |
| .description | 0..1 | string | Documentation for FHIRPath expression |
| .link | 0..* | — | Additional links from target resource |