Example
CodeSystem/sort-direction
(XML)
Raw
JSON
XML
(
canonical
form
+
also
see
JSON
XML
Format
Specification
)
Withhold
or
withdraw
consent
Definition
for
disclosure
to
a
specific
provider
organization
Code
SystemSortDirection
{
"resourceType": "Consent",
"id": "consent-example-notOrg",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">The following scenario is based on existing jurisdictional policy and are realized in existing systems in Canada. \n\tThe default policy is one of implied consent for the provision of care, so these scenarios all deal with withdrawal or withholding consent for that purpose. \n\tIn other jurisdictions, where an express consent model is used (Opt-In), these would examples would contain the phrase "consent to" rather \n\tthan "withhold" or "withdraw" consent for.\n <p>\n\tspecific to use-case 3) Withhold or withdraw consent for disclosure to a specific provider organization \n\t</p><p>\n Patient "P. van de Heuvel" ex-spouse is a Physician that is employed by Good Health Clinic. P. decides\n that he would like to withdraw/withhold consent to disclose any instance of his health information \n to Good Health Clinic.\n </p>\n </div>"
},
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy"
}
]
},
"category": [
{
"coding": [
{
"system": "http://loinc.org",
"code": "59284-0"
}
]
}
],
"patient": {
"reference": "Patient/f001",
"display": "P. van de Heuvel"
},
"dateTime": "2015-11-18",
"organization": [
{
"reference": "Organization/f001"
}
],
"sourceAttachment": {
"title": "The terms of the consent in lawyer speak."
},
"policyRule": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "OPTIN"
}
]
},
"provision": {
"type": "deny",
"actor": [
{
"role": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code": "PRCP"
}
]
},
"reference": {
"reference": "Organization/f001"
}
}
],
"action": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentaction",
"code": "access"
}
]
},
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentaction",
"code": "correct"
}
]
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="sort-direction"/>
<meta>
<lastUpdated value="2022-09-10T04:52:37.223+10:00"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This code system
<code> http://hl7.org/fhir/sort-direction</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">ascending
<a name="sort-direction-ascending"> </a>
</td>
<td> Ascending</td>
<td> Sort by the value ascending, so that lower values appear first.</td>
</tr>
<tr>
<td style="white-space:nowrap">descending
<a name="sort-direction-descending"> </a>
</td>
<td> Descending</td>
<td> Sort by the value descending, so that lower values appear last.</td>
</tr>
</table>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="5"/>
</extension>
<url value="http://hl7.org/fhir/sort-direction"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.980"/>
</identifier>
<version value="5.0.0-ballot"/>
<name value="SortDirection"/>
<title value="SortDirection"/>
<status value="draft"/>
<experimental value="false"/>
<date value="2022-09-10T04:52:37+10:00"/>
<publisher value="HL7 (FHIR Project)"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
<telecom>
<system value="email"/>
<value value="fhir@lists.hl7.org"/>
</telecom>
</contact>
<description value="The possible sort directions, ascending or descending."/>
<caseSensitive value="true"/>
<valueSet value="http://hl7.org/fhir/ValueSet/sort-direction"/>
<content value="complete"/>
<concept>
<code value="ascending"/>
<display value="Ascending"/>
<definition value="Sort by the value ascending, so that lower values appear first."/>
</concept>
<concept>
<code value="descending"/>
<display value="Descending"/>
<definition value="Sort by the value descending, so that lower values appear last."/>
</concept>
</
CodeSystem
>
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.