Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

: General AllergyIntolerance Example - 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:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Example1"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1346942002000600" ] ;
fhir:lastUpdated [ fhir:v "2010-12-10T22:22:04.067+05:30"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance>     ] [
fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-allergy-profile"^^xsd:anyURI ;
fhir:link <https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-allergy-profile>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "N" ] ;
fhir:display [ fhir:v "Normal" ]     ] ) ;
    ( fhir:tag [
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"^^xsd:anyURI ] ;
fhir:code [ fhir:v "New" ] ;
fhir:display [ fhir:v "New" ]     ] [
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Pen" ] ;
fhir:display [ fhir:v "Pen" ]     ] [
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NewPen" ] ;
fhir:display [ fhir:v "New Pen" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance Example1</b></p><a name=\"Example1\"> </a><a name=\"hcExample1\"> </a><a name=\"Example1-en-US\"> </a><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\">version: versionId: id (PrimitiveType/AllergyIntolerance.meta.versionId): element = id -&gt; versionId=id[1346942002000600]; Last updated: 2010-12-10 22:22:04+0530</p><p style=\"margin-bottom: 0px\">Profiles: <a href=\"http://hl7.org/fhir/us/core/STU3.1/StructureDefinition-us-core-allergyintolerance.html\">US  Core AllergyIntolerance Profile</a>, <a href=\"StructureDefinition-athena-allergy-profile.html\">Allergy or Intolerance (generally: Risk Of Adverse reaction to a substance)</a></p><p style=\"margin-bottom: 0px\">Tags: New (Details: EditTags code New  = ' New ', stated as ' New '), Pen (Details: EditTags code Pen  = ' Pen ', stated as ' Pen '), New Pen (Details: EditTags code NewPen  = ' NewPen ', stated as ' New Pen ')</p><p style=\"margin-bottom: 0px\">Security Label: Normal (Details: Confidentiality code N  = ' normal ', stated as ' Normal ')</p></div><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>category</b>: Medication</p><p><b>criticality</b>: High Risk</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/ndc 000030801}, {http://docs.wolterskluwercdi.com/codesystems/gpi 59200025101320}, {http://docs.wolterskluwercdi.com/codesystems/ddid 17852}, {http://docs.wolterskluwercdi.com/codesystems/kdc 3654}\">PROLIXIN</span></p><p><b>patient</b>: <a href=\"Patient-Example1.html\">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></p><p><b>onset</b>: 2002-09-06 00:00:00+0530</p><p><b>recorder</b>: <a href=\"Practitioner-Example1.html\">Practitioner Harry S. Winston </a></p><p><b>note</b>: rash</p><blockquote><p><b>reaction</b></p><p><b>manifestation</b>: <span title=\"Codes:{http://snomed.info/sct 27942005}\">shock</span></p></blockquote><blockquote><p><b>reaction</b></p><p><b>manifestation</b>: <span title=\"Codes:{http://snomed.info/sct 271807003}\">rash</span></p></blockquote></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-allergy-extension-encounter"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Encounter/Example1" ]     ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-allergy-extension-enddate"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2020-08-28T00:00:00+05:30"^^xsd:dateTime ]
  ] ) ; # 
  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:text [ fhir:v "Active" ]
  ] ; # 
  fhir:category ( [
fhir:v "medication" ;
    ( fhir:extension [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/allergyclass"^^xsd:anyURI ] ;
fhir:code [ fhir:v "D" ] ;
fhir:display [ fhir:v "Drug Allergy" ]       ]     ] )
  ] ) ; # 
  fhir:criticality [
fhir:v "high" ;
    ( fhir:extension [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/allergycrit"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Y" ] ;
fhir:display [ fhir:v "Critical" ]       ]     ] )
  ] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/ndc"^^xsd:anyURI ] ;
fhir:code [ fhir:v "000030801" ]     ] [
fhir:system [ fhir:v "http://docs.wolterskluwercdi.com/codesystems/gpi"^^xsd:anyURI ] ;
fhir:code [ fhir:v "59200025101320" ]     ] [
fhir:system [ fhir:v "http://docs.wolterskluwercdi.com/codesystems/ddid"^^xsd:anyURI ] ;
fhir:code [ fhir:v "17852" ]     ] [
fhir:system [ fhir:v "http://docs.wolterskluwercdi.com/codesystems/kdc"^^xsd:anyURI ] ;
fhir:code [ fhir:v "3654" ]     ] ) ;
fhir:text [ fhir:v "PROLIXIN" ]
  ] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/Example1" ]
  ] ; # 
  fhir:onset [ fhir:v "2002-09-06T00:00:00+05:30"^^xsd:dateTime] ; # 
  fhir:recorder [
fhir:reference [ fhir:v "Practitioner/Example1" ]
  ] ; # 
  fhir:note ( [
fhir:text [ fhir:v "rash" ]
  ] ) ; # 
  fhir:reaction ( [
    ( fhir:manifestation [
      ( fhir:coding [
a sct:27942005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "27942005" ] ;
fhir:display [ fhir:v "shock" ]       ] )     ] )
  ] [
    ( fhir:manifestation [
      ( fhir:coding [
a sct:271807003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "271807003" ] ;
fhir:display [ fhir:v "rash" ]       ] )     ] )
  ] ) . #