http://hl7.org/fhir/StructureDefinition/GraphDefinition|5.0.0

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: {isModifier: false, short: Natural language description of the graph definition, mustSupport: false, isSummary: false, index: 12}
  date: {isModifier: false, short: Date last changed, mustSupport: false, isSummary: true, index: 9}
  publisher: {isModifier: false, short: Name of the publisher/steward (organization or individual), mustSupport: false, isSummary: true, index: 10}
  jurisdiction:
    isModifier: false
    short: Intended jurisdiction for graph definition (if applicable)
    mustSupport: false
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/jurisdiction'}
    isSummary: true
    index: 14
  purpose: {isModifier: false, short: Why this graph definition is defined, mustSupport: false, isSummary: false, index: 15}
  name: {isModifier: false, short: Name for this graph definition (computer friendly), mustSupport: false, isSummary: true, index: 5}
  copyrightLabel: {isModifier: false, short: Copyright holder and year(s), mustSupport: false, isSummary: false, index: 17}
  start: {isModifier: false, short: Starting Node, mustSupport: false, isSummary: false, index: 18}
  useContext: {isModifier: false, short: The context that the content is intended to support, mustSupport: false, array: true, isSummary: true, index: 13}
  copyright: {isModifier: false, short: Use and/or publishing restrictions, mustSupport: false, isSummary: false, index: 16}
  versionAlgorithm:
    isModifier: false
    short: How to compare versions
    mustSupport: false
    choices: []
    isSummary: true
    index: 4
  experimental: {isModifier: false, short: 'For testing purposes, not real usage', mustSupport: false, meaningWhenMissing: 'If absent, this resource is treated as though it is not experimental.', isSummary: true, index: 8}
  node:
    isModifier: false
    short: Potential target for the link
    mustSupport: false
    array: true
    isSummary: false
    index: 19
    elements:
      nodeId: {isModifier: false, short: Internal ID - target for link references, mustSupport: false, isSummary: false, index: 20}
      description: {isModifier: false, short: Why this node is specified, mustSupport: false, isSummary: false, index: 21}
      type:
        isModifier: false
        short: Type of resource this link refers to
        mustSupport: false
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/version-independent-all-resource-types|5.0.0'}
        isSummary: false
        index: 22
      profile: {isModifier: false, short: Profile for the target resource, mustSupport: false, isSummary: false, index: 23}
    required: [nodeId, type]
  title: {isModifier: false, short: Name for this graph definition (human friendly), mustSupport: false, isSummary: true, index: 6}
  status:
    isModifier: true
    short: draft | active | retired | unknown
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/publication-status|5.0.0'}
    isModifierReason: This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration
    isSummary: true
    index: 7
  link:
    isModifier: false
    short: Links this graph makes rules about
    mustSupport: false
    array: true
    isSummary: false
    index: 24
    elements:
      description: {isModifier: false, short: Why this link is specified, mustSupport: false, isSummary: false, index: 25}
      path: {isModifier: false, short: Path in the resource that contains the link, mustSupport: false, isSummary: false, index: 29}
      min: {isModifier: false, short: Minimum occurrences for this link, mustSupport: false, isSummary: false, index: 26}
      targetId: {isModifier: false, short: Target Node for this link, mustSupport: false, isSummary: false, index: 31}
      params: {isModifier: false, short: Criteria for reverse lookup, mustSupport: false, isSummary: false, index: 32}
      sliceName: {isModifier: false, short: Which slice (if profiled), mustSupport: false, isSummary: false, index: 30}
      max: {isModifier: false, short: Maximum occurrences for this link, mustSupport: false, isSummary: false, index: 27}
      compartment:
        isModifier: false
        short: Compartment Consistency Rules
        mustSupport: false
        array: true
        isSummary: false
        index: 33
        elements:
          use:
            isModifier: false
            short: where | requires
            mustSupport: false
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/graph-compartment-use|5.0.0'}
            isSummary: false
            index: 34
          rule:
            isModifier: false
            short: identical | matching | different | custom
            mustSupport: false
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/graph-compartment-rule|5.0.0'}
            isSummary: false
            index: 35
          code:
            isModifier: false
            short: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare
            mustSupport: false
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/compartment-type|5.0.0'}
            isSummary: false
            index: 36
          expression: {isModifier: false, short: 'Custom rule, as a FHIRPath expression', mustSupport: false, isSummary: false, index: 37}
          description: {isModifier: false, short: Documentation for FHIRPath expression, mustSupport: false, isSummary: false, index: 38}
        required: [rule, use, code]
      sourceId: {isModifier: false, short: Source Node for this link, mustSupport: false, isSummary: false, index: 28}
    required: [targetId, sourceId]
  url:
    constraint:
      cnl-1: {human: 'URL should not contain | or # - these characters make processing canonical references problematic', source: 'http://hl7.org/fhir/StructureDefinition/GraphDefinition', severity: warning, expression: 'exists() implies matches(''^[^|# ]+$'')'}
    isModifier: false
    short: Canonical identifier for this graph definition, represented as a URI (globally unique)
    mustSupport: false
    isSummary: true
    index: 0
  identifier: {isModifier: false, short: Additional identifier for the GraphDefinition (business identifier), mustSupport: false, array: true, isSummary: true, index: 1}
  version: {isModifier: false, short: Business version of the graph definition, mustSupport: false, isSummary: true, index: 2}
  contact: {isModifier: false, short: Contact details for the publisher, mustSupport: false, array: true, isSummary: true, index: 11}
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/GraphDefinition
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 5.0.0
required: [name, status]