Legemiddeldata fra institusjon til Legemiddelregisteret - Local Development build (v1.0.8) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/npr-episode-identifier | Version: 1.0.8 | |||
| Active as of 2026-03-18 | Computable Name: NprEpisodeIdentifier | |||
Entydig identifikator for episode som skal sendes til LMDI. Extensionen kan bære både string-basert og UUID-basert representasjon av den valgte NPR-identifikatoren. Forretningsregelen for LMDI er at kun én NPR-identifikator skal sendes per episode. Selv om helseinstitusjonens systemer kan ha flere NPR-identifiere for samme episode lokalt, skal kun én velges ved innsending - gjerne den første eller foretrukne identifikatoren lokalt.
Context of Use
This extension may be used on the following element(s):
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
Summary
Complex Extension: Entydig identifikator for episode som skal sendes til LMDI. Extensionen kan bære både string-basert og UUID-basert representasjon av den valgte NPR-identifikatoren. Forretningsregelen for LMDI er at kun én NPR-identifikator skal sendes per episode. Selv om helseinstitusjonens systemer kan ha flere NPR-identifiere for samme episode lokalt, skal kun én velges ved innsending - gjerne den første eller foretrukne identifikatoren lokalt.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | NPR Episode Identifier Constraints: npr-episode-at-least-one |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | Extension | String-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "stringIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | UUID-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "uuidIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Value of extension | |
![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/ig/lmdi/StructureDefinition/npr-episode-identifier" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | NPR Episode Identifier Constraints: npr-episode-at-least-one |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | Extension | String-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "stringIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | UUID-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "uuidIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Value of extension | |
![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/ig/lmdi/StructureDefinition/npr-episode-identifier" | |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Complex Extension: Entydig identifikator for episode som skal sendes til LMDI. Extensionen kan bære både string-basert og UUID-basert representasjon av den valgte NPR-identifikatoren. Forretningsregelen for LMDI er at kun én NPR-identifikator skal sendes per episode. Selv om helseinstitusjonens systemer kan ha flere NPR-identifiere for samme episode lokalt, skal kun én velges ved innsending - gjerne den første eller foretrukne identifikatoren lokalt.
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | NPR Episode Identifier Constraints: npr-episode-at-least-one |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | Extension | String-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "stringIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | UUID-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "uuidIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Value of extension | |
![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/ig/lmdi/StructureDefinition/npr-episode-identifier" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | NPR Episode Identifier Constraints: npr-episode-at-least-one |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | Extension | String-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "stringIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | UUID-representasjon av NPR episodeidentifikatoren |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "uuidIdentifier" | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Value of extension | |
![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/ig/lmdi/StructureDefinition/npr-episode-identifier" | |
Documentation for this format | ||||
Other representations of profile: CSV, Excel, Schematron
| Id | Grade | Path(s) | Description | Expression |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| npr-episode-at-least-one | error | Extension | Minst én NPR episode identifikator (string eller UUID) må oppgis |
extension('stringIdentifier').exists() or extension('uuidIdentifier').exists()
|