Example
of
a
very
simple
personal
characteristic
observation
Definition
for
Code
SystemAccountStatus
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/Observation/eye-color> a fhir:Observation;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "eye-color"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: eye-color</p><p><b>status</b>: final</p><p><b>code</b>: eye color <span>(Details )</span></p><p><b>subject</b>: <a>Patient/example</a></p><p><b>effective</b>: 18/05/2016</p><p><b>value</b>: blue</p></div>"
];
fhir:Observation.status [ fhir:value "final"];
fhir:Observation.code [
fhir:CodeableConcept.text [ fhir:value "eye color" ]
];
fhir:Observation.subject [
fhir:link <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ]
];
fhir:Observation.effectiveDateTime [ fhir:value "2016-05-18"^^xsd:date];
fhir:Observation.valueString [ fhir:value "blue"] .
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Observation/eye-color.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Observation/eye-color.ttl> .
# -------------------------------------------------------------------------------------
{
"resourceType" : "CodeSystem",
"id" : "account-status",
"meta" : {
"lastUpdated" : "2022-12-14T07:12:54.019+11:00",
"profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/account-status</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">active<a name=\"account-status-active\"> </a></td><td>Active</td><td>This account is active and may be used.</td></tr><tr><td style=\"white-space:nowrap\">inactive<a name=\"account-status-inactive\"> </a></td><td>Inactive</td><td>This account is inactive and should not be used to track financial information.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"account-status-entered-in-error\"> </a></td><td>Entered in error</td><td>This instance should not have been part of this patient's medical record.</td></tr><tr><td style=\"white-space:nowrap\">on-hold<a name=\"account-status-on-hold\"> </a></td><td>On Hold</td><td>This account is on hold.</td></tr><tr><td style=\"white-space:nowrap\">unknown<a name=\"account-status-unknown\"> </a></td><td>Unknown</td><td>The account status is unknown.</td></tr></table></div>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "pa"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 2
}],
"url" : "http://hl7.org/fhir/account-status",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.4.727"
},
{
"use" : "old",
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.1.715"
},
{
"use" : "old",
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.2.362"
}],
"version" : "5.0.0-snapshot3",
"name" : "AccountStatus",
"title" : "AccountStatus",
"status" : "active",
"experimental" : false,
"date" : "2021-01-05T10:01:24+11:00",
"publisher" : "HL7 (FHIR Project)",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
},
{
"system" : "email",
"value" : "fhir@lists.hl7.org"
}]
}],
"description" : "Indicates whether the account is available to be used.",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}]
}],
"caseSensitive" : true,
"valueSet" : "http://hl7.org/fhir/ValueSet/account-status",
"content" : "complete",
"concept" : [{
"code" : "active",
"display" : "Active",
"definition" : "This account is active and may be used."
},
{
"code" : "inactive",
"display" : "Inactive",
"definition" : "This account is inactive and should not be used to track financial information."
},
{
"code" : "entered-in-error",
"display" : "Entered in error",
"definition" : "This instance should not have been part of this patient's medical record."
},
{
"code" : "on-hold",
"display" : "On Hold",
"definition" : "This account is on hold."
},
{
"code" : "unknown",
"display" : "Unknown",
"definition" : "The account status is unknown."
}]
}
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
a
normative
part
of
the
specification.