Legemiddeldata fra institusjon til Legemiddelregisteret — 1.0.7 - ci-build Norway flag

Legemiddeldata fra institusjon til Legemiddelregisteret - Local Development build (v1.0.7) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Organisasjon

Official URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/lmdi-organization Version: 1.0.7
Draft as of 2025-09-30 Computable Name: Organisasjon

Organisasjoner i norsk helse- og omsorgstjeneste, som post, avdeling, klinikk, sykehus og sykehjem, basert på no-basis-Organization.

Denne profilen av Organization benyttes for å beskrive helseinstitusjoner og skal representere organisasjonen på lavest mulig nivå i organisasjonshierarkiet (f.eks. en avdeling eller klinikk eller post).

For organisasjonen som er del av en større organisasjon, skal dette angis ved hjelp av partOf-relasjonen. Alle “organisasjonshierarki” skal inkludere minst et organisasjonsnummer fra enten Enhetsregisteret (identifier:ENH) eller Register for enheter i spesialisthelsetjenesten (identifier:RSH).

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

This structure is derived from NoBasisOrganization

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Organization C 0..* NoBasisOrganization A grouping of people or organizations with a common purpose
Constraints: lmdi-org-identifier
... text 0..0
... identifier S 0..* Identifier ID fra Nasjonalt register for enheter i spesialisthelsetjenesten (RESH) eller Organisasjonsnummeret i Enhetsregister
... Slices for identifier Content/Rules for all slices
.... identifier:ENH 0..* Identifier Organisasjonsnummer fra Enhetsregisteret (ENH)
.... identifier:RSH 0..* Identifier ID fra Register for enheter i spesialisthelsetjenesten (RESH)
... type 0..* CodeableConcept Organisasjonstype
... name S 1..1 string Organisasjonsnavn
... telecom 0..0
... address S 0..* NoBasisAddress Gjeldende fysisk adresse
.... Slices for extension Content/Rules for all slices
..... extension:official 0..0
..... extension:urbanDistrict 0..1 NoBasisUrbanDistrict Kodet verdi for bydel. Kodeverk "Bydelsnummer" (OID 3403)
..... extension:propertyInformation 0..0
.... type 0..1 code physical
Binding: LMDI Address Type (required)
Required Pattern: physical
.... text 0..0
.... line 0..0
.... city 0..0
.... district 0..1 string Kommune
..... Slices for extension Content/Rules for all slices
...... extension:municipalitycode 0..1 NoBasisMunicipalitycode Kodet verdi for kommune. Kodeverk "Kommunenummer og regionale spesialkoder" (OID 3402)
.... state 0..1 string Fylkesnavn
.... postalCode 0..0
.... country 0..0
... partOf S 0..1 Reference(Organisasjon) Organisasjonen er del av (overordnet organisasjon)
... contact 0..0
... endpoint 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Organization.address.​type Base required LMDI Address Type 📦1.0.7 This IG

Constraints

Id Grade Path(s) Description Expression
lmdi-org-identifier error Organization Organisasjon skal ha minst ENH eller RSH identifier identifier.where(system='urn:oid:2.16.578.1.12.4.1.4.101' or system='urn:oid:2.16.578.1.12.4.1.4.102').exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Organization C 0..* NoBasisOrganization A grouping of people or organizations with a common purpose
Constraints: org-1, lmdi-org-identifier
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣC 0..* Identifier ID fra Nasjonalt register for enheter i spesialisthelsetjenesten (RESH) eller Organisasjonsnummeret i Enhetsregister
Slice: Unordered, Open by value:system
.... identifier:ENH ΣC 0..* Identifier Organisasjonsnummer fra Enhetsregisteret (ENH)
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.101
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:RSH ΣC 0..* Identifier ID fra Register for enheter i spesialisthelsetjenesten (RESH)
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... type:organisatoriskNiva ΣN 0..* CodeableConcept Organisatorisk nivå
Binding: urn:oid:2.16.578.1.12.4.1.1.8628 (required): Used to categorize the organization.
.... type:organisatoriskBetegnelse ΣN 0..* CodeableConcept Organisatorisk betegnelse
Binding: urn:oid:2.16.578.1.12.4.1.1.8624 (required): Used to categorize the organization.
... name SΣC 1..1 string Organisasjonsnavn
... address SC 0..* NoBasisAddress Gjeldende fysisk adresse
Constraints: org-2
.... Slices for extension Content/Rules for all slices
..... extension:urbanDistrict 0..1 Coding Kodet verdi for bydel. Kodeverk "Bydelsnummer" (OID 3403)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-urban-district
Binding: urn:oid:2.16.578.1.12.4.1.1.3403 (required): Bydel
.... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.
Example General: home
.... type Σ 0..1 code physical
Binding: LMDI Address Type (required)
Required Pattern: physical
.... district Σ 0..1 string Kommune
Example General: Madison
..... Slices for extension Content/Rules for all slices
...... extension:municipalitycode 0..1 Coding Kodet verdi for kommune. Kodeverk "Kommunenummer og regionale spesialkoder" (OID 3402)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-municipalitycode
Binding: https://register.geonorge.no/subregister/sosi-kodelister/kartverket/kommunenummer-alle (required)
.... state Σ 0..1 string Fylkesnavn
... partOf SΣC 0..1 Reference(Organisasjon) Organisasjonen er del av (overordnet organisasjon)
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Organization.identifier:ENH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.identifier:RSH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.type Base example Organization type 📦4.0.1 FHIR Std.
Organization.type:organisatoriskNiva Base required

urn:oid:2.16.578.1.12.4.1.1.8628

Not Stated Unknown
Organization.type:organisatoriskBetegnelse Base required

urn:oid:2.16.578.1.12.4.1.1.8624

Not Stated Unknown
Organization.address.​use Base required AddressUse 📍4.0.1 FHIR Std.
Organization.address.​type Base required LMDI Address Type 📦1.0.7 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error Organization If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Organization If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Organization If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Organization If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Organization A resource should have narrative for robust management text.`div`.exists()
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()
lmdi-org-identifier error Organization Organisasjon skal ha minst ENH eller RSH identifier identifier.where(system='urn:oid:2.16.578.1.12.4.1.4.101' or system='urn:oid:2.16.578.1.12.4.1.4.102').exists()
org-1 error Organization The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0
org-2 error Organization.address An address of an organization can never be of use 'home' where(use = 'home').empty()
ref-1 error Organization.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Organization C 0..* NoBasisOrganization A grouping of people or organizations with a common purpose
Constraints: org-1, lmdi-org-identifier
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣC 0..* Identifier ID fra Nasjonalt register for enheter i spesialisthelsetjenesten (RESH) eller Organisasjonsnummeret i Enhetsregister
Slice: Unordered, Open by value:system
.... identifier:ENH ΣC 0..* Identifier Organisasjonsnummer fra Enhetsregisteret (ENH)
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.101
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... identifier:RSH ΣC 0..* Identifier ID fra Register for enheter i spesialisthelsetjenesten (RESH)
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
... Slices for type Σ 0..* CodeableConcept Organisasjonstype
Slice: Unordered, Open by value:coding.system
Binding: OrganizationType (example): Used to categorize the organization.
.... type:organisatoriskNiva ΣN 0..* CodeableConcept Organisatorisk nivå
Binding: urn:oid:2.16.578.1.12.4.1.1.8628 (required): Used to categorize the organization.
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding ΣN 0..* Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8628
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... type:organisatoriskBetegnelse ΣN 0..* CodeableConcept Organisatorisk betegnelse
Binding: urn:oid:2.16.578.1.12.4.1.1.8624 (required): Used to categorize the organization.
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding ΣN 0..* Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8624
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... name SΣC 1..1 string Organisasjonsnavn
... alias 0..* string A list of alternate names that the organization is known as, or was known as in the past
... address SC 0..* NoBasisAddress Gjeldende fysisk adresse
Constraints: org-2
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:urbanDistrict 0..1 Coding Kodet verdi for bydel. Kodeverk "Bydelsnummer" (OID 3403)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-urban-district
Binding: urn:oid:2.16.578.1.12.4.1.1.3403 (required): Bydel
.... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.
Example General: home
.... type Σ 0..1 code physical
Binding: LMDI Address Type (required)
Required Pattern: physical
.... district Σ 0..1 string Kommune
Example General: Madison
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:municipalitycode 0..1 Coding Kodet verdi for kommune. Kodeverk "Kommunenummer og regionale spesialkoder" (OID 3402)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-municipalitycode
Binding: https://register.geonorge.no/subregister/sosi-kodelister/kartverket/kommunenummer-alle (required)
..... value 0..1 string Primitive value for string
Max Length:1048576
.... state Σ 0..1 string Fylkesnavn
.... period ΣC 0..1 Period Time period when address was/is in use
Constraints: per-1
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... partOf SΣC 0..1 Reference(Organisasjon) Organisasjonen er del av (overordnet organisasjon)
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Organization.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Organization.identifier:ENH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.identifier:ENH.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Organization.identifier:RSH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.identifier:RSH.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Organization.type Base example Organization type 📦4.0.1 FHIR Std.
Organization.type:organisatoriskNiva Base required

urn:oid:2.16.578.1.12.4.1.1.8628

Not Stated Unknown
Organization.type:organisatoriskBetegnelse Base required

urn:oid:2.16.578.1.12.4.1.1.8624

Not Stated Unknown
Organization.address.​use Base required AddressUse 📍4.0.1 FHIR Std.
Organization.address.​type Base required LMDI Address Type 📦1.0.7 This IG
Organization.contact.​purpose Base extensible Contact entity type 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cpt-2 error Organization.contact.telecom A system is required if a value is provided. value.empty() or system.exists()
dom-2 error Organization If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Organization If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Organization If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Organization If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Organization A resource should have narrative for robust management text.`div`.exists()
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()
lmdi-org-identifier error Organization Organisasjon skal ha minst ENH eller RSH identifier identifier.where(system='urn:oid:2.16.578.1.12.4.1.4.101' or system='urn:oid:2.16.578.1.12.4.1.4.102').exists()
org-1 error Organization The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0
org-2 error Organization.address An address of an organization can never be of use 'home' where(use = 'home').empty()
per-1 error Organization.identifier:ENH.period, Organization.identifier:RSH.period, Organization.address.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1 error Organization.identifier:ENH.assigner, Organization.identifier:RSH.assigner, Organization.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from NoBasisOrganization

Summary

Mandatory: 1 element
Must-Support: 4 elements
Prohibited: 12 elements

Structures

This structure refers to these other structures:

Differential View

This structure is derived from NoBasisOrganization

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Organization C 0..* NoBasisOrganization A grouping of people or organizations with a common purpose
Constraints: lmdi-org-identifier
... text 0..0
... identifier S 0..* Identifier ID fra Nasjonalt register for enheter i spesialisthelsetjenesten (RESH) eller Organisasjonsnummeret i Enhetsregister
... Slices for identifier Content/Rules for all slices
.... identifier:ENH 0..* Identifier Organisasjonsnummer fra Enhetsregisteret (ENH)
.... identifier:RSH 0..* Identifier ID fra Register for enheter i spesialisthelsetjenesten (RESH)
... type 0..* CodeableConcept Organisasjonstype
... name S 1..1 string Organisasjonsnavn
... telecom 0..0
... address S 0..* NoBasisAddress Gjeldende fysisk adresse
.... Slices for extension Content/Rules for all slices
..... extension:official 0..0
..... extension:urbanDistrict 0..1 NoBasisUrbanDistrict Kodet verdi for bydel. Kodeverk "Bydelsnummer" (OID 3403)
..... extension:propertyInformation 0..0
.... type 0..1 code physical
Binding: LMDI Address Type (required)
Required Pattern: physical
.... text 0..0
.... line 0..0
.... city 0..0
.... district 0..1 string Kommune
..... Slices for extension Content/Rules for all slices
...... extension:municipalitycode 0..1 NoBasisMunicipalitycode Kodet verdi for kommune. Kodeverk "Kommunenummer og regionale spesialkoder" (OID 3402)
.... state 0..1 string Fylkesnavn
.... postalCode 0..0
.... country 0..0
... partOf S 0..1 Reference(Organisasjon) Organisasjonen er del av (overordnet organisasjon)
... contact 0..0
... endpoint 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Organization.address.​type Base required LMDI Address Type 📦1.0.7 This IG

Constraints

Id Grade Path(s) Description Expression
lmdi-org-identifier error Organization Organisasjon skal ha minst ENH eller RSH identifier identifier.where(system='urn:oid:2.16.578.1.12.4.1.4.101' or system='urn:oid:2.16.578.1.12.4.1.4.102').exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Organization C 0..* NoBasisOrganization A grouping of people or organizations with a common purpose
Constraints: org-1, lmdi-org-identifier
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣC 0..* Identifier ID fra Nasjonalt register for enheter i spesialisthelsetjenesten (RESH) eller Organisasjonsnummeret i Enhetsregister
Slice: Unordered, Open by value:system
.... identifier:ENH ΣC 0..* Identifier Organisasjonsnummer fra Enhetsregisteret (ENH)
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.101
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:RSH ΣC 0..* Identifier ID fra Register for enheter i spesialisthelsetjenesten (RESH)
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... type:organisatoriskNiva ΣN 0..* CodeableConcept Organisatorisk nivå
Binding: urn:oid:2.16.578.1.12.4.1.1.8628 (required): Used to categorize the organization.
.... type:organisatoriskBetegnelse ΣN 0..* CodeableConcept Organisatorisk betegnelse
Binding: urn:oid:2.16.578.1.12.4.1.1.8624 (required): Used to categorize the organization.
... name SΣC 1..1 string Organisasjonsnavn
... address SC 0..* NoBasisAddress Gjeldende fysisk adresse
Constraints: org-2
.... Slices for extension Content/Rules for all slices
..... extension:urbanDistrict 0..1 Coding Kodet verdi for bydel. Kodeverk "Bydelsnummer" (OID 3403)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-urban-district
Binding: urn:oid:2.16.578.1.12.4.1.1.3403 (required): Bydel
.... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.
Example General: home
.... type Σ 0..1 code physical
Binding: LMDI Address Type (required)
Required Pattern: physical
.... district Σ 0..1 string Kommune
Example General: Madison
..... Slices for extension Content/Rules for all slices
...... extension:municipalitycode 0..1 Coding Kodet verdi for kommune. Kodeverk "Kommunenummer og regionale spesialkoder" (OID 3402)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-municipalitycode
Binding: https://register.geonorge.no/subregister/sosi-kodelister/kartverket/kommunenummer-alle (required)
.... state Σ 0..1 string Fylkesnavn
... partOf SΣC 0..1 Reference(Organisasjon) Organisasjonen er del av (overordnet organisasjon)
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Organization.identifier:ENH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.identifier:RSH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.type Base example Organization type 📦4.0.1 FHIR Std.
Organization.type:organisatoriskNiva Base required

urn:oid:2.16.578.1.12.4.1.1.8628

Not Stated Unknown
Organization.type:organisatoriskBetegnelse Base required

urn:oid:2.16.578.1.12.4.1.1.8624

Not Stated Unknown
Organization.address.​use Base required AddressUse 📍4.0.1 FHIR Std.
Organization.address.​type Base required LMDI Address Type 📦1.0.7 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error Organization If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Organization If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Organization If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Organization If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Organization A resource should have narrative for robust management text.`div`.exists()
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()
lmdi-org-identifier error Organization Organisasjon skal ha minst ENH eller RSH identifier identifier.where(system='urn:oid:2.16.578.1.12.4.1.4.101' or system='urn:oid:2.16.578.1.12.4.1.4.102').exists()
org-1 error Organization The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0
org-2 error Organization.address An address of an organization can never be of use 'home' where(use = 'home').empty()
ref-1 error Organization.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Organization C 0..* NoBasisOrganization A grouping of people or organizations with a common purpose
Constraints: org-1, lmdi-org-identifier
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣC 0..* Identifier ID fra Nasjonalt register for enheter i spesialisthelsetjenesten (RESH) eller Organisasjonsnummeret i Enhetsregister
Slice: Unordered, Open by value:system
.... identifier:ENH ΣC 0..* Identifier Organisasjonsnummer fra Enhetsregisteret (ENH)
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.101
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... identifier:RSH ΣC 0..* Identifier ID fra Register for enheter i spesialisthelsetjenesten (RESH)
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
... Slices for type Σ 0..* CodeableConcept Organisasjonstype
Slice: Unordered, Open by value:coding.system
Binding: OrganizationType (example): Used to categorize the organization.
.... type:organisatoriskNiva ΣN 0..* CodeableConcept Organisatorisk nivå
Binding: urn:oid:2.16.578.1.12.4.1.1.8628 (required): Used to categorize the organization.
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding ΣN 0..* Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8628
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... type:organisatoriskBetegnelse ΣN 0..* CodeableConcept Organisatorisk betegnelse
Binding: urn:oid:2.16.578.1.12.4.1.1.8624 (required): Used to categorize the organization.
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding ΣN 0..* Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8624
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... name SΣC 1..1 string Organisasjonsnavn
... alias 0..* string A list of alternate names that the organization is known as, or was known as in the past
... address SC 0..* NoBasisAddress Gjeldende fysisk adresse
Constraints: org-2
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:urbanDistrict 0..1 Coding Kodet verdi for bydel. Kodeverk "Bydelsnummer" (OID 3403)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-urban-district
Binding: urn:oid:2.16.578.1.12.4.1.1.3403 (required): Bydel
.... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.
Example General: home
.... type Σ 0..1 code physical
Binding: LMDI Address Type (required)
Required Pattern: physical
.... district Σ 0..1 string Kommune
Example General: Madison
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:municipalitycode 0..1 Coding Kodet verdi for kommune. Kodeverk "Kommunenummer og regionale spesialkoder" (OID 3402)
URL: http://hl7.no/fhir/StructureDefinition/no-basis-municipalitycode
Binding: https://register.geonorge.no/subregister/sosi-kodelister/kartverket/kommunenummer-alle (required)
..... value 0..1 string Primitive value for string
Max Length:1048576
.... state Σ 0..1 string Fylkesnavn
.... period ΣC 0..1 Period Time period when address was/is in use
Constraints: per-1
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... partOf SΣC 0..1 Reference(Organisasjon) Organisasjonen er del av (overordnet organisasjon)
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Organization.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Organization.identifier:ENH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.identifier:ENH.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Organization.identifier:RSH.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Organization.identifier:RSH.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Organization.type Base example Organization type 📦4.0.1 FHIR Std.
Organization.type:organisatoriskNiva Base required

urn:oid:2.16.578.1.12.4.1.1.8628

Not Stated Unknown
Organization.type:organisatoriskBetegnelse Base required

urn:oid:2.16.578.1.12.4.1.1.8624

Not Stated Unknown
Organization.address.​use Base required AddressUse 📍4.0.1 FHIR Std.
Organization.address.​type Base required LMDI Address Type 📦1.0.7 This IG
Organization.contact.​purpose Base extensible Contact entity type 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cpt-2 error Organization.contact.telecom A system is required if a value is provided. value.empty() or system.exists()
dom-2 error Organization If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Organization If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Organization If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Organization If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Organization A resource should have narrative for robust management text.`div`.exists()
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()
lmdi-org-identifier error Organization Organisasjon skal ha minst ENH eller RSH identifier identifier.where(system='urn:oid:2.16.578.1.12.4.1.4.101' or system='urn:oid:2.16.578.1.12.4.1.4.102').exists()
org-1 error Organization The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0
org-2 error Organization.address An address of an organization can never be of use 'home' where(use = 'home').empty()
per-1 error Organization.identifier:ENH.period, Organization.identifier:RSH.period, Organization.address.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1 error Organization.identifier:ENH.assigner, Organization.identifier:RSH.assigner, Organization.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from NoBasisOrganization

Summary

Mandatory: 1 element
Must-Support: 4 elements
Prohibited: 12 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron