MediRecords FHIR Implementation Guide
1.3.0 - release


: EpisodeOfCare example with contained CareTeam - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:EpisodeOfCare ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "dbef61ad-20fe-42aa-bb40-d3b50b85c544"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2022-02-28T01:43:30Z"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-episodeofcare"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-episodeofcare>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "U" ] ;
fhir:display [ fhir:v "unrestricted" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: EpisodeOfCare</b><a name=\"dbef61ad-20fe-42aa-bb40-d3b50b85c544\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource EpisodeOfCare &quot;dbef61ad-20fe-42aa-bb40-d3b50b85c544&quot; Updated &quot;2022-02-28 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-episodeofcare.html\">MR EpisodeOfCare</a></p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-Confidentiality http://terminology.hl7.org/CodeSystem/v3-Confidentiality}\">http://terminology.hl7.org/CodeSystem/v3-Confidentiality</span></p></div><p><b>MR Episode Priority Extension</b>: routine</p><p><b>MR Episode Topic Extension</b>: Some case subject</p><p><b>MR Episode Number Sessions Extension</b>: 5</p><p><b>MR Comment Note Extension</b>: Some case notes</p><p><b>MR Referenced Document Extension</b>: <a href=\"DocumentReference-19e8fe1e-bdbd-4944-937f-671e12238f64.html\">DocumentReference/19e8fe1e-bdbd-4944-937f-671e12238f64</a></p><p><b>identifier</b>: Episode Case Number: CSE-00000034, Episode Reference Number: 8012323</p><p><b>status</b>: active</p><p><b>type</b>: Post Acute Care <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-episodeofcare-type.html\">Episode of care type</a>#pac)</span></p><h3>Diagnoses</h3><table class=\"grid\"><tr><td>-</td><td><b>Condition</b></td></tr><tr><td>*</td><td><a href=\"Condition-9bf648c6-20b9-11ec-9621-0242ac130002.html\">Condition/9bf648c6-20b9-11ec-9621-0242ac130002: Wrist Pain</a></td></tr></table><p><b>patient</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c</a> &quot; GREY&quot;</p><p><b>managingOrganization</b>: <a href=\"Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html\">Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9</a> &quot;Healthy Live Clinic&quot;</p><p><b>period</b>: 2022-02-28 --&gt; 2023-02-28</p><p><b>careManager</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054</a> &quot; SMITH&quot;</p><p><b>team</b>: <a name=\"1\"> </a></p><blockquote><p/><p><a name=\"1\"> </a></p><blockquote><p><b>participant</b></p><p><b>member</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith</a> &quot; SMITH&quot;</p></blockquote><blockquote><p><b>participant</b></p><p><b>member</b>: <a href=\"Organization-2b5627f9-5fea-4dcf-9978-9d4bcf5c1616.html\">Organization/2b5627f9-5fea-4dcf-9978-9d4bcf5c1616: Western Pathology</a> &quot;Western Pathology&quot;</p></blockquote><blockquote><p><b>participant</b></p><p><b>member</b>: <a href=\"PractitionerRole-b27fc609-efcb-4c43-a296-5908787de413.html\">PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413: Dr David Jones</a></p></blockquote><p><b>managingOrganization</b>: <a href=\"Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html\">Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9</a> &quot;Healthy Live Clinic&quot;</p></blockquote><hr/><blockquote><p><b>Generated Narrative: CareTeam #1</b><a name=\"1\"> </a></p><blockquote><p><b>participant</b></p><p><b>member</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith</a> &quot; SMITH&quot;</p></blockquote><blockquote><p><b>participant</b></p><p><b>member</b>: <a href=\"Organization-2b5627f9-5fea-4dcf-9978-9d4bcf5c1616.html\">Organization/2b5627f9-5fea-4dcf-9978-9d4bcf5c1616: Western Pathology</a> &quot;Western Pathology&quot;</p></blockquote><blockquote><p><b>participant</b></p><p><b>member</b>: <a href=\"PractitionerRole-b27fc609-efcb-4c43-a296-5908787de413.html\">PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413: Dr David Jones</a></p></blockquote><p><b>managingOrganization</b>: <a href=\"Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html\">Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9</a> &quot;Healthy Live Clinic&quot;</p></blockquote></div>"
  ] ; # 
  fhir:contained ( [
a fhir:CareTeam ;
fhir:id [ fhir:v "1" ] ;
fhir:meta [
      ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-careteam"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-careteam>       ] )     ] ;
    ( fhir:participant [
fhir:member [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ] ;
fhir:display [ fhir:v "Dr John Smith" ]       ]     ] [
fhir:member [
fhir:reference [ fhir:v "Organization/2b5627f9-5fea-4dcf-9978-9d4bcf5c1616" ] ;
fhir:display [ fhir:v "Western Pathology" ]       ]     ] [
fhir:member [
fhir:reference [ fhir:v "PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413" ] ;
fhir:display [ fhir:v "Dr David Jones" ]       ]     ] ) ;
    ( fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9" ]     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-episode-priority-ext"^^xsd:anyURI ] ;
fhir:value [ fhir:v "routine" ]
  ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-episode-topic-ext"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Some case subject" ]
  ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-episode-sessions-ext"^^xsd:anyURI ] ;
fhir:value [ fhir:v "5"^^xsd:integer ]
  ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Some case notes" ]
  ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-referenced-document-ext"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "DocumentReference/19e8fe1e-bdbd-4944-937f-671e12238f64" ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "https://fhir.medirecords.com/CodeSystem/mr-identifier-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ECN" ] ;
fhir:display [ fhir:v "Episode Case Number" ]       ] )     ] ;
fhir:value [ fhir:v "CSE-00000034" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "https://fhir.medirecords.com/CodeSystem/mr-identifier-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ERN" ] ;
fhir:display [ fhir:v "Episode Reference Number" ]       ] )     ] ;
fhir:value [ fhir:v "8012323" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/episodeofcare-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "pac" ] ;
fhir:display [ fhir:v "Post Acute Care" ]     ] )
  ] ) ; # 
  fhir:diagnosis ( [
fhir:condition [
fhir:reference [ fhir:v "Condition/9bf648c6-20b9-11ec-9621-0242ac130002" ] ;
fhir:display [ fhir:v "Wrist Pain" ]     ]
  ] ) ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ] ; # 
  fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9" ]
  ] ; # 
  fhir:period [
fhir:start [ fhir:v "2022-02-28"^^xsd:date ] ;
fhir:end [ fhir:v "2023-02-28"^^xsd:date ]
  ] ; # 
  fhir:careManager [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ] ; # 
  fhir:team ( [
fhir:reference [ fhir:v "#1" ]
  ] ) . #