MediRecords FHIR Implementation Guide
1.4.1 - release


: Webhook Bundle for patient.created event - 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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "962f180b-2649-474f-941c-46505aaa35c2"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2022-03-04T01:43:30Z"^^xsd:dateTime ]
  ] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9> )
  ] ) . # 

<urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c> a fhir:Patient ;
  fhir:id [ fhir:v "1e5cae20-85bf-11e8-b401-ffccd711ad9c"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2021-10-11T01:43:30Z"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-patient-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-patient-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </a><p><b>Generated Narrative: Patient</b><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </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 Patient &quot;1e5cae20-85bf-11e8-b401-ffccd711ad9c&quot; Updated &quot;2021-10-11 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-patient-core.html\">MR Patient</a></p></div><p><b>English As Second Language Indicator Extension</b>: false</p><p><b>Ethnicity</b>: Scottish <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-mr-patient-ethnicity-code.html\">MediRecords Patient Ethnicity CodeSystem</a>#155)</span></p><p><b>identifier</b>: Medicare Number/32788511952 (period: (?) --&gt; 2025-02)</p><p><b>name</b>: Mila Grey (OFFICIAL), Mila, Don Mila(OLD)</p><p><b>telecom</b>: ph: 0410999999(MOBILE), <a href=\"mailto:mila.grey@xyz.com\">mila.grey@xyz.com</a></p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1990-11-29</p><p><b>address</b>: </p><ul><li>abc lane Sydney NSW 2000 AU (HOME)</li><li>12 MLK BLVD Tampa FL 33131 US (WORK)</li></ul><p><b>generalPractitioner</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></p><p><b>managingOrganization</b>: <a href=\"#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9)</a></p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-eng-secondlang-ind-extn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "false"^^xsd:boolean ]
  ] [
fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/ethnicity"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [ fhir:v "https://fhir.medirecords.com/CodeSystem/mr-patient-ethnicity-code"^^xsd:anyURI ] ;
fhir:code [ fhir:v "155" ] ;
fhir:display [ fhir:v "Scottish" ]       ] )     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MC" ] ;
fhir:display [ fhir:v "Patient's Medicare Number" ]       ] ) ;
fhir:text [ fhir:v "Medicare Number" ]     ] ;
fhir:system [ fhir:v "http://ns.electronichealth.net.au/id/medicare-number"^^xsd:anyURI ] ;
fhir:value [ fhir:v "32788511952" ] ;
fhir:period [
fhir:end [ fhir:v "2025-02"^^xsd:gYearMonth ]     ]
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Grey" ] ;
    ( fhir:given [ fhir:v "Mila" ] ) ;
    ( fhir:prefix [ fhir:v "Mrs" ] )
  ] [
fhir:use [ fhir:v "usual" ] ;
fhir:text [ fhir:v "Mila" ]
  ] [
fhir:use [ fhir:v "old" ] ;
fhir:text [ fhir:v "Don Mila" ]
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0410999999" ] ;
fhir:use [ fhir:v "mobile" ] ;
fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mila.grey@xyz.com" ] ;
fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [
fhir:v "1990-11-29"^^xsd:date ;
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://healthterminologies.gov.au/fhir/CodeSystem/date-accuracy-indicator-1"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AAA" ] ;
fhir:display [ fhir:v "Day, month and year are accurate" ]       ]     ] )
  ] ; # 
  fhir:address ( [
    ( fhir:extension [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]     ] ) ;
fhir:use [ fhir:v "home" ] ;
fhir:type [ fhir:v "physical" ] ;
    ( fhir:line [ fhir:v "abc lane" ] ) ;
fhir:city [ fhir:v "Sydney" ] ;
fhir:state [ fhir:v "NSW" ] ;
fhir:postalCode [ fhir:v "2000" ] ;
fhir:country [ fhir:v "AU" ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "false"^^xsd:boolean ]     ] ) ;
fhir:use [ fhir:v "work" ] ;
fhir:type [ fhir:v "physical" ] ;
    ( fhir:line [ fhir:v "12 MLK BLVD" ] ) ;
fhir:city [ fhir:v "Tampa" ] ;
fhir:state [ fhir:v "FL" ] ;
fhir:postalCode [ fhir:v "33131" ] ;
fhir:country [ fhir:v "US" ]
  ] ) ; # 
  fhir:generalPractitioner ( [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ] ) ; # 
  fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9" ]
  ] . # 

<urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054> a fhir:Practitioner ;
  fhir:id [ fhir:v "6d6d7ce8-65c2-11e6-a20e-7b5deed40054"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-practitioner-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-practitioner-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </a><p><b>Generated Narrative: Practitioner</b><a name=\"6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </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 Practitioner &quot;6d6d7ce8-65c2-11e6-a20e-7b5deed40054&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-practitioner-core.html\">MR Practitioner</a></p></div><p><b>identifier</b>: HPI-I/8003610833334085</p><p><b>active</b>: true</p><p><b>name</b>: John Smith </p><p><b>telecom</b>: ph: 0410999888(MOBILE), <a href=\"mailto:john.smith@gpexample.com\">john.smith@gpexample.com</a>, ph: 0212450987(WORK)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1978-04-08</p><blockquote><p><b>qualification</b></p><p><b>code</b>: Doctor of Medicine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v2-0360.html\">degreeLicenseCertificate</a>#MD)</span></p></blockquote><blockquote><p><b>qualification</b></p><p><b>code</b>: MB chB(Hons) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote></div>"
  ] ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NPI" ]       ] ) ;
fhir:text [ fhir:v "HPI-I" ]     ] ;
fhir:system [ fhir:v "http://ns.electronichealth.net.au/id/hi/hpii/1.0"^^xsd:anyURI ] ;
fhir:value [ fhir:v "8003610833334085" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
fhir:use [ fhir:v "usual" ] ;
fhir:family [ fhir:v "Smith" ] ;
    ( fhir:given [ fhir:v "John" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0410999888" ] ;
fhir:use [ fhir:v "mobile" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "john.smith@gpexample.com" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0212450987" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1978-04-08"^^xsd:date] ; # 
  fhir:qualification ( [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0360"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MD" ] ;
fhir:display [ fhir:v "Doctor of Medicine" ]       ] )     ]
  ] [
fhir:code [
fhir:text [ fhir:v "MB chB(Hons)" ]     ]
  ] ) . # 

<urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9> a fhir:Organization ;
  fhir:id [ fhir:v "ade47c8c-9eed-11ea-a6fa-3f7e286deed9"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-organisation-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-organisation-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </a><p><b>Generated Narrative: Organization</b><a name=\"ade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </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 Organization &quot;ade47c8c-9eed-11ea-a6fa-3f7e286deed9&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-organisation-core.html\">MR Organisation</a></p></div><p><b>identifier</b>: HPI-O/8003627500000328</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-organization-type.html\">Organization type</a>#prov)</span></p><p><b>name</b>: Healthy Live Clinic</p><p><b>telecom</b>: ph: 1234567890(WORK), <a href=\"mailto:sarahstone@c.com\">sarahstone@c.com</a></p><p><b>address</b>: Johnson Street Sydney NSW 1200 </p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org.au/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NOI" ] ;
fhir:display [ fhir:v "National Organisation Identifier" ]       ] ) ;
fhir:text [ fhir:v "HPI-O" ]     ] ;
fhir:system [ fhir:v "http://ns.electronichealth.net.au/id/hi/hpio/1.0"^^xsd:anyURI ] ;
fhir:value [ fhir:v "8003627500000328" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/organization-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "prov" ] ;
fhir:display [ fhir:v "Healthcare Provider" ]     ] )
  ] ) ; # 
  fhir:name [ fhir:v "Healthy Live Clinic"] ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "1234567890" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "sarahstone@c.com" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:address ( [
fhir:type [ fhir:v "physical" ] ;
    ( fhir:line [ fhir:v "Johnson Street" ] ) ;
fhir:city [ fhir:v "Sydney" ] ;
fhir:state [ fhir:v "NSW" ] ;
fhir:postalCode [ fhir:v "1200" ]
  ] ) . #