Example
ValueSet/participant-role
(XML)
Raw
JSON
XML
(
canonical
form
+
also
see
JSON
XML
Format
Specification
)
reviewer
Definition
for
Value
SetParticipant
Roles
{
"resourceType" : "StructureDefinition",
"id" : "questionnaireresponse-reviewer",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1
}],
"url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer",
"version" : "4.0.1",
"name" : "reviewer",
"title" : "Reviewer",
"status" : "draft",
"date" : "2013-07-04",
"publisher" : "HL7",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org"
}]
}],
"description" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.",
"fhirVersion" : "4.0.1",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"context" : [{
"type" : "element",
"expression" : "QuestionnaireResponse"
}],
"type" : "Extension",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation" : "constraint",
"snapshot" : {
"element" : [{
"id" : "Extension",
"path" : "Extension",
"short" : "Who verified completion of form?",
"definition" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Extension",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source" : "http://hl7.org/fhir/StructureDefinition/Extension"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "./participation[typeCode=VRF]/role"
}]
},
{
"id" : "Extension.id",
"path" : "Extension.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl" : "string"
}],
"code" : "http://hl7.org/fhirpath/System.String"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Extension.extension",
"path" : "Extension.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Extension",
"definition" : "An Extension",
"min" : 0,
"max" : "0",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source" : "http://hl7.org/fhir/StructureDefinition/Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "Extension.url",
"path" : "Extension.url",
"representation" : ["xmlAttr"],
"short" : "identifies the meaning of the extension",
"definition" : "Source of the definition for the extension code - a logical name or a URL.",
"comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Extension.url",
"min" : 1,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl" : "uri"
}],
"code" : "http://hl7.org/fhirpath/System.String"
}],
"fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer",
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Extension.value[x]",
"path" : "Extension.value[x]",
"short" : "Value of extension",
"definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Extension.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner"]
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "http://hl7.org/fhir/StructureDefinition/Element"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Extension",
"path" : "Extension",
"short" : "Who verified completion of form?",
"definition" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.",
"min" : 0,
"max" : "1",
"mapping" : [{
"identity" : "rim",
"map" : "./participation[typeCode=VRF]/role"
}]
},
{
"id" : "Extension.extension",
"path" : "Extension.extension",
"max" : "0"
},
{
"id" : "Extension.url",
"path" : "Extension.url",
"fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer"
},
{
"id" : "Extension.value[x]",
"path" : "Extension.value[x]",
"min" : 1,
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner"]
}]
}]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="participant-role"/>
<meta>
<lastUpdated value="2022-12-14T07:12:54.019+11:00"/>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This value set includes codes based on the following rules:</p>
<ul>
<li> Include these codes as defined in
<a href="http://www.snomed.org/">
<code> http://snomed.info/sct</code>
</a>
<table class="none">
<tr>
<td style="white-space:nowrap">
<b> Code</b>
</td>
<td>
<b> Display</b>
</td>
</tr>
<tr>
<td>
<a href="http://snomed.info/id/429577009">429577009</a>
</td>
<td> Patient advocate (person)</td>
</tr>
<tr>
<td>
<a href="http://snomed.info/id/116154003">116154003</a>
</td>
<td> Patient</td>
</tr>
<tr>
<td>
<a href="http://snomed.info/id/133932002">133932002</a>
</td>
<td> Caregiver</td>
</tr>
</table>
</li>
<li> Include codes from
<a href="http://www.snomed.org/">
<code> http://snomed.info/sct</code>
</a> where concept is-a 223366009 (Healthcare professional)
</li>
<li> Include codes from
<a href="http://www.snomed.org/">
<code> http://snomed.info/sct</code>
</a> where concept is-a 224930009 (Services)
</li>
</ul>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="pc"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="draft"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1"/>
</extension>
<url value="http://hl7.org/fhir/ValueSet/participant-role"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.3.152"/>
</identifier>
<identifier>
<use value="old"/>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.3.143"/>
</identifier>
<identifier>
<use value="old"/>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.2.61"/>
</identifier>
<version value="5.0.0-snapshot3"/>
<name value="ParticipantRoles"/>
<title value="Participant Roles"/>
<status value="draft"/>
<experimental value="true"/>
<publisher value="FHIR Project"/>
<description value="Roles of participants that may be included in a care team. Defined as: Healthcare
professional (occupation) or Services (qualifier value)."/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
<display value="World"/>
</coding>
</jurisdiction>
<copyright value="This resource includes content from SNOMED Clinical Terms® (SNOMED CT®) which is
copyright of the International Health Terminology Standards Development Organisation
(IHTSDO). Implementers of these specifications must have the appropriate SNOMED
CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snome
d-ct or info@snomed.org"/>
<compose>
<include>
<system value="http://snomed.info/sct"/>
<concept>
<code value="429577009"/>
</concept>
<concept>
<code value="116154003"/>
</concept>
<concept>
<code value="133932002"/>
</concept>
</include>
<include>
<system value="http://snomed.info/sct"/>
<filter>
<property value="concept"/>
<op value="is-a"/>
<value value="223366009"/>
</filter>
</include>
<include>
<system value="http://snomed.info/sct"/>
<filter>
<property value="concept"/>
<op value="is-a"/>
<value value="224930009"/>
</filter>
</include>
</compose>
</
ValueSet
>
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.