US Quality Core Implementation Guide
0.1.0 - cibuild

US Quality Core Implementation Guide, published by ASTP. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/us-quality-core/ and changes regularly. See the Directory of published versions

## : CarePlan example - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:CarePlan ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CarePlan example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><p><b>instantiatesCanonical</b>: <code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule</code></p><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/core/CodeSystem/careplan-category assess-plan}\">Assessment and Plan of Treatment</span></p><p><b>subject</b>: Eve Everywoman</p><p><b>period</b>: 2019-05-24 --&gt; 2020-02-24</p><p><b>careTeam</b>: <a href=\"CareTeam-example.html\">CareTeam: status = active</a></p><p><b>addresses</b>: pregnancy</p><p><b>goal</b>: pregnancy goal</p><blockquote><p><b>activity</b></p><p><b>outcomeReference</b>: First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01</p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>In Progress</td><td>Mabel Midwife</td><td>First antenatal care contact</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>Scheduled</td><td>2019-07-26 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Second contact to occur at 20 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>Not Started</td><td>2019-09-06 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Third contact to occur at 26 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>Not Started</td><td>2019-10-04 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Fourth contact to occur at 30 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>Not Started</td><td>2019-11-01 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Fifth contact to occur at 34 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>Not Started</td><td>2019-11-15 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Sixth contact to occur at 36 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>Not Started</td><td>2019-11-29 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Seventh contact to occur at 38 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><code>http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title=\"Codes:{http://snomed.info/sct 424525001}\">Antenatal care</span></td><td>Not Started</td><td>2019-12-13 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Eighth contact to occur at 40 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Kind</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><span title=\"Codes:{http://snomed.info/sct 236973005}\">Delivery procedure</span></td><td>Not Started</td><td>2019-12-13 --&gt; 2019-12-27</td><td>Mabel Midwife</td><td>Delivery</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:instantiatesCanonical ( [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule>
      ] ) ; # extension url="http://fhir.org/guides/who/anc-cds/StructureDefinition/careplan-episodeOfCare">
    #        <valueReference>
    #            <reference value="EpisodeOfCare/mom-pregnancy-episode"/>
    #        </valueReference>
    #    </extension
      fhir:status [ fhir:v "active"] ; #
      fhir:intent [ fhir:v "plan"] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/core/CodeSystem/careplan-category"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/core/CodeSystem/careplan-category>       ] ;
    fhir:code [ fhir:v "assess-plan" ] ;
    fhir:display [ fhir:v "Assessment and Plan of Treatment" ]     ] )
      ] ) ; #
      fhir:subject [
    fhir:display [ fhir:v "Eve Everywoman" ] # reference value=\"Patient\/mom\"\/
      ] ; #
      fhir:period [
    fhir:start [ fhir:v "2019-05-24"^^xsd:date ] ; #   The likely duration of the pregnancy
    fhir:end [ fhir:v "2020-02-24"^^xsd:date ]
      ] ; #
      fhir:careTeam ( [
    fhir:l fhir:CareTeam/example ;
    fhir:reference [ fhir:v "CareTeam/example" ]
      ] ) ; #
      fhir:addresses ( [
    fhir:display [ fhir:v "pregnancy" ] # reference value=\"Condition\/mom-pregnancy\"\/
      ] ) ; #
      fhir:goal ( [
    fhir:display [ fhir:v "pregnancy goal" ] # reference value=\"Goal\/mom-pregnancy-goal\"\/
      ] ) ; #
      fhir:activity ( [
        ( fhir:outcomeReference [
    fhir:display [ fhir:v "First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01" ] # reference value=\"Encounter\/mom-first-contact\"\/     ] ) ;
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "in-progress" ] ;
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "First antenatal care contact" ]     ]
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "scheduled" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-07-26"^^xsd:date ]       ] ; #  Scheduled based on gestational age calculation
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "Second contact to occur at 20 weeks of gestational age" ]     ] # reference>\n          <reference value=\"ServiceRequest\/mom-second-contact\"\/>\n          <display value=\"Second contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact\"\/>\n        <\/reference
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "not-started" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-09-06"^^xsd:date ]       ] ; #  Scheduled based on gestational age calculation
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "Third contact to occur at 26 weeks of gestational age" ]     ]
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "not-started" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-10-04"^^xsd:date ]       ] ; #  Scheduled based on gestational age calculation
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "Fourth contact to occur at 30 weeks of gestational age" ]     ]
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "not-started" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-11-01"^^xsd:date ]       ] ; #  Scheduled based on gestational age calculation
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "Fifth contact to occur at 34 weeks of gestational age" ]     ]
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "not-started" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-11-15"^^xsd:date ]       ] ; #  Scheduled based on gestational age calculation
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "Sixth contact to occur at 36 weeks of gestational age" ]     ]
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "not-started" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-11-29"^^xsd:date ]       ] ; #  Scheduled based on gestational age calculation
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "Seventh contact to occur at 38 weeks of gestational age" ]     ]
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ;
          ( fhir:instantiatesCanonical [
    fhir:v "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact"^^xsd:anyURI ;
    fhir:l <http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact>       ] ) ;
    fhir:code [
            ( fhir:coding [
    a sct:424525001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "424525001" ] ;
    fhir:display [ fhir:v "Antenatal care (regime/therapy)" ]         ] ) ;
    fhir:text [ fhir:v "Antenatal care" ]       ] ;
    fhir:status [ fhir:v "not-started" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-12-13"^^xsd:date ]       ] ; #  Scheduled based on gestational age calculation
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ;
    fhir:description [ fhir:v "Eighth contact to occur at 40 weeks of gestational age" ]     ]
      ] [
    fhir:detail [
    fhir:kind [ fhir:v "ServiceRequest" ] ; #   This will be the delivery. It is not yet scheduled.
    fhir:code [
            ( fhir:coding [
    a sct:236973005 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "236973005" ] ;
    fhir:display [ fhir:v "Delivery procedure (procedure)" ]         ] ) ;
    fhir:text [ fhir:v "Delivery procedure" ]       ] ;
    fhir:status [ fhir:v "not-started" ] ;
    fhir:scheduled [
    a fhir:Period ;
    fhir:start [ fhir:v "2019-12-13"^^xsd:date ] ;
    fhir:end [ fhir:v "2019-12-27"^^xsd:date ]       ] ;
          ( fhir:performer [
    fhir:display [ fhir:v "Mabel Midwife" ] # reference value=\"Practitioner\/midwife\"\/       ] ) ; #  TODO: location
    fhir:description [ fhir:v "Delivery" ]     ]
      ] ) . #  First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01