FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Extension: Best Practice

Official URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice Version: 5.1.0
Standards status: Trial-use Maturity Level: 3 Computable Name: BestPractice
Other Identifiers: OID:2.16.840.1.113883.4.642.5.1620

Mark that an invariant represents ‘best practice’ rule - a rule that implementers may choose to enforce at error level in some or all circumstances.

Context of Use

This extension may be used on the following element(s):

  • Element ID ElementDefinition.constraint
  • Extension URL http://hl7.org/fhir/StructureDefinition/targetConstraint

Usage info

Usage:

Changes since version 1.0.0:

  • No changes
  • Formal Views of Extension Content

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

    This structure is derived from Extension

    Summary

    Simple Extension of type boolean, CodeableConcept: Mark that an invariant represents 'best practice' rule - a rule that implementers may choose to enforce at error level in some or all circumstances.

    Maturity: 3

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Extension 0..1 Extension Mark a warning invariant as 'best practice'
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"
    ... value[x] 1..1 Value of extension
    Binding: ContextOfUseValueSet (extensible)
    .... valueBoolean boolean
    .... valueCodeableConcept CodeableConcept

    doco Documentation for this format
    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Extension 0..1 Extension Mark a warning invariant as 'best practice'
    ... id 0..1 id Unique id for inter-element referencing
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"
    .... valueBoolean boolean
    .... valueCodeableConcept CodeableConcept

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Simple Extension of type boolean, CodeableConcept: Mark that an invariant represents 'best practice' rule - a rule that implementers may choose to enforce at error level in some or all circumstances.

    Maturity: 3

    Differential View

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Extension 0..1 Extension Mark a warning invariant as 'best practice'
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"
    ... value[x] 1..1 Value of extension
    Binding: ContextOfUseValueSet (extensible)
    .... valueBoolean boolean
    .... valueCodeableConcept CodeableConcept

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Extension 0..1 Extension Mark a warning invariant as 'best practice'
    ... id 0..1 id Unique id for inter-element referencing
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"
    .... valueBoolean boolean
    .... valueCodeableConcept CodeableConcept

    doco Documentation for this format

     

    Other representations of profile: CSV, Excel, Schematron

    Terminology Bindings

    PathConformanceValueSetURI
    Extension.value[x]extensibleContextOfUseValueSet
    http://hl7.org/fhir/ValueSet/use-context
    from the FHIR Standard

    Constraints

    IdGradePath(s)DetailsRequirements
    ele-1error**ALL** elementsAll FHIR elements must have a @value or children
    : hasValue() or (children().count() > id.count())
    ext-1error**ALL** extensionsMust have either extensions or value[x], not both
    : extension.exists() != value.exists()

    Search Parameters for this Extension

    (none found)