NHDR Implementation Guide Release 1.0
0.1.0 - ci-build

NHDR Implementation Guide Release 1.0, published by NHDR. 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/PROJ-PHILHEALTH-EA-NHDR/nhdr-fhir-ig-review-project-2/ and changes regularly. See the Directory of published versions

## Extension: Barangay Code

Official URL: https://nhdr.gov.ph/fhir/StructureDefinition/Barangay | Version: 0.1.0
Standards status: Draft | Computable Name: Barangay
Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License

Code of the barangay from the standard geographic code.

Context of Use

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

- Element ID: `Address`

Usage info

Usages:

- Use this Extension: PH Address
- Examples for this Extension: Bundle/ClaimsForm1-1, Bundle/ClaimsForm1-2, Bundle/ClaimsForm2, Bundle/ClaimsForm4... Show 3 more, Bundle/Konsulta-Availment-Slip, Bundle/Konsulta-Registration and Bundle/Konsulta-RequestforAuthorizationTransactionCode

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.

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Barangay Code
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://nhdr.gov.ph/fhir/StructureDefinition/Barangay"
value[x] |  | 0..1 | Coding | Value of extension Binding: Barangay Codes (required)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Barangay Code
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://nhdr.gov.ph/fhir/StructureDefinition/Barangay"
value[x] |  | 0..1 | Coding | Value of extension Binding: Barangay Codes (required)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: Code of the barangay from the standard geographic code.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Barangay Code
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://nhdr.gov.ph/fhir/StructureDefinition/Barangay"
value[x] |  | 0..1 | Coding | Value of extension Binding: Barangay Codes (required)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Barangay Code
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://nhdr.gov.ph/fhir/StructureDefinition/Barangay"
value[x] |  | 0..1 | Coding | Value of extension Binding: Barangay Codes (required)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: Code of the barangay from the standard geographic code.

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Extension.value[x] | Base | required | Barangay Codes | 📦0.1.0 | This IG

#### Constraints

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