openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

Extension: Poverty Status (Group)

Official URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-address Version: 1.0.0
Active as of 2022-05-31 Responsible: openIMIS Initiative Computable Name: GroupAddressExtension

Whether the Group has the poverty status.

Context of Use

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

  • Group

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

Mandatory: 0 element (2 nested mandatory elements)
Must-Support: 5 elements
Fixed Value: 1 element
Prohibited: 3 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPoverty Status (Group)
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-address"
... value[x] 0..1AddressValue of extension
Slice: Unordered, Open by type:$this
.... extension 1..*ExtensionGroup Location Reference
.... address-municipality S0..1stringMunicipality (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-municipality
.... address-location-reference S1..1Reference(openIMIS Location)Location Reference (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-location-reference
.... use 0..1codehome | work | temp | old | billing - purpose of this address
Required Pattern: home
.... type 0..1codepostal | physical | both
Required Pattern: physical
.... line 0..1stringStreet name, number, direction & P.O. Box etc.
.... city S0..1stringCity/Village
.... district S0..1stringDistrict
.... state S0..1stringState/Region
.... postalCode 0..0
.... country 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPoverty Status (Group)
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-address"
.... value[x]:valueAddress 0..1AddressValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 1..*ExtensionGroup Location Reference
Slice: Unordered, Open by value:url
..... address-municipality S0..1stringMunicipality (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-municipality
..... address-location-reference S1..1Reference(openIMIS Location)Location Reference (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-location-reference
..... use ?!Σ0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Required Pattern: home
..... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Required Pattern: physical
..... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
..... line Σ0..1stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
..... city SΣ0..1stringCity/Village
Example General: Erewhon
..... district SΣ0..1stringDistrict
Example General: Madison
..... state SΣ0..1stringState/Region
..... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 0 element (2 nested mandatory elements)
Must-Support: 5 elements
Fixed Value: 1 element
Prohibited: 3 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPoverty Status (Group)
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-address"
... value[x] 0..1AddressValue of extension
Slice: Unordered, Open by type:$this
.... extension 1..*ExtensionGroup Location Reference
.... address-municipality S0..1stringMunicipality (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-municipality
.... address-location-reference S1..1Reference(openIMIS Location)Location Reference (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-location-reference
.... use 0..1codehome | work | temp | old | billing - purpose of this address
Required Pattern: home
.... type 0..1codepostal | physical | both
Required Pattern: physical
.... line 0..1stringStreet name, number, direction & P.O. Box etc.
.... city S0..1stringCity/Village
.... district S0..1stringDistrict
.... state S0..1stringState/Region
.... postalCode 0..0
.... country 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPoverty Status (Group)
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-address"
.... value[x]:valueAddress 0..1AddressValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 1..*ExtensionGroup Location Reference
Slice: Unordered, Open by value:url
..... address-municipality S0..1stringMunicipality (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-municipality
..... address-location-reference S1..1Reference(openIMIS Location)Location Reference (Address)
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-location-reference
..... use ?!Σ0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Required Pattern: home
..... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Required Pattern: physical
..... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
..... line Σ0..1stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
..... city SΣ0..1stringCity/Village
Example General: Erewhon
..... district SΣ0..1stringDistrict
Example General: Madison
..... state SΣ0..1stringState/Region
..... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Extension.value[x]:valueAddress.userequiredPattern: home
Extension.value[x]:valueAddress.typerequiredPattern: physical

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.value[x]:valueAddress.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]:valueAddress.extension:municipalityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.value[x]:valueAddress.extension:municipalityMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]:valueAddress.extension:locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.value[x]:valueAddress.extension:locationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]:valueAddress.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.lineAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.cityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.districtAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.stateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueAddress.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())