Example ValueSet/doc-typecodes (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Value SetFHIR Document Type Codes
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="doc-typecodes"/>
<meta>
<lastUpdated value="2022-09-10T04:52:37.223+10:00"/>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<ul>
<li> Include codes from
<a href="http://loinc.org">
<code> http://loinc.org</code>
</a> where SCALE_TYP = Doc
</li>
</ul>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="sd"/>
</extension>
<url value="http://hl7.org/fhir/ValueSet/doc-typecodes"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.3.240"/>
</identifier>
<version value="5.0.0-ballot"/>
<name value="FHIRDocumentTypeCodes"/>
<title value="FHIR Document Type Codes"/>
<status value="draft"/>
<experimental value="false"/>
<publisher value="HL7"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org"/>
</telecom>
</contact>
<description value="FHIR Document Codes - all LOINC codes where scale type = 'DOC'."/>
<copyright value="This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the
LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use."/>
<compose>
<include>
<system value="http://loinc.org"/>
<filter>
<property value="SCALE_TYP"/>
<op value="="/>
<value value="Doc"/>
</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.