Polaris FHIR Implementation Guide
1.9.6 - ci-build

Polaris FHIR Implementation Guide - Local Development build (v1.9.6) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Extension: PolarisCanvasAnnotationExtension - FSH Source

Draft as of 2025-07-23

FSH source of the polaris-canvas-annotation extension.

Raw FSH | Download

Extension: PolarisCanvasAnnotationExtension
Id: polaris-canvas-annotation
Title: "Polaris Canvas Annotation Extension"
Description: "Supports drawings, signatures, positioned elements, and embedded complete sections at specific coordinates on canvas"
* ^status = #draft
* ^version = "1.0.0"
* ^date = "2025-07-23"
* ^publisher = "Polaris FHIR Implementation Guide"
* ^contact.telecom.system = #url
* ^contact.telecom.value = "https://fhir.apps.health"
* ^context.type = #element
* ^context.expression = "DocumentReference"
* extension contains
    annotationType 1..1 MS and
    coordinates 1..1 MS and
    content 0..1 MS and
    embeddedSection 0..1 MS and
    style 0..1 MS
* extension[annotationType].value[x] only code
* extension[annotationType].valueCode from PolarisCanvasAnnotationTypes (required)
* extension[coordinates].value[x] only string  // JSON coordinate data
* extension[content].value[x] only string  // For simple text/drawing content
* extension[embeddedSection].value[x] only string  // JSON representation of embedded section
* extension[style].value[x] only string  // CSS-like styling

// Extension for canvas metadata