Extensions for Using Data Elements from FHIR R4 in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R4 in FHIR STU3 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R4_GraphDefinition_R3

Official URL: http://hl7.org/fhir/4.0/StructureDefinition/profile-GraphDefinition Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R4_GraphDefinition_R3

This cross-version profile allows R4 GraphDefinition content to be represented via FHIR STU3 GraphDefinition resources.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GraphDefinition 0..* GraphDefinition Definition of an graph of resources
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... name Σ 1..1 string Name for this graph definition (computer friendly)
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... start 1..1 code Type of resource at which the graph starts
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:start 0..1 code R4: start
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.start
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GraphDefinition.status Base required PublicationStatus 📍3.0.2 FHIR Std.
GraphDefinition.start Base required ResourceType . 📍3.0.2 tx.fhir.org

Constraints

Id Grade Path(s) Description Expression
dom-1 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GraphDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error GraphDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from GraphDefinition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GraphDefinition 0..* GraphDefinition Definition of an graph of resources
... start
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:start 0..1 code R4: start
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.start
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
... link
.... target
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:params 0..1 string R4: Criteria for reverse lookup (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.params
..... type
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:type 0..1 code R4: type
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.type
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
..... compartment
...... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:use 1..1 code R4: condition | requirement (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.compartment.use
Binding: R4GraphCompartmentUseForR3 (0.1.0) (required): Defines how a compartment rule is used.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GraphDefinition 0..* GraphDefinition Definition of an graph of resources
... id Σ 0..1 id 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... 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 Logical URI to reference this graph definition (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
Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map.
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... date Σ 0..1 dateTime Date this was 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 Context the content is intended to support
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for graph definition (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use
... purpose 0..1 markdown Why this graph definition is defined
... start 1..1 code Type of resource at which the graph starts
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:start 0..1 code R4: start
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.start
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
.... value 0..1 code Primitive value for code
... profile 0..1 uri Profile on base resource
... link 0..* BackboneElement Links this graph makes rules about
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... path 1..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 1..* BackboneElement Potential target for the link
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:params 0..1 string R4: Criteria for reverse lookup (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.params
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... type 1..1 code Type of resource this link refers to
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
...... id 0..1 string xml:id (or equivalent in JSON)
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:type 0..1 code R4: type
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.type
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
...... value 0..1 code Primitive value for code
..... profile 0..1 uri Profile for the target resource
..... compartment 0..* BackboneElement Compartment Consistency Rules
...... id 0..1 string xml:id (or equivalent in JSON)
...... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:use 1..1 code R4: condition | requirement (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.compartment.use
Binding: R4GraphCompartmentUseForR3 (0.1.0) (required): Defines how a compartment rule is used.
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
...... code 1..1 code Identifies the compartment
Binding: CompartmentType (required): Identifies a compartment
...... rule 1..1 code identical | matching | different | custom
Binding: GraphCompartmentRule (required): How a compartment must be linked
...... expression 0..1 string Custom rule, as a FHIRPath expression
...... description 0..1 string Documentation for FHIRPath expression
..... link 0..* See link (GraphDefinition) Additional links from target resource

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GraphDefinition.language Base extensible Common Languages 📍3.0.2 FHIR Std.
GraphDefinition.status Base required PublicationStatus 📍3.0.2 FHIR Std.
GraphDefinition.jurisdiction Base extensible Jurisdiction ValueSet 📍3.0.2 FHIR Std.
GraphDefinition.start Base required ResourceType . 📍3.0.2 tx.fhir.org
GraphDefinition.link.​target.type Base required ResourceType . 📍3.0.2 tx.fhir.org
GraphDefinition.link.​target.compartment.code Base required CompartmentType 📍3.0.2 FHIR Std.
GraphDefinition.link.​target.compartment.rule Base required GraphCompartmentRule 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GraphDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error GraphDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GraphDefinition 0..* GraphDefinition Definition of an graph of resources
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... name Σ 1..1 string Name for this graph definition (computer friendly)
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... start 1..1 code Type of resource at which the graph starts
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:start 0..1 code R4: start
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.start
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GraphDefinition.status Base required PublicationStatus 📍3.0.2 FHIR Std.
GraphDefinition.start Base required ResourceType . 📍3.0.2 tx.fhir.org

Constraints

Id Grade Path(s) Description Expression
dom-1 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GraphDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error GraphDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from GraphDefinition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GraphDefinition 0..* GraphDefinition Definition of an graph of resources
... start
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:start 0..1 code R4: start
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.start
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
... link
.... target
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:params 0..1 string R4: Criteria for reverse lookup (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.params
..... type
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:type 0..1 code R4: type
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.type
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
..... compartment
...... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:use 1..1 code R4: condition | requirement (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.compartment.use
Binding: R4GraphCompartmentUseForR3 (0.1.0) (required): Defines how a compartment rule is used.

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GraphDefinition 0..* GraphDefinition Definition of an graph of resources
... id Σ 0..1 id 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... 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 Logical URI to reference this graph definition (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
Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map.
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... date Σ 0..1 dateTime Date this was 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 Context the content is intended to support
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for graph definition (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use
... purpose 0..1 markdown Why this graph definition is defined
... start 1..1 code Type of resource at which the graph starts
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:start 0..1 code R4: start
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.start
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
.... value 0..1 code Primitive value for code
... profile 0..1 uri Profile on base resource
... link 0..* BackboneElement Links this graph makes rules about
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... path 1..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 1..* BackboneElement Potential target for the link
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:params 0..1 string R4: Criteria for reverse lookup (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.params
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... type 1..1 code Type of resource this link refers to
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
...... id 0..1 string xml:id (or equivalent in JSON)
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:type 0..1 code R4: type
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.type
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
...... value 0..1 code Primitive value for code
..... profile 0..1 uri Profile for the target resource
..... compartment 0..* BackboneElement Compartment Consistency Rules
...... id 0..1 string xml:id (or equivalent in JSON)
...... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:use 1..1 code R4: condition | requirement (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target.compartment.use
Binding: R4GraphCompartmentUseForR3 (0.1.0) (required): Defines how a compartment rule is used.
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
...... code 1..1 code Identifies the compartment
Binding: CompartmentType (required): Identifies a compartment
...... rule 1..1 code identical | matching | different | custom
Binding: GraphCompartmentRule (required): How a compartment must be linked
...... expression 0..1 string Custom rule, as a FHIRPath expression
...... description 0..1 string Documentation for FHIRPath expression
..... link 0..* See link (GraphDefinition) Additional links from target resource

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GraphDefinition.language Base extensible Common Languages 📍3.0.2 FHIR Std.
GraphDefinition.status Base required PublicationStatus 📍3.0.2 FHIR Std.
GraphDefinition.jurisdiction Base extensible Jurisdiction ValueSet 📍3.0.2 FHIR Std.
GraphDefinition.start Base required ResourceType . 📍3.0.2 tx.fhir.org
GraphDefinition.link.​target.type Base required ResourceType . 📍3.0.2 tx.fhir.org
GraphDefinition.link.​target.compartment.code Base required CompartmentType 📍3.0.2 FHIR Std.
GraphDefinition.link.​target.compartment.rule Base required GraphCompartmentRule 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error GraphDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GraphDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error GraphDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron