Med oral QID with PRN

back to homepage

Approval Status

  • Approval Status: Approved
  • Example Task Force: 1/9/2014
  • SDWG: 1/16/2014

  • SDWG C-CDA R2.1 Upgrade: 12/1/2016

C-CDA 2.1 Example:

  • 2.16.840.1.113883.

  • 2.16.840.1.113883.

  • 2.16.840.1.113883.

  • 2.16.840.1.113883.

  • 2.16.840.1.113883.

    Reference to full CDA sample:

  • Medications in empty CCD

Validation location


  • This is an example of a medication which is QID and PRN (as needed) but with no precondition specified. It was generated based on SDWG list-serv discussion in December 2013. It also demonstrated a pre-coordinated generic medication coded at the SDC level (generic 600mg Oral Tablet) in RxNorm hierarchy.


  • Brett Marquard
  • Keywords

  • medications




Example: download example view on GitHub

    <templateId root="2.16.840.1.113883."/>
    <templateId root="2.16.840.1.113883." extension="2014-06-09"/>
    <!-- Medication Section (entries required) -->
    <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of Medication Use"/>
        <table border="1" width="100%">
                    <th>Effective Dates (start - stop)</th>
                <tr ID="Medication_0">
                        <content ID="MedicationName_0" xmlns="urn:hl7-org:v3">Ibuprofen 600mg Oral Tablet</content>
                        <content>take 1 tablet QID PRN</content>
                        <content>600 MG</content>
                    <td>Dec-18-2013 - </td>
    <entry typeCode="DRIV">
        <substanceAdministration classCode="SBADM" moodCode="INT">
            <!-- This medication use case is a medication to be administered. If it has been already administered use moodCode = "EVN". If an ordered drug then use moodCode = "RQO" -->
            <!-- Dependencies exist between moodCode, statusCode and effectiveTime  -->
            <templateId root="2.16.840.1.113883."/>
            <templateId root="2.16.840.1.113883." extension="2014-06-09"/>
            <id root="47d3e719-f688-459d-bcdc-47c6de0767a9"/>
                <!-- This reference refers to medication information in unstructured portion of section-->
                <reference value="#Medication_0"/>
            <statusCode code="active"/>
            <!-- This first effectiveTime shows that medication was added on December 18, 2013 (not known to have stopped)-->
            <effectiveTime xsi:type="IVL_TS">
                <low value="20131218"/>
                <high nullFlavor="NI"/>
            <!-- This second effectiveTime represents QID from medication sig. -->
            <!-- InstituionSpecified = "true" means that it can be given 4 times per day but need not be exactly timed to every 6 hours-->
            <!-- InstituionSpecified = "false" would mean that timing needs to be administered exactly as structured-->
            <!-- Operator "A" means that this timing information is in addition to previous effectiveTime information provided-->
            <effectiveTime xsi:type="PIVL_TS" institutionSpecified="true" operator="A">
                <period value="6" unit="h"/>
            <routeCode code="C38288" codeSystem="2.16.840.1.113883." codeSystemName="NCI Thesaurus" displayName="Oral Route of Administration"/>
            <!-- This relates directly to the code used for medication. Since it's a tablet, then only specified needed in dose is 1x per administration-->
            <doseQuantity value="1"/>
                <manufacturedProduct classCode="MANU">
                    <!-- ** Medication information ** -->
                    <templateId root="2.16.840.1.113883."/>
                    <templateId root="2.16.840.1.113883." extension="2014-06-09"/>
                    <id root="2a620155-9d11-439e-92b3-5d9815ff4ee8"/>
                        <!-- Medications should be specified at a level corresponding to prescription when possible, such as 600mg oral tablet (non-branded)-->
                        <code code="197806" displayName="ibuprofen 600 MG Oral Tablet" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm">
                                <reference value="#MedicationName_0"/>
                            <translation code="00603402221" codeSystem="2.16.840.1.113883.6.69"
                                codeSystemName="NDC" displayName="Ibuprofen 600mg Oral Tablet"/>
                <templateId root="2.16.840.1.113883."/>
                <!-- Time the author noted that patient is on no medications -->
                <time value="20131218"/>
                    <id extension="66666" root="2.16.840.1.113883.4.6"/>
                    <code code="207RC0000X" codeSystem="2.16.840.1.113883.6.101"
                        codeSystemName="NUCC" displayName="Allopathic &amp; Osteopathic Physicians; Internal Medicine, Cardiovascular Disease"/>
                        <streetAddressLine>6666 StreetName St.</streetAddressLine>
                        <city>Silver Spring</city>
                    <telecom value="tel:+1(301)666-6666" use="WP"/>
            <precondition typeCode="PRCN">
                    <!-- ** Precondition for substance administration ** -->
                    <templateId root="2.16.840.1.113883."/>
                    <templateId root="2.16.840.1.113883." extension="2014-06-09"/>
                    <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
                    <!-- If a precondition were specified in medication sig, you would include code here. Include nullFlavor="NI" when PRN specified but without precondition-->
                    <value xsi:type="CD" nullFlavor="NI"  />
  1. C-CDA Example Search Help

    C-CDA Example Search Results
    This screen displays the results of executing the example search criteria against the existing examples recorded in the example database.

  2. Search Criteria Panel

    This panel allow you to further refine your queries and narrow the results

  3. Text Search Words

    Use this field to enter words related to your search. These words can appear in the title, the comments or as part of a special list of keywords associated with the example. The search words should be entered with spaces separating the items.

  4. Filter by example status

    By selecting the various statuses, the search results can be limited to only the example that are set to the selected status(es). By removing all status selections, the filtering is removed and examples from all statuses will be returned (based on any other filtering).

  5. Select only ONC Certified examples

    These are samples referenced in a government rule or certification companion guide.

  6. Execute the search based on the criteria entered (or retrieve all examples if no criteria specified).

  7. The number of results that match the query parameters can be found here.

  8. Use this link to jump back to the initial page of the application (that lists the sections).

  9. This columns list the names of the examples that match the criteria (and the comment for each example).

  10. This columns lists the area in the C-CDA specification (the specification is broken into distinct topics for the various exchangeable documents, the common header, and the sections that occur within the exchangeable documents) that the example demonstrates.

  11. This columns lists the state of the example in the example verification and approval process.

  12. You can select to download the examples directly or navigate to page with the full detailed description of the example.

  13. Tour Complete

    Return to the C-CDA Example Search Results page.