FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageiknl.fhir.r4.pzp
Resource TypeStructureDefinition
IdStructureDefinition-ext-EncounterReference.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/IKNL/PZP-FHIR-R4/StructureDefinition-ext-EncounterReference.html
URLhttps://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference
Version1.0.0-rc1
Statusdraft
Date2025-12-15T15:26:23+00:00
NameExtEncounterReference
Titleext Encounter Reference
DescriptionAn extension to link the Encounter during which the Consent, Goal or DeviceUseStatement was created or to which the creation is tightly associated.
PurposeFor some resources it may be important to know the link between the resource and a particular encounter while this is not part of the base resource. This extension allows to link the resource to the Encounter context.
CopyrightCopyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.
TypeExtension
Kindcomplex-type

Resources that use this resource

StructureDefinition
ACP-AdvanceDirectiveAdvanceDirective
ACP-Medical-Policy-GoalMedical Policy Goal
ACP-MedicalDeviceMedicalDevice
ACP-TreatmentDirectiveTreatmentDirective

Resources that this resource uses

No resources found


Examples of Use for Extension

ResourceVersion
iknl.fhir.r4.pzp#current:Consent/F1-ACP-TreatmentDirective-116762002R4
iknl.fhir.r4.pzp#current:Consent/F1-ACP-TreatmentDirective-281789004R4
iknl.fhir.r4.pzp#current:Consent/F1-ACP-TreatmentDirective-305351004R4
iknl.fhir.r4.pzp#current:Consent/F1-ACP-TreatmentDirective-32485007R4
iknl.fhir.r4.pzp#current:Consent/F1-ACP-TreatmentDirective-400231000146108R4
iknl.fhir.r4.pzp#current:Consent/F1-ACP-TreatmentDirective-40617009R4
iknl.fhir.r4.pzp#current:Consent/F1-ACP-TreatmentDirective-89666000R4
iknl.fhir.r4.pzp#current:Consent/F2-ACP-TreatmentDirective-305351004R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-AdvanceDirectiveR4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-281789004R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-305351004R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-32485007R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-400231000146108R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-40617009-1R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-40617009-2R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-89666000R4
iknl.fhir.r4.pzp#current:Consent/P2-ACP-TreatmentDirective-otherR4
iknl.fhir.r4.pzp#current:DeviceUseStatement/F1-ACP-MedicalDevice-ICDR4
iknl.fhir.r4.pzp#current:DeviceUseStatement/P2-ACP-MedicalDevice-ICDR4
iknl.fhir.r4.pzp#current:Goal/F1-ACP-Medical-Policy-GoalR4
iknl.fhir.r4.pzp#current:Goal/P2-ACP-Medical-Policy-GoalR4

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition ext-EncounterReference

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*Extension(4.0.1)ext Encounter Reference
... extension 0..0Extension
... url 1..1uri"https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference"
... value[x] 0..1Reference(Encounter)Encounter

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "ext-EncounterReference",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference",
  "version": "1.0.0-rc1",
  "name": "ExtEncounterReference",
  "title": "ext Encounter Reference",
  "status": "draft",
  "experimental": false,
  "date": "2025-12-15T15:26:23+00:00",
  "publisher": "IKNL",
  "contact": [
    {
      "name": "IKNL",
      "telecom": [
        {
          "system": "url",
          "value": "https://iknl.nl/"
        },
        {
          "system": "email",
          "value": "info@iknl.nl"
        }
      ]
    }
  ],
  "description": "An extension to link the Encounter during which the Consent, Goal or DeviceUseStatement was created or to which the creation is tightly associated.",
  "purpose": "For some resources it may be important to know the link between the resource and a particular encounter while this is not part of the base resource. This extension allows to link the resource to the Encounter context.",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Consent"
    },
    {
      "type": "element",
      "expression": "Goal"
    },
    {
      "type": "element",
      "expression": "DeviceUseStatement"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "ext Encounter Reference",
        "definition": "An extension to link the Encounter during which the Consent, Goal or DeviceUseStatement was created or to which the creation is tightly associated.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "uri"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "fixedUri": "https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Encounter",
        "definition": "The Encounter during which this resource was created or to which the creation is tightly associated.",
        "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. completing the administrative registration after the encounter).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "ext Encounter Reference",
        "definition": "An extension to link the Encounter during which the Consent, Goal or DeviceUseStatement was created or to which the creation is tightly associated."
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Encounter",
        "definition": "The Encounter during which this resource was created or to which the creation is tightly associated.",
        "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. completing the administrative registration after the encounter).",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1"
            ]
          }
        ]
      }
    ]
  }
}