Skip to main content

Extension: Encounter Program Code

URL for this extension:

https://fhir.netsmartcloud.com/v4/StructureDefinition/encounter-programCode

Status: draft

This extension represents the Encounter Program Code.

Context of Use

This extension may be used on the Encounter resource.

Supported CareRecords

This extension is supported by the following CareRecords:

  • Netsmart myAvatar

Formal Views of Extension Content

Differential Table

NameFlagsCard.DispositionDescription & Constraints
Extension0..1ExtensionEncounter Program Code
- url1..1uri"[base]/StructureDefinition/encounter-programCode"
- value[x]1..1codeableconceptEncounter Program Code
Binding This is bound to a customizable dictionary configured in myAvatar and may vary by organization.

Terminology Bindings

PathConformanceValueSet
Extension.value[x]extensibleThis is bound to a customizable dictionary configured in myAvatar and may vary by organization.

Constraints

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

Examples

{
"resourceType": "Encounter",
"id": "arrived_3||6386.71",
"extension": [
{
"url": "https://fhir.netsmartcloud.com/v4/StructureDefinition/encounter-programCode",
"valueCodeableConcept": {
"coding": [
{
"code": "302"
}
]
}
}
// additional extensions
],
"status": "arrived", // The above extension is all supported on 'finished' encounters
// additional Encounter content
}