PH Core Implementation Guide
0.1.0 - ci-build Philippines flag

PH Core Implementation Guide, published by UP Manila SILab. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/UP-Manila-SILab/ph-core/ and changes regularly. See the Directory of published versions

Extension: City/Municipality (Experimental)

Official URL: urn://example.com/ph-core/fhir/StructureDefinition/city-municipality Version: 0.1.0
Draft as of 2025-07-29 Computable Name: CityMunicipality

City/municipality from the standard geographic code.

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

Formal Views of Extension Content

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension City/Municipality
... extension 0..0
... url 1..1 uri "urn://example.com/ph-core/fhir/StructureDefinition/city-municipality"
... value[x] 0..1 Coding Value of extension
Binding: Cities (extensible)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension City/Municipality
... id 0..1 string Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "urn://example.com/ph-core/fhir/StructureDefinition/city-municipality"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: City/municipality from the standard geographic code.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension City/Municipality
... extension 0..0
... url 1..1 uri "urn://example.com/ph-core/fhir/StructureDefinition/city-municipality"
... value[x] 0..1 Coding Value of extension
Binding: Cities (extensible)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension City/Municipality
... id 0..1 string Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "urn://example.com/ph-core/fhir/StructureDefinition/city-municipality"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: City/municipality from the standard geographic code.

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.value[x]extensible

urn://example.com/ph-core/fhir/ValueSet/cities

urn://example.com/ph-core/fhir/ValueSet/cities

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()