{
  "resourceType": "StructureDefinition",
  "id": "digidot-ServiceRequest-no",
  "url": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no",
  "version": "0.6.8",
  "name": "DigidotServiceRequestNo",
  "title": "DigiDOT ServiceRequest (NO)",
  "status": "draft",
  "date": "2026-10-19",
  "publisher": "Novari AS - DigiDOT",
  "description": "Readiness: [In review](https://simplifier.net/guide/Visual-overview/Home/Review-status-and-releases.page.md?version=current#readiness-servicerequest).\n\nProfile base: FHIR R4 ServiceRequest (http://hl7.org/fhir/StructureDefinition/ServiceRequest).\n\nRepresents planned or requested dental care, including routine recall, treatment, diagnostic assessment and follow-up. Use it to record what is proposed, planned or ordered, why it is needed and when it should take place. A request can guide one or more appointments and be linked to the care delivered. The Appointment profile represents the booking, while the Procedure profile records what was actually done, attempted or not done.\n\nSpecific service codes describe planned SNOMED CT procedure situations. A coded clinical reason may be supplied separately in reasonCode or linked as an existing finding through reasonReference.\n\nA recurring recall is an ongoing care plan: occurrenceTiming records its first due date and assessed interval. Completing one visit does not complete the plan. See the [recall and workflow guidance](https://simplifier.net/guide/Visual-overview/Home/ServiceRequest-use.page.md?version=current).",
  "purpose": "Use for clinical treatment requests and general recall plans. General recall is identified by category dental-recall and requested timing; no artificial SNOMED procedure code is required. Specific treatment, diagnostic and follow-up requests require a planned service code. Appointment schedules individual attendance; an ongoing recurring recall plan is not completed by one appointment.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "ServiceRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ServiceRequest",
        "path": "ServiceRequest",
        "short": "Planned, proposed or ordered dental service",
        "definition": "One planned, proposed or ordered dental service, including a specialist referral. Appointment schedules it, Encounter records care that actually happened, and Procedure or Observation records clinical actions/results. These resources retain independent identities and lifecycle states.",
        "constraint": [
          {
            "key": "digidot-sr-recall-occurrence",
            "severity": "error",
            "human": "A ServiceRequest with category dental-recall SHALL have occurrence[x] to express the recall due date, due window or cadence. The exact booked time belongs on Appointment.",
            "expression": "category.coding.where(system = 'https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category' and code = 'dental-recall').empty() or occurrence.exists()"
          },
          {
            "key": "digidot-sr-recall-plan",
            "severity": "warning",
            "human": "A ServiceRequest with category dental-recall SHOULD normally use intent = plan.",
            "expression": "category.coding.where(system = 'https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category' and code = 'dental-recall').empty() or intent = 'plan'"
          },
          {
            "key": "servicerequest-anatomy-same-release",
            "severity": "error",
            "human": "When bodySite is populated, SNOMED CT clinical codings use the Norwegian edition release http://snomed.info/sct/51000202101/version/20260715.",
            "expression": "bodySite.empty() or code.coding.where(system = 'http://snomed.info/sct').all(version = 'http://snomed.info/sct/51000202101/version/20260715')"
          },
          {
            "key": "digidot-sr-specific-service-code",
            "severity": "error",
            "human": "Only general dental recall may omit the clinical service code. Treatment, diagnostic and specific follow-up requests require code.",
            "expression": "category.coding.where(system = 'https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category' and code = 'dental-recall').exists() or code.exists()"
          },
          {
            "key": "digidot-sr-uncoded-recall-anatomy",
            "severity": "error",
            "human": "An uncoded general recall does not specify a tooth or anatomical target; targeted services require code.",
            "expression": "code.exists() or bodySite.empty()"
          },
          {
            "key": "digidot-sr-recall-cadence",
            "severity": "error",
            "human": "A recurring dental recall Timing must identify its first intended due date, interval length and interval unit.",
            "expression": "category.coding.where(system = 'https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category' and code = 'dental-recall').empty() or occurrence.ofType(Timing).empty() or (occurrence.ofType(Timing).repeat.bounds.ofType(Period).start.exists() and occurrence.ofType(Timing).repeat.period.exists() and occurrence.ofType(Timing).repeat.periodUnit.exists())"
          },
          {
            "key": "digidot-sr-recall-regular-interval",
            "severity": "error",
            "human": "A recurring general recall has one occurrence per positive fixed period; periodMax is not used.",
            "expression": "category.coding.where(system = 'https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category' and code = 'dental-recall').empty() or occurrence.ofType(Timing).empty() or (occurrence.ofType(Timing).repeat.period > 0 and occurrence.ofType(Timing).repeat.periodMax.empty())"
          },
          {
            "key": "digidot-status-known",
            "severity": "error",
            "human": "Do not use unknown as a default or an unmapped lifecycle status.",
            "expression": "status != 'unknown'"
          },
          {
            "key": "servicerequest-anatomy-version-match",
            "severity": "error",
            "human": "Every SNOMED CT anatomical coding in the inline body-structure extension must state the same edition release as SCTextended.",
            "expression": "bodySite.extension.where(url = 'https://novari.no/fhir/digidot/StructureDefinition/digidot-ehds-body-structure').extension.value.ofType(CodeableConcept).coding.where(system = 'http://snomed.info/sct').all(version.exists() and version = %resource.code.coding.where(id = 'SCTextended').version)",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ]
      },
      {
        "id": "ServiceRequest.implicitRules",
        "path": "ServiceRequest.implicitRules",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "The Central Storage representation follows the published DigiDOT profile, terminology release and exchange documentation. It does not use resource-specific implicit rules.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.contained",
        "path": "ServiceRequest.contained",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "Relevant resources must have their own FHIR identity, provenance, version history and searchable references in Central Storage.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.extension",
        "path": "ServiceRequest.extension",
        "short": "No root extensions in the current draft",
        "definition": "No named and governed ServiceRequest extension is in scope. A future extension requires a documented dental use case, a named and governed definition, and an explicit profile change.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.modifierExtension",
        "path": "ServiceRequest.modifierExtension",
        "short": "No modifier extensions in the current draft",
        "definition": "Modifier extensions can alter the meaning of a ServiceRequest. None is defined for the current DigiDOT scope.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.identifier",
        "path": "ServiceRequest.identifier",
        "short": "Stable source business identifiers when available",
        "definition": "Stable business identifiers for this record. If the source EHR or external system has a stable business identifier, it SHALL be included and preserved with its assigning system and value. The element is optional when no such identifier is available. Each supplied identifier SHALL contain system and value. Do not copy the local FHIR resource id merely to populate this element.",
        "min": 0,
        "max": "*",
        "mustSupport": true,
        "comment": "MustSupport requires producers to support conveying available source identifiers and receivers to support preserving them; it does not require inventing an identifier when none is available. Any additional identifier-assignment and matching requirements belong in the exchange contract. An integration-assigned identifier requires governed assignment and a persistent mapping across retries; never generate a fresh identifier on each submission. Different records retain their own identities, even when they share the same patient or care episode. Resource references and FHIR server id rules are unchanged."
      },
      {
        "id": "ServiceRequest.identifier.system",
        "path": "ServiceRequest.identifier.system",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.identifier.value",
        "path": "ServiceRequest.identifier.value",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.instantiatesCanonical",
        "path": "ServiceRequest.instantiatesCanonical",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "No ActivityDefinition or PlanDefinition instantiation model is agreed for the current dental planning scope.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.instantiatesUri",
        "path": "ServiceRequest.instantiatesUri",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "No external protocol-instantiation model is agreed for the current dental planning scope.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.basedOn",
        "path": "ServiceRequest.basedOn",
        "short": "Higher-level dental request that this request fulfils or refines",
        "definition": "Use basedOn only when this ServiceRequest fulfils or refines another DigiDOT ServiceRequest. Do not use it to link a performed procedure; the Procedure points back with Procedure.basedOn. If the source records this request relationship, it shall be populated.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
            ]
          }
        ],
        "mustSupport": true,
        "constraint": [
          {
            "key": "servicerequest-basedon-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ],
        "comment": "Use a literal reference to a separately stored resource conforming to a permitted target profile. Identifier-only and contained references are not permitted. The receiving service must check target existence and profile conformance."
      },
      {
        "id": "ServiceRequest.basedOn.reference",
        "path": "ServiceRequest.basedOn.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.basedOn.identifier",
        "path": "ServiceRequest.basedOn.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.replaces",
        "path": "ServiceRequest.replaces",
        "short": "Previous dental request that this request replaces",
        "definition": "A previous request superseded by this request. Preserve the old identity and history. A superseded unfulfilled request is normally revoked; completed means its requested service was actually fulfilled. Do not mark it completed merely because a replacement exists.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
            ]
          }
        ],
        "mustSupport": true,
        "constraint": [
          {
            "key": "servicerequest-replaces-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ],
        "comment": "Use a literal reference to a separately stored resource conforming to a permitted target profile. Identifier-only and contained references are not permitted. The receiving service must check target existence and profile conformance."
      },
      {
        "id": "ServiceRequest.replaces.reference",
        "path": "ServiceRequest.replaces.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.replaces.identifier",
        "path": "ServiceRequest.replaces.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.requisition",
        "path": "ServiceRequest.requisition",
        "short": "Composite source request identifier when available",
        "definition": "Use requisition only when the source EHR has a stable composite identifier that groups related requested services. It does not replace the individual ServiceRequest.identifier and does not create an additional clinical-plan model."
      },
      {
        "id": "ServiceRequest.status",
        "path": "ServiceRequest.status",
        "short": "Lifecycle status of the plan or request",
        "definition": "Lifecycle of this request. Use completed when the requested service has been fulfilled; sending a referral, booking a time, administrative closure or finishing one contact does not by itself fulfil it. Use revoked for withdrawal/cancellation before fulfilment and on-hold for a paused request. Define fulfilment against the requested scope; assessment-only and assessment-plus-treatment requests may complete at different stages.",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://novari.no/fhir/digidot/ValueSet/digidot-service-request-status"
        }
      },
      {
        "id": "ServiceRequest.intent",
        "path": "ServiceRequest.intent",
        "short": "Request intent",
        "definition": "Use the FHIR R4 RequestIntent codes according to the authority of the request. A proposed service may use proposal, an intended care plan normally uses plan, and an authorised referral or request to another performer may use order. Other standard intents remain available when their FHIR meaning fits the source workflow.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category",
        "path": "ServiceRequest.category",
        "short": "DigiDOT workflow category for the planned service",
        "definition": "Required request category. dental-recall identifies general periodic dental examinations, for which code is optional. dental-treatment, dental-diagnostic and dental-follow-up identify specific services and require code. Do not label targeted treatment as recall to omit its clinical code.",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://novari.no/fhir/digidot/ValueSet/digidot-service-request-category"
        }
      },
      {
        "id": "ServiceRequest.category.extension",
        "path": "ServiceRequest.category.extension",
        "short": "No extensions on the workflow category",
        "definition": "The category is represented by one canonical coding from the DigiDOT ServiceRequest Category ValueSet. Extensions are not used in the current draft.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category.coding",
        "path": "ServiceRequest.category.coding",
        "short": "Canonical DigiDOT workflow category coding",
        "definition": "Use exactly one coding with system https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category and one code from the DigiDOT ServiceRequest Category ValueSet. A display or source text may be included, but it is not the clinical planned-service name.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.category.coding.extension",
        "path": "ServiceRequest.category.coding.extension",
        "short": "No extensions on the workflow category coding",
        "definition": "The workflow category is represented directly by the governed DigiDOT coding. Extensions are not used in the current draft.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "short": "DigiDOT ServiceRequest Category CodeSystem",
        "definition": "Use the fixed DigiDOT ServiceRequest category CodeSystem. It distinguishes the workflow purpose of the request and is separate from the clinical SNOMED CT concept in ServiceRequest.code.",
        "min": 1,
        "fixedUri": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category"
      },
      {
        "id": "ServiceRequest.category.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "short": "DigiDOT workflow category code",
        "definition": "Select one code from the DigiDOT ServiceRequest Category ValueSet: dental-recall, dental-treatment, dental-diagnostic or dental-follow-up. The category must match the request purpose and must not be used as the clinical procedure code.",
        "min": 1
      },
      {
        "id": "ServiceRequest.category.coding.userSelected",
        "path": "ServiceRequest.category.coding.userSelected",
        "short": "Not used for the workflow category",
        "definition": "The DigiDOT workflow category is the agreed exchange representation. userSelected is not used in the current draft.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.priority",
        "path": "ServiceRequest.priority",
        "short": "Clinical priority of the requested service when known",
        "definition": "Use the standard FHIR priority when the source records a clinically relevant priority for the requested service. Do not infer priority from appointment availability or administrative scheduling.",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.doNotPerform",
        "path": "ServiceRequest.doNotPerform",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "The current dental planning model uses ServiceRequest.status = revoked for a cancelled request. No separate do-not-perform workflow has been agreed.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.code",
        "path": "ServiceRequest.code",
        "short": "Planned service; optional for general recall",
        "definition": "Optional for a general recall identified by category dental-recall and occurrence[x]; required for a specific treatment, diagnostic or follow-up service. Both slots describe a planned Situation identifying the requested procedure and Planned context. A generic Planned procedure concept is not specific enough. In an expression, nest anatomical refinements within Associated procedure, not on the outer Situation. Include exactly one SCTextended coding and optionally one SCTpre coding. SCTextended carries the complete intended meaning as either a single precoordinated SNOMED CT concept or a postcoordinated expression. SCTpre is an optional, directly usable concept representing the same clinical meaning at the same or a compatible broader level of detail. Do not add a duplicate companion merely to fill a slot. When both are present they must use the same edition release and must not contradict each other; the extended coding may add compatible precision. Compatible meaning must be checked through the terminology contract, not inferred from code equality. When bodySite is present, the extended coding must represent the same complete anatomical scope. Prefer a valid postcoordinated expression when additional clinical or anatomical detail needs to be represented. A single precoordinated concept is sufficient if its defined meaning already represents the complete intended scope. Validate concept membership, compositional grammar, MRCM, clinical templates and anatomical equivalence with the terminology service; a FHIR syntax guard cannot establish these semantic requirements.",
        "min": 0,
        "max": "1",
        "constraint": [
          {
            "key": "digidot-coding-same-release",
            "severity": "error",
            "human": "When SCTpre is present, both clinical codings must use the same SNOMED CT edition release.",
            "expression": "coding.where(id = 'SCTpre').empty() or coding.where(id = 'SCTpre').version = coding.where(id = 'SCTextended').version"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Required planned Procedure with explicit context scope for the clinical code. SCTpre accepts a single concept identifier; SCTextended accepts a concept identifier or a valid expression within this scope. This is a semantic scope, not a national dental reference-set selection.",
          "valueSet": "https://novari.no/fhir/digidot/ValueSet/planned-procedure-situations"
        }
      },
      {
        "id": "ServiceRequest.code.extension",
        "path": "ServiceRequest.code.extension",
        "short": "No extensions on the planned service code",
        "definition": "Additional clinical precision is represented by the agreed SCTextended coding in ServiceRequest.code.coding. Extensions on ServiceRequest.code are not used in the current DigiDOT draft.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.code.coding",
        "path": "ServiceRequest.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "rules": "closed"
        },
        "short": "One required extended coding and one optional precoordinated coding",
        "definition": "Include exactly one SCTextended coding and optionally one SCTpre coding. SCTextended carries the complete intended meaning as either a single precoordinated SNOMED CT concept or a postcoordinated expression. SCTpre is an optional, directly usable concept representing the same clinical meaning at the same or a compatible broader level of detail. Do not add a duplicate companion merely to fill a slot. When both are present they must use the same edition release and must not contradict each other; the extended coding may add compatible precision. Compatible meaning must be checked through the terminology contract, not inferred from code equality. Fixed Coding.id values distinguish the roles because a numeric concept can conform to both datatype profiles.",
        "min": 1,
        "max": "2"
      },
      {
        "id": "ServiceRequest.code.coding:SCTpre",
        "path": "ServiceRequest.code.coding",
        "sliceName": "SCTpre",
        "short": "Optional precoordinated SNOMED CT concept",
        "definition": "Optional single numeric SNOMED CT concept in the planned Procedure with explicit context scope, compatible with the complete meaning in SCTextended. The SCTpre datatype prohibits postcoordinated expressions, even though the shared ValueSet also supports them for SCTextended. Both codings must use the same edition release. The concept must identify Planned context and a specific associated procedure; a bare Procedure concept is not sufficient.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Coding-SCTpre-no"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://novari.no/fhir/digidot/ValueSet/planned-procedure-situations",
          "description": "Required planned Procedure with explicit context scope, restricted here to a single concept by the SCTpre datatype. Postcoordinated expressions are not permitted in this slice."
        }
      },
      {
        "id": "ServiceRequest.code.coding:SCTpre.id",
        "path": "ServiceRequest.code.coding.id",
        "short": "SCTpre slot identifier",
        "definition": "Required technical slot identifier. It distinguishes the two roles even when their system, version and code are identical.",
        "min": 1,
        "fixedString": "SCTpre"
      },
      {
        "id": "ServiceRequest.code.coding:SCTextended",
        "path": "ServiceRequest.code.coding",
        "sliceName": "SCTextended",
        "short": "Required extended SNOMED CT code: concept or expression",
        "definition": "The complete clinical meaning in the planned Procedure with explicit context scope, represented by one sufficiently specific SNOMED CT concept or a valid postcoordinated expression. A single concept is allowed; postcoordination is not mandatory. Follow the meaning and anatomy rules on ServiceRequest.code. Put anatomical refinements on the associated procedure within the planned Situation. Prefer postcoordination for additional clinical detail; do not add an identical SCTpre coding merely to fill the optional slice.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Coding-SCTpost-no"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://novari.no/fhir/digidot/ValueSet/planned-procedure-situations",
          "description": "Required planned Procedure with explicit context scope. This slice permits a single concept or a valid postcoordinated expression within that scope; expression syntax and meaning need terminology validation."
        }
      },
      {
        "id": "ServiceRequest.code.coding:SCTextended.id",
        "path": "ServiceRequest.code.coding.id",
        "short": "SCTextended slot identifier",
        "definition": "Required technical slot identifier. It distinguishes the two roles even when their system, version and code are identical.",
        "min": 1,
        "fixedString": "SCTextended"
      },
      {
        "id": "ServiceRequest.orderDetail",
        "path": "ServiceRequest.orderDetail",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "No governed DigiDOT order-detail terminology or EHR mapping is agreed. Use the planned clinical service code, structured anatomy, linked reason and limited note instead.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.quantity[x]",
        "path": "ServiceRequest.quantity[x]",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "One DigiDOT ServiceRequest represents one planned service. Multiple planned services should be represented by separate ServiceRequest resources with explicit relationships when needed. No quantity model is agreed for the current dental scope.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.subject",
        "path": "ServiceRequest.subject",
        "short": "Patient the dental service is planned for",
        "definition": "Reference the no-basis Patient who is the subject of the planned or requested dental service. External data must be mapped to this agreed patient representation before it becomes a canonical DigiDOT ServiceRequest in Central Storage.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.no/fhir/StructureDefinition/no-basis-Patient"
            ]
          }
        ],
        "mustSupport": true,
        "comment": "Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage.",
        "constraint": [
          {
            "key": "servicerequest-subject-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ]
      },
      {
        "id": "ServiceRequest.subject.reference",
        "path": "ServiceRequest.subject.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.subject.identifier",
        "path": "ServiceRequest.subject.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.encounter",
        "path": "ServiceRequest.encounter",
        "short": "Dental contact in which the request was created",
        "definition": "The contact providing the context in which this request was made. Preserve this originating link. Later assessment, treatment and follow-up contacts reference the request through Encounter.basedOn; never overwrite this field with the most recent fulfilling contact.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
            ]
          }
        ],
        "mustSupport": true,
        "constraint": [
          {
            "key": "servicerequest-encounter-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ],
        "comment": "Use a literal reference to a separately stored resource conforming to a permitted target profile. Identifier-only and contained references are not permitted. The receiving service must check target existence and profile conformance."
      },
      {
        "id": "ServiceRequest.encounter.reference",
        "path": "ServiceRequest.encounter.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.encounter.identifier",
        "path": "ServiceRequest.encounter.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.occurrence[x]",
        "path": "ServiceRequest.occurrence[x]",
        "short": "Requested date, window or recurrence for recall, treatment or follow-up",
        "definition": "Use occurrenceDateTime or occurrencePeriod for an explicitly single due date or window. Use occurrenceTiming.repeat for recurring care, including general recall and targeted follow-up after a procedure. For a regular interval, record the assessed positive interval in period/periodUnit and boundsPeriod.start as the explicit first due date. frequency is not exchanged; its absence means one occurrence per period in FHIR R4. Examples are general recall every 12 months and targeted follow-up every 3 months; these are examples, not fixed defaults. DigiDOT computes nominal due dates from that anchor in calendar units; a late appointment does not silently move the anchor. After clinical reassessment, explicitly update the anchor/interval with version history or replace the request. Use boundsPeriod.end when a finite course is specified; count-based schedules are not exchanged. Exact bookings are separate Appointments. One fulfilled booking does not complete an ongoing recurring request.",
        "mustSupport": true,
        "comment": "occurrence[x] inherits dateTime, Period and Timing from FHIR R4. In JSON the Timing choice is occurrenceTiming; repeat is inherited from Timing, not a removed element. For follow-up after an earlier Procedure, include that Procedure in supportingInfo where relevant. The first due date is explicitly recorded, not inferred from the preceding procedure date. Recall-specific invariants remain category-specific; other categories may use the permitted R4 Timing fields. Timing.code and repeat.count, countMax, frequency and frequencyMax are not exchanged in any category. See ServiceRequest-use for the regular-interval convention and examples. Explicit type branches document the inherited choices. Expand occurrenceTiming > repeat for recurrence fields and boundsPeriod for the first due date. Instance JSON uses the standard occurrenceDateTime, occurrencePeriod or occurrenceTiming property.",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Timing"
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceDateTime",
        "path": "ServiceRequest.occurrence[x]",
        "short": "Single requested date or time",
        "definition": "A single requested date or time for recall, treatment, diagnostic assessment or follow-up. Exact bookings are represented by Appointment.",
        "sliceName": "occurrenceDateTime",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrencePeriod",
        "path": "ServiceRequest.occurrence[x]",
        "short": "Requested date or time window",
        "definition": "A requested window for the service. Exact bookings are represented by Appointment.",
        "sliceName": "occurrencePeriod",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming",
        "path": "ServiceRequest.occurrence[x]",
        "short": "Schedule for recall, treatment or follow-up",
        "definition": "A repeating or otherwise specified schedule for the requested service. A regular recall uses repeat.boundsPeriod.start for its first intended due date and repeat.period/periodUnit for the interval. With frequency absent, FHIR R4 interprets one occurrence per period. More than one occurrence per interval is outside this draft pattern.",
        "sliceName": "occurrenceTiming",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Timing"
          }
        ],
        "example": [
          {
            "label": "General recall every twelve months",
            "valueTiming": {
              "repeat": {
                "boundsPeriod": {
                  "start": "2027-09-22"
                },
                "period": 12,
                "periodUnit": "mo"
              }
            }
          },
          {
            "label": "Targeted follow-up every three months",
            "valueTiming": {
              "repeat": {
                "boundsPeriod": {
                  "start": "2026-12-22"
                },
                "period": 3,
                "periodUnit": "mo"
              }
            }
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat",
        "path": "ServiceRequest.occurrence[x].repeat",
        "short": "Recurrence for routine recall or targeted follow-up",
        "definition": "For a regular DigiDOT recall or targeted follow-up, record the first intended due date in boundsPeriod.start and the interval in period and periodUnit. DigiDOT omits frequency, which FHIR R4 interprets as one occurrence per period. Count-based and multiple-occurrence schedules are outside this draft.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.bounds[x]",
        "path": "ServiceRequest.occurrence[x].repeat.bounds[x]",
        "short": "Limits of the schedule",
        "definition": "Overall bounds of the schedule, expressed as a duration, duration range or period. For a regular DigiDOT recall or follow-up interval, use boundsPeriod with an explicit first due date.",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Duration"
          },
          {
            "code": "Range"
          },
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.bounds[x]:boundsDuration",
        "path": "ServiceRequest.occurrence[x].repeat.bounds[x]",
        "short": "Total schedule duration",
        "definition": "Total duration over which the requested service is to occur; this is not the interval between occurrences.",
        "sliceName": "boundsDuration",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Duration"
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.bounds[x]:boundsRange",
        "path": "ServiceRequest.occurrence[x].repeat.bounds[x]",
        "short": "Range of total schedule duration",
        "definition": "Range of durations over which the requested service is to occur; this is not the interval between occurrences.",
        "sliceName": "boundsRange",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Range"
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.bounds[x]:boundsPeriod",
        "path": "ServiceRequest.occurrence[x].repeat.bounds[x]",
        "short": "Schedule start and optional end",
        "definition": "The outer time limits of the schedule. For a regular DigiDOT interval, record the first intended due date in start. Include end when an end date is specified.",
        "sliceName": "boundsPeriod",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.bounds[x]:boundsPeriod.start",
        "path": "ServiceRequest.occurrence[x].repeat.bounds[x].start",
        "short": "First due date for a regular recall or follow-up interval",
        "definition": "The start of the schedule bounds. In the regular DigiDOT interval pattern, this is the explicitly recorded first intended due date. It is not inferred from authoredOn or a previous procedure date. Other Timing patterns retain the base Period.start meaning.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.bounds[x]:boundsPeriod.end",
        "path": "ServiceRequest.occurrence[x].repeat.bounds[x].end",
        "short": "End of the schedule, when specified",
        "definition": "The end of the schedule bounds. Include it when the recurring course has a specified end date; it is not the end time of an individual appointment.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.count",
        "path": "ServiceRequest.occurrence[x].repeat.count",
        "short": "Not used for DigiDOT ServiceRequest timing",
        "definition": "A finite number of scheduled occurrences is not represented by count in this draft. Use boundsPeriod.end when a schedule end is known.",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.countMax",
        "path": "ServiceRequest.occurrence[x].repeat.countMax",
        "short": "Count range not used",
        "max": "0"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.frequency",
        "path": "ServiceRequest.occurrence[x].repeat.frequency",
        "short": "Omitted: one occurrence per interval",
        "definition": "FHIR R4 interprets an omitted frequency as one occurrence per period. The DigiDOT regular recall pattern uses period and periodUnit only.",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.frequencyMax",
        "path": "ServiceRequest.occurrence[x].repeat.frequencyMax",
        "short": "Frequency range not used",
        "max": "0"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.period",
        "path": "ServiceRequest.occurrence[x].repeat.period",
        "short": "Interval length",
        "definition": "Length of one interval in periodUnit. With frequency omitted, FHIR R4 interprets the schedule as one occurrence per period. For example, period 12 with periodUnit mo represents one recall every twelve months; this is an example, not a default.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.repeat.periodUnit",
        "path": "ServiceRequest.occurrence[x].repeat.periodUnit",
        "short": "Interval unit, such as mo for months",
        "definition": "The unit of period, using the inherited R4 UnitsOfTime binding. Use mo for calendar months in the annual recall and quarterly follow-up examples.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "ServiceRequest.occurrence[x]:occurrenceTiming.code",
        "path": "ServiceRequest.occurrence[x].code",
        "short": "Timing shorthand not used; use repeat fields",
        "max": "0"
      },
      {
        "id": "ServiceRequest.asNeeded[x]",
        "path": "ServiceRequest.asNeeded[x]",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "No agreed dental as-needed planning model or terminology is defined. Use occurrence[x], linked clinical reason and ServiceRequest.status for the current request workflow.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.authoredOn",
        "path": "ServiceRequest.authoredOn",
        "short": "Date or time when the request was authored",
        "definition": "When the request became actionable (for example when an order was authorised). Preserve the source meaning and precision. Draft creation, later editing, import, booked time and digital attestation are separate facts; do not substitute their timestamps automatically.",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.requester",
        "path": "ServiceRequest.requester",
        "short": "Person or organisation that requested the dental service",
        "definition": "The person or organisation that initiated the request and has responsibility for its activation.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner",
              "http://hl7.no/fhir/StructureDefinition/no-basis-PractitionerRole",
              "http://hl7.no/fhir/StructureDefinition/no-basis-Organization",
              "http://hl7.no/fhir/StructureDefinition/no-basis-Patient",
              "http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson"
            ]
          }
        ],
        "mustSupport": true,
        "comment": "Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage.",
        "constraint": [
          {
            "key": "servicerequest-requester-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ]
      },
      {
        "id": "ServiceRequest.requester.reference",
        "path": "ServiceRequest.requester.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.requester.identifier",
        "path": "ServiceRequest.requester.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.performerType",
        "path": "ServiceRequest.performerType",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "The current draft has no governed performer-type terminology. Use a constrained performer reference when a preferred individual, role, organisation or healthcare service is known.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.performer",
        "path": "ServiceRequest.performer",
        "short": "Preferred performer or service for the planned dental work",
        "definition": "The desired performer for doing the requested service.  For example, the surgeon, dermatopathologist, endoscopist, etc.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner",
              "http://hl7.no/fhir/StructureDefinition/no-basis-PractitionerRole",
              "http://hl7.no/fhir/StructureDefinition/no-basis-Organization",
              "http://hl7.no/fhir/StructureDefinition/no-basis-HealthcareService"
            ]
          }
        ],
        "mustSupport": true,
        "comment": "Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage.",
        "constraint": [
          {
            "key": "servicerequest-performer-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ]
      },
      {
        "id": "ServiceRequest.performer.reference",
        "path": "ServiceRequest.performer.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.performer.identifier",
        "path": "ServiceRequest.performer.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.locationCode",
        "path": "ServiceRequest.locationCode",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "No governed DigiDOT location-code terminology is agreed. Use locationReference to the agreed no-basis Location when a requested place is known.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.locationReference",
        "path": "ServiceRequest.locationReference",
        "short": "Requested location for the dental service",
        "definition": "Use locationReference when the request identifies a clinic, room or other Location where the service is expected to occur. Do not use it as a replacement for the actual Procedure.location or Encounter.location.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.no/fhir/StructureDefinition/no-basis-Location"
            ]
          }
        ],
        "mustSupport": true,
        "comment": "Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage.",
        "constraint": [
          {
            "key": "servicerequest-locationreference-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ]
      },
      {
        "id": "ServiceRequest.locationReference.reference",
        "path": "ServiceRequest.locationReference.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.locationReference.identifier",
        "path": "ServiceRequest.locationReference.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.reasonCode",
        "path": "ServiceRequest.reasonCode",
        "short": "Precoordinated clinical reason for the planned service",
        "definition": "Use when the indication is recorded as a coded reason without a separately maintained Condition or Observation. Each reason uses one precoordinated SNOMED CT concept from Clinical finding or Finding with explicit context (situation). Select a concept whose context truly describes the reason; a negated, uncertain, family-history or future situation must not be treated as a present finding. Use reasonReference when the relevant Condition or Observation is separately stored. A routine recall need not invent a reason.",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://novari.no/fhir/digidot/ValueSet/digidot-service-request-reasons"
        }
      },
      {
        "id": "ServiceRequest.reasonCode.coding",
        "path": "ServiceRequest.reasonCode.coding",
        "short": "One precoordinated SNOMED CT reason code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Coding-SCTpre-no"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.reasonReference",
        "path": "ServiceRequest.reasonReference",
        "short": "Clinical finding or observation that justifies the request",
        "definition": "Reference an existing DigiDOT Condition or Observation that justifies the planned service. Use reasonCode for a precoordinated reason when no separate finding record is needed. A routine recall may have neither; do not create a Condition merely to populate this reference.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Condition-no",
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no"
            ]
          }
        ],
        "mustSupport": true,
        "constraint": [
          {
            "key": "servicerequest-reasonreference-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ],
        "comment": "Use a literal reference to a separately stored resource conforming to a permitted target profile. Identifier-only and contained references are not permitted. The receiving service must check target existence and profile conformance."
      },
      {
        "id": "ServiceRequest.reasonReference.reference",
        "path": "ServiceRequest.reasonReference.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.reasonReference.identifier",
        "path": "ServiceRequest.reasonReference.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.insurance",
        "path": "ServiceRequest.insurance",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "Coverage, payment route, reimbursement and claim information belong in the financial model, not in the clinical planning request.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.supportingInfo",
        "path": "ServiceRequest.supportingInfo",
        "short": "Selected context that directly affects the planned dental service",
        "definition": "Selected clinical or source care-responsibility context that directly affects this request. EpisodeOfCare is optional: include it when the request arises within a represented organisational responsibility, not merely to connect the request to an appointment or encounter. For referrals, the source episode belongs to the sender; a receiving episode references the incoming request using referralRequest. For follow-up after a dental procedure, include the preceding DigiDOT Procedure as relevant clinical context, with type Procedure and a literal reference. This is not a basedOn or reasonReference link. New follow-up procedures may reference this ServiceRequest through Procedure.basedOn. Supporting records are limited to the listed DigiDOT profiles and no-basis DocumentReference. Use DigiDOT Dental Contact Note for a supporting contact note and DigiDOT MedicationStatement for reported medication use within that profile's scope. SFM/PLL imports are not represented by that MedicationStatement profile.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-EpisodeOfCare-no",
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-AllergyIntolerance-no",
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Condition-no",
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no",
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-Procedure-no",
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-MedicationStatement-no",
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no",
              "http://hl7.no/fhir/StructureDefinition/no-basis-DocumentReference"
            ]
          }
        ],
        "mustSupport": true,
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "servicerequest-supportinginfo-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ],
        "comment": "Use a literal reference to a separately stored resource conforming to a permitted target profile. Identifier-only and contained references are not permitted. The receiving service must check target existence and profile conformance. Conformance to the permitted target profile is required; the resource type or a meta.profile declaration alone is insufficient. Generic R4 targets and the former SFM List and MedicationStatement targets are outside this reference contract. Additional target profiles require an agreed use case and profile revision."
      },
      {
        "id": "ServiceRequest.supportingInfo.reference",
        "path": "ServiceRequest.supportingInfo.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.supportingInfo.type",
        "path": "ServiceRequest.supportingInfo.type",
        "min": 1,
        "max": "1",
        "definition": "Explicit FHIR resource type, agreeing with the referenced resource. This makes optional EpisodeOfCare context distinguishable and searchable without confusing it with other clinical context."
      },
      {
        "id": "ServiceRequest.supportingInfo.identifier",
        "path": "ServiceRequest.supportingInfo.identifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ServiceRequest.specimen",
        "path": "ServiceRequest.specimen",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "No specimen workflow, terminology or EHR mapping is agreed for the current public dental-service scope.",
        "max": "0"
      },
      {
        "id": "ServiceRequest.bodySite",
        "path": "ServiceRequest.bodySite",
        "short": "Inline Xt-EHR anatomy group",
        "definition": "One inline anatomical group in the shared DentalBodySite format: a complex extension containing location, repeated locationQualifier, laterality, morphology and description, matching the Xt-EHR logical field model. No independent BodyStructure resource is required. Clinical coding and dental workflow rules apply separately.",
        "comment": "The shared Dental BodySite datatype uses one complex DigiDOT R4 body-structure extension containing the anatomical fields. The containing CodeableConcept has no root coding or text. Shared terminology tooling checks that this structured anatomy and SCTextended describe the same complete anatomical scope. See DentalBodySite-use for the supplier contract.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalBodySite-no"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.note",
        "path": "ServiceRequest.note",
        "short": "Additional planning narrative",
        "definition": "Use note for clinically relevant planning narrative that cannot be represented in structured elements. Do not duplicate the planned-service code, category, request status, due time, anatomy or linked resources in free text."
      },
      {
        "id": "ServiceRequest.note.author[x]",
        "path": "ServiceRequest.note.author[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner",
              "http://hl7.no/fhir/StructureDefinition/no-basis-Patient",
              "http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson",
              "http://hl7.no/fhir/StructureDefinition/no-basis-Organization"
            ]
          },
          {
            "code": "string"
          }
        ],
        "definition": "The individual responsible for making the annotation.",
        "comment": "Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage. An authorString may be retained where this Annotation choice permits it; if authorReference is used, the literal-reference rule applies.",
        "constraint": [
          {
            "key": "servicerequest-note-author-x-literal",
            "severity": "error",
            "human": "A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted.",
            "expression": "($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())",
            "source": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          }
        ]
      },
      {
        "id": "ServiceRequest.patientInstruction",
        "path": "ServiceRequest.patientInstruction",
        "short": "Patient-facing instruction for the planned service",
        "definition": "Use patientInstruction only for patient-facing information that directly concerns this planned service. It does not replace the clinical plan, Appointment communication or general patient information."
      },
      {
        "id": "ServiceRequest.relevantHistory",
        "path": "ServiceRequest.relevantHistory",
        "short": "Not used in the current DigiDOT ServiceRequest draft",
        "definition": "No ServiceRequest-specific Provenance linking policy is agreed. Source, import and update responsibility are handled by the Central Storage provenance and integration design.",
        "max": "0"
      }
    ]
  }
}