Extension: Encounter Military Service
URL for this extension:
- Production
- Preview
https://fhir.netsmartcloud.com/v4/StructureDefinition/encounter-military-service
https://fhirtest.netsmartcloud.com/v4/StructureDefinition/encounter-military-service
Status: draft
This extension represents the Encounter Military Service details.
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
| Name | Flags | Card. | Caller Type | Description & Constraints |
|---|---|---|---|---|
| Extension | 0..1 | Extension | Encounter Military Services | |
| - url | 1..1 | uri | "[base]/StructureDefinition/encounter-military-service" | |
| - extension:period | 0..1 | Extension | Military Service Period | |
| - - url | 1..1 | uri | "period" | |
| - - value[x] | 1..1 | period | Military Service Period | |
| - extension:veteran | 0..1 | Extension | Patient associated with Encounter is a Veteran | |
| - - url | 1..1 | uri | "is-veteran" | |
| - - value[x] | 1..1 | boolean | Is Veteran | |
| - extension:disability | 1..1 | Extension | Encounter addresses a Military-related Disability | |
| - - url | 1..1 | uri | "is-military-related-disability" | |
| - - value[x] | 1..1 | boolean | Is Military Related Disability | |
| - extension:branch | 0..1 | Extension | Patient associated with Encounter Branch Served | |
| - - url | 1..1 | uri | "branch-of-service" | |
| - - value[x] | 1..1 | code | Branch of Service Binding This is bound to a customizable dictionary configured in myAvatar and may vary by organization. | |
| - |
Terminology Bindings
| Path | Conformance | ValueSet |
|---|---|---|
| Extension.extension:branch.value[x] | extensible | This is bound to a customizable dictionary configured in myAvatar and may vary by organization. |
Constraints
| Id | Grade | Path(s) | Details | Requirements |
|---|---|---|---|---|
| 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() |
Examples
{
"resourceCaller Type": "Encounter",
"id": "arrived_3||6386.71",
"extension": [
{
"url": "https://fhir.netsmartcloud.com/v4/StructureDefinition/encounter-military-service",
"extension": [
{
"url": "period",
"valuePeriod": {
"start": "2006-06-24T00:00:00-05:00",
"end": "2012-10-18T00:00:00-05:00"
}
},
{
"url": "is-veteran",
"valueBoolean": true
},
{
"url": "is-military-related-disability",
"valueBoolean": false
},
{
"url": "branch-of-service",
"valueCode": "4"
}
]
},
// additional extensions
],
"status": "arrived",
// additional Encounter content
}