This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0-ballot:
R5
Ballot
-
Mixed
Normative
and
STU
see
ballot
notes
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
| FHIR Infrastructure Work Group |
|
Standards Status : Informative |
|
Full
Structure
Name
Flags
Card.
Type
Description
&
Constraints
extension
0..1
Extension
URL
=
http://hl7.org/fhir/StructureDefinition/cqf-encounterClass
encounterClass:
The
class
of
encounter
(inpatient,
outpatient,
etc.).
Use
on
Element
ID
Basic
extension
I
0..0
url
1..1
uri
"http://hl7.org/fhir/StructureDefinition/cqf-encounterClass"
value[x]
I
1..1
CodeableConcept
Value
of
extension
Documentation
This
is
the
narrative
for
this
format
the
resource.
See
also
the
XML
Template
<!-- encounterClass -->
< xmlns="http://hl7.org/fhir"
url="" >
<!-- from Element:
<</valueCodeableConcept>
</extension>
,
JSON
Template
{ //
// from Element:
" ]
"
"
}
Summary
Name
Flags
Card.
Type
Description
&
Constraints
encounterClass
0..1
CodeableConcept
URL
=
http://hl7.org/fhir/StructureDefinition/cqf-encounterClass
encounterClass:
The
class
of
encounter
(inpatient,
outpatient,
etc.).
Use
on
Element
ID
Basic
Documentation
for
this
format
Full
Structure
Name
Flags
Card.
Type
Description
&
Constraints
extension
0..1
Extension
URL
=
http://hl7.org/fhir/StructureDefinition/cqf-encounterClass
encounterClass:
The
class
of
encounter
(inpatient,
outpatient,
etc.).
Use
on
Element
ID
Basic
extension
I
0..0
url
1..1
uri
"http://hl7.org/fhir/StructureDefinition/cqf-encounterClass"
value[x]
I
1..1
CodeableConcept
Value
of
extension
Documentation
for
this
format
or
Turtle
XML
Template
format.
This
example
conforms
to
the
profile
SubscriptionStatus
.
JSON
Template
Constraints
ele-1
:
All
FHIR
elements
must
have
a
@value
or
children
(xpath:
@value|f:*|h:div
)
ext-1
:
Must
have
either
extensions
or
value[x],
not
both
(xpath:
exists(f:extension)!=exists(f:*[starts-with(local-name(.),
'value')])
)
ele-1
:
On
Extension.extension:
All
FHIR
elements
must
have
a
@value
or
children
(xpath
on
Extension.extension:
@value|f:*|h:div
)
ext-1
:
On
Extension.extension:
Must
have
either
extensions
or
value[x],
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
both
(xpath
on
Extension.extension:
exists(f:extension)!=exists(f:*[starts-with(local-name(.),
"value")])
)
ele-1
:
On
Extension.value[x]:
All
FHIR
elements
must
have
a
@value
or
children
(xpath
on
Extension.value[x]:
@value|f:*|h:div
)
normative
part
of
the
specification.