HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1
0.0.1 - STU1 International flag

HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/core/ and changes regularly. See the Directory of published versions

Extension: Nationality

Official URL: http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf Version: 0.0.1
Active as of 2024-09-23 Computable Name: Nationality

Extension for nationality in Portugal

Context of Use

This extension may be used on the following element(s):

  • Element ID Patient
  • Element ID Practitioner

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Complex Extension: Extension for nationality in Portugal

  • code: CodeableConcept: An Extension
  • period: Period: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:code 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "code"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

...... coding 0..* Coding Code defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

....... system 0..1 uri Identity of the terminology system
....... code 0..1 code Symbol in syntax defined by the system
....... display 0..1 string Representation defined by the system
.... extension:period 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "period"
..... value[x] 0..1 Period Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:code 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "code"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes


....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 0..1 uri Identity of the terminology system
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..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
.... extension:period 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "period"
..... value[x] 0..1 Period Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Extension for nationality in Portugal

  • code: CodeableConcept: An Extension
  • period: Period: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:code 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "code"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

...... coding 0..* Coding Code defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

....... system 0..1 uri Identity of the terminology system
....... code 0..1 code Symbol in syntax defined by the system
....... display 0..1 string Representation defined by the system
.... extension:period 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "period"
..... value[x] 0..1 Period Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:code 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "code"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes


....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 0..1 uri Identity of the terminology system
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..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
.... extension:period 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "period"
..... value[x] 0..1 Period Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:code.value[x]extensibleIso3166-1-2
http://hl7.org/fhir/ValueSet/iso3166-1-2
from the FHIR Standard
Extension.extension:code.value[x].codingextensibleIso3166-1-2
http://hl7.org/fhir/ValueSet/iso3166-1-2
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()