@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-pas/ClaimResponse/ErrorResponseExample> a fhir:ClaimResponse ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ErrorResponseExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claimresponse"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claimresponse>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: ClaimResponse ErrorResponseExample</b></p><a name=\"ErrorResponseExample\"> </a><a name=\"hcErrorResponseExample\"> </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\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-profile-claimresponse.html\">PAS Claim Response</a></p></div><blockquote><p><b>Transmission Identifiers</b></p><ul><li>applicationSenderCode: PAYERAPP</li><li>applicationReceiverCode: PROVIDERAPP</li><li>interchangeSenderID: PAYERID</li><li>interchangeReceiverID: PROVIDERID</li></ul></blockquote><p><b>identifier</b>: <code>http://example.org/PATIENT_EVENT_TRACE_NUMBER</code>/111099</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/claim-type professional}\">Professional</span></p><p><b>use</b>: Preauthorization</p><p><b>patient</b>: <a href=\"Patient-SubscriberExample.html\">JOE SMITH  Male, DoB Unknown ( http://example.org/MIN#12345678901)</a></p><p><b>created</b>: 2005-05-02 11:02:00+0500</p><p><b>insurer</b>: <a href=\"Organization-InsurerExample.html\">Organization MARYLAND CAPITAL INSURANCE COMPANY</a></p><p><b>requestor</b>: <a href=\"Organization-UMOExample.html\">Organization DR. JOE SMITH CORPORATION</a></p><p><b>request</b>: <a href=\"Claim-ReferralAuthorizationExample.html\">Claim: extension = Urgent,; identifier = urn:trnorg:9012345678#111099; status = active; type = Professional; use = preauthorization; created = 2005-05-02 11:01:00+0500; priority = Normal</a></p><p><b>outcome</b>: Error</p><blockquote><p><b>error</b></p><p><b>code</b>: <span title=\"Codes:{https://codesystem.x12.org/005010/901 04}\">04</span></p></blockquote><blockquote><p><b>error</b></p><blockquote><p><b>Error Element</b></p><ul><li>error: 2010A-NM103</li></ul></blockquote><p><b>Error Path</b>: Bundle.entry[1].Organization.name</p><p><b>Error Follow-up Action</b>: <span title=\"Codes:{https://codesystem.x12.org/005010/889 C}\">C</span></p><p><b>code</b>: <span title=\"Codes:{https://codesystem.x12.org/005010/901 T4}\">T4</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "applicationSenderCode"^^xsd:anyURI ;
         fhir:l fhir:applicationSenderCode
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "PAYERAPP"
       ]
     ] [
       fhir:url [
         fhir:v "applicationReceiverCode"^^xsd:anyURI ;
         fhir:l fhir:applicationReceiverCode
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "PROVIDERAPP"
       ]
     ] [
       fhir:url [
         fhir:v "interchangeSenderID"^^xsd:anyURI ;
         fhir:l fhir:interchangeSenderID
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "PAYERID"
       ]
     ] [
       fhir:url [
         fhir:v "interchangeReceiverID"^^xsd:anyURI ;
         fhir:l fhir:interchangeReceiverID
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "PROVIDERID"
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-TransmissionIdentifiers"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-TransmissionIdentifiers>
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/PATIENT_EVENT_TRACE_NUMBER"^^xsd:anyURI ;
       fhir:l <http://example.org/PATIENT_EVENT_TRACE_NUMBER>
     ] ;
     fhir:value [ fhir:v "111099" ] ;
     fhir:assigner [
       fhir:identifier [
         fhir:system [
           fhir:v "http://example.org/USER_ASSIGNED"^^xsd:anyURI ;
           fhir:l <http://example.org/USER_ASSIGNED>
         ] ;
         fhir:value [ fhir:v "9012345678" ]
       ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/claim-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/claim-type>
       ] ;
       fhir:code [ fhir:v "professional" ]
     ] )
  ] ; # 
  fhir:use [ fhir:v "preauthorization"] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/us/davinci-pas/Patient/SubscriberExample> ;
     fhir:reference [ fhir:v "Patient/SubscriberExample" ]
  ] ; # 
  fhir:created [ fhir:v "2005-05-02T11:02:00+05:00"^^xsd:dateTime] ; # 
  fhir:insurer [
     fhir:l <http://hl7.org/fhir/us/davinci-pas/Organization/InsurerExample> ;
     fhir:reference [ fhir:v "Organization/InsurerExample" ]
  ] ; # 
  fhir:requestor [
     fhir:l <http://hl7.org/fhir/us/davinci-pas/Organization/UMOExample> ;
     fhir:reference [ fhir:v "Organization/UMOExample" ]
  ] ; # 
  fhir:request [
     fhir:l <http://hl7.org/fhir/us/davinci-pas/Claim/ReferralAuthorizationExample> ;
     fhir:reference [ fhir:v "Claim/ReferralAuthorizationExample" ]
  ] ; # 
  fhir:outcome [ fhir:v "error"] ; # 
  fhir:error ( [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://codesystem.x12.org/005010/901"^^xsd:anyURI ;
           fhir:l <https://codesystem.x12.org/005010/901>
         ] ;
         fhir:code [ fhir:v "04" ]
       ] )
     ]
  ] [
     fhir:extension ( [
       fhir:extension ( [
         fhir:url [
           fhir:v "error"^^xsd:anyURI ;
           fhir:l fhir:error
         ] ;
         fhir:value [
           a fhir:String ;
           fhir:v "2010A-NM103"
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorElement"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorElement>
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorPath"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorPath>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Bundle.entry[1].Organization.name"
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorFollowupAction"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorFollowupAction>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "https://codesystem.x12.org/005010/889"^^xsd:anyURI ;
             fhir:l <https://codesystem.x12.org/005010/889>
           ] ;
           fhir:code [ fhir:v "C" ]
         ] )
       ]
     ] ) ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://codesystem.x12.org/005010/901"^^xsd:anyURI ;
           fhir:l <https://codesystem.x12.org/005010/901>
         ] ;
         fhir:code [ fhir:v "T4" ]
       ] )
     ]
  ] ) . # 

<http://hl7.org/fhir/us/davinci-pas/Patient/SubscriberExample> a fhir:Us .

<http://hl7.org/fhir/us/davinci-pas/Organization/InsurerExample> a fhir:Us .

<http://hl7.org/fhir/us/davinci-pas/Organization/UMOExample> a fhir:Us .

<http://hl7.org/fhir/us/davinci-pas/Claim/ReferralAuthorizationExample> a fhir:Us .

# -------------------------------------------------------------------------------------

