Example
ValueSet/versioning-policy
(XML)
Raw
Turtle
XML
(+
(
canonical
form
+
also
see
Turtle/RDF
XML
Format
Specification
)
Request
using
Medication
Code
Definition
for
Topical
Ointment
-
Nystatin
-
on
hold
and
with
dispense
request
Value
SetResourceVersionPolicy
@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/MedicationRequest/medrx0325> a fhir:MedicationRequest;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "medrx0325"];
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>: medrx0325</p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: on-hold</p><p><b>intent</b>: order</p><p><b>medication</b>: Nystatin 100UNT/MG Topical Ointment <span>(Details : {RxNorm code '884308' = 'nystatin 100,000 UNT/GM Topical Ointment', given as 'Nystatin 100UNT/MG Topical Ointment'})</span></p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>authoredOn</b>: 15/01/2015</p><p><b>requester</b>: <a>Patrick Pump</a></p><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table><tr><td>-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td><td><b>ExpectedSupplyDuration</b></td></tr><tr><td>*</td><td>15/01/2015 --> 15/01/2016</td><td>3</td><td>30 g<span> (Details: UCUM code g = 'g')</span></td><td>10 days<span> (Details: UCUM code d = 'd')</span></td></tr></table><h3>Substitutions</h3><table><tr><td>-</td><td><b>Allowed[x]</b></td><td><b>Reason</b></td></tr><tr><td>*</td><td>true</td><td>formulary policy <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-ActReason code 'FP' = 'formulary policy', given as 'formulary policy'})</span></td></tr></table></div>"
];
fhir:MedicationRequest.identifier [
fhir:index 0;
fhir:Identifier.use [ fhir:value "official" ];
fhir:Identifier.system [ fhir:value "http://www.bmc.nl/portal/prescriptions" ];
fhir:Identifier.value [ fhir:value "12345689" ]
];
fhir:MedicationRequest.status [ fhir:value "on-hold"];
fhir:MedicationRequest.intent [ fhir:value "order"];
fhir:MedicationRequest.medicationCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
fhir:Coding.code [ fhir:value "884308" ];
fhir:Coding.display [ fhir:value "Nystatin 100UNT/MG Topical Ointment" ]
]
];
fhir:MedicationRequest.subject [
fhir:link <http://hl7.org/fhir/Patient/pat1>;
fhir:Reference.reference [ fhir:value "Patient/pat1" ];
fhir:Reference.display [ fhir:value "Donald Duck" ]
];
fhir:MedicationRequest.authoredOn [ fhir:value "2015-01-15"^^xsd:date];
fhir:MedicationRequest.requester [
fhir:link <http://hl7.org/fhir/Practitioner/f007>;
fhir:Reference.reference [ fhir:value "Practitioner/f007" ];
fhir:Reference.display [ fhir:value "Patrick Pump" ]
];
fhir:MedicationRequest.dosageInstruction [
fhir:index 0;
fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
fhir:Dosage.text [ fhir:value "Apply to affected areas four times daily" ];
fhir:Dosage.timing [
fhir:Timing.repeat [
fhir:Timing.repeat.frequency [ fhir:value "4"^^xsd:positiveInteger ];
fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
]
];
fhir:Dosage.doseAndRate [
fhir:index 0;
fhir:Dosage.doseAndRate.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ];
fhir:Coding.code [ fhir:value "ordered" ];
fhir:Coding.display [ fhir:value "Ordered" ]
]
];
fhir:Dosage.doseAndRate.doseQuantity [
fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "ea" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "ea" ]
]
]
];
fhir:MedicationRequest.dispenseRequest [
fhir:MedicationRequest.dispenseRequest.validityPeriod [
fhir:Period.start [ fhir:value "2015-01-15"^^xsd:date ];
fhir:Period.end [ fhir:value "2016-01-15"^^xsd:date ]
];
fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "3"^^xsd:nonNegativeInteger ];
fhir:MedicationRequest.dispenseRequest.quantity [
fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "g" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "g" ]
];
fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "days" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "d" ]
]
];
fhir:MedicationRequest.substitution [
fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "true"^^xsd:boolean ];
fhir:MedicationRequest.substitution.reason [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ];
fhir:Coding.code [ fhir:value "FP" ];
fhir:Coding.display [ fhir:value "formulary policy" ]
]
]
] .
<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .
<http://hl7.org/fhir/Practitioner/f007> a fhir:Practitioner .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/MedicationRequest/medrx0325.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/MedicationRequest/medrx0325.ttl> .
# -------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="versioning-policy"/>
<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 all codes defined in
<a href="codesystem-versioning-policy.html">
<code> http://hl7.org/fhir/versioning-policy</code>
</a>
</li>
</ul>
</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="normative"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="5"/>
</extension>
<url value="http://hl7.org/fhir/ValueSet/versioning-policy"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.3.190"/>
</identifier>
<version value="5.0.0-ballot"/>
<name value="ResourceVersionPolicy"/>
<title value="ResourceVersionPolicy"/>
<status value="active"/>
<experimental value="false"/>
<date value="2020-12-28T16:55:11+11: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="How the system supports versioning for a resource."/>
<immutable value="true"/>
<compose>
<include>
<system value="http://hl7.org/fhir/versioning-policy"/>
</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.