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.
description: 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.
derivation: specialization
name: GraphDefinition
type: GraphDefinition
elements:
  description: {short: Natural language description of the graph definition, index: 8}
  date: {short: Date last changed, isSummary: true, index: 5}
  publisher: {short: Name of the publisher (organization or individual), isSummary: true, index: 6}
  jurisdiction:
    short: Intended jurisdiction for graph definition (if applicable)
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/jurisdiction'}
    isSummary: true
    index: 10
  purpose: {short: Why this graph definition is defined, index: 11}
  name: {short: Name for this graph definition (computer friendly), isSummary: true, index: 2}
  start:
    short: Type of resource at which the graph starts
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/resource-types|4.0.1'}
    isSummary: true
    index: 12
  useContext: {short: The context that the content is intended to support, array: true, isSummary: true, index: 9}
  experimental: {short: 'For testing purposes, not real usage', isSummary: true, index: 4}
  status:
    isModifier: true
    short: draft | active | retired | unknown
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/publication-status|4.0.1'}
    isModifierReason: This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration
    isSummary: true
    index: 3
  link:
    short: Links this graph makes rules about
    array: true
    index: 14
    elements:
      path: {short: Path in the resource that contains the link, index: 15}
      sliceName: {short: Which slice (if profiled), index: 16}
      min: {short: Minimum occurrences for this link, index: 17}
      max: {short: Maximum occurrences for this link, index: 18}
      description: {short: Why this link is specified, index: 19}
      target:
        short: Potential target for the link
        array: true
        index: 20
        elements:
          type:
            short: Type of resource this link refers to
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/resource-types|4.0.1'}
            index: 21
          params: {short: Criteria for reverse lookup, index: 22}
          profile: {short: Profile for the target resource, index: 23}
          compartment:
            short: Compartment Consistency Rules
            array: true
            index: 24
            elements:
              use:
                short: condition | requirement
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/graph-compartment-use|4.0.1'}
                index: 25
              code:
                short: Patient | Encounter | RelatedPerson | Practitioner | Device
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/compartment-type|4.0.1'}
                index: 26
              rule:
                short: identical | matching | different | custom
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/graph-compartment-rule|4.0.1'}
                index: 27
              expression: {short: 'Custom rule, as a FHIRPath expression', index: 28}
              description: {short: Documentation for FHIRPath expression, index: 29}
            required: [rule, use, code]
          link:
            elementReference: ['http://hl7.org/fhir/StructureDefinition/GraphDefinition', elements, link]
            short: Additional links from target resource
            array: true
            index: 30
        required: [type]
  url: {short: 'Canonical identifier for this graph definition, represented as a URI (globally unique)', isSummary: true, index: 0}
  version: {short: Business version of the graph definition, isSummary: true, index: 1}
  contact: {short: Contact details for the publisher, array: true, isSummary: true, index: 7}
  profile: {short: Profile on base resource, index: 13}
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/GraphDefinition
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [name, status, start]