MediRecords FHIR Implementation Guide
1.4.1 - release


: Webhook Bundle for allergy-intolerance.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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "974dd06b-3a02-428f-a256-d56946facdae"] ; # 
  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> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:fd27339c-a3a4-11e9-abf2-df04dbfce6e3"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:fd27339c-a3a4-11e9-abf2-df04dbfce6e3> )
  ] ) . # 

<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" ]
  ] ) . # 

<urn:uuid:fd27339c-a3a4-11e9-abf2-df04dbfce6e3> a fhir:AllergyIntolerance ;
  fhir:id [ fhir:v "fd27339c-a3a4-11e9-abf2-df04dbfce6e3"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2021-09-20T01:43:30Z"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-allergy-intolerance"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-allergy-intolerance>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"AllergyIntolerance_fd27339c-a3a4-11e9-abf2-df04dbfce6e3\"> </a><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"fd27339c-a3a4-11e9-abf2-df04dbfce6e3\"> </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 AllergyIntolerance &quot;fd27339c-a3a4-11e9-abf2-df04dbfce6e3&quot; Updated &quot;2021-09-20 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-allergy-intolerance.html\">MR AllergyIntolerance</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#confirmed)</span></p><p><b>category</b>: medication</p><p><b>code</b>: AMOXYCILLIN SANDOZ amoxicillin (as trihydrate) 1000 mg tablet blister pack <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (australian-register-therapeutic-goods#98758)</span></p><p><b>patient</b>: <a href=\"#Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\">See above (Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c)</a></p><p><b>recordedDate</b>: 2021-09-20 01:43:30+0000</p><p><b>recorder</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></p><p><b>asserter</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td><td><b>Severity</b></td></tr><tr><td style=\"display: none\">*</td><td>Hypervitaminosis D <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#27712000)</span></td><td>severe</td></tr></table></div>"
  ] ; # 
  fhir:clinicalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ] ;
fhir:display [ fhir:v "Active" ]     ] )
  ] ; # 
  fhir:verificationStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
fhir:code [ fhir:v "confirmed" ] ;
fhir:display [ fhir:v "Confirmed" ]     ] )
  ] ; # 
  fhir:category ( [ fhir:v "medication"] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "https://www.tga.gov.au/australian-register-therapeutic-goods"^^xsd:anyURI ] ;
fhir:code [ fhir:v "98758" ]     ] ) ;
fhir:text [ fhir:v "AMOXYCILLIN SANDOZ amoxicillin (as trihydrate) 1000 mg tablet blister pack" ]
  ] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ] ; # 
  fhir:recordedDate [ fhir:v "2021-09-20T01:43:30Z"^^xsd:dateTime] ; # 
  fhir:recorder [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ] ; # 
  fhir:asserter [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ] ; # 
  fhir:reaction ( [
    ( fhir:manifestation [
      ( fhir:coding [
a sct:27712000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "27712000" ] ;
fhir:display [ fhir:v "Hypervitaminosis D" ]       ] )     ] ) ;
fhir:severity [ fhir:v "severe" ]
  ] ) . #