@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-hrex/Parameters/member-match-in> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "member-match-in"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-in"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-in>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "MemberPatient" ] ;
     fhir:Parameters.parameter.resource ( [
       a fhir:Patient ;
       fhir:id [ fhir:v "1" ] ;
       fhir:language [ fhir:v "en" ] ;
       fhir:name ( [
         fhir:use [ fhir:v "official" ] ;
         fhir:family [ fhir:v "Person" ] ;
         fhir:given ( [ fhir:v "Patricia" ] [ fhir:v "Ann" ] )
       ] ) ;
       fhir:gender [ fhir:v "female" ] ;
       fhir:birthDate [ fhir:v "1974-12-25"^^xsd:date ]
     ] )
  ] [
     fhir:name [ fhir:v "CoverageToMatch" ] ;
     fhir:Parameters.parameter.resource ( [
       a fhir:Coverage ;
       fhir:id [ fhir:v "9876B1" ] ;
       fhir:language [ fhir:v "en" ] ;
       fhir:identifier ( [
         fhir:type [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
             ] ;
             fhir:code [ fhir:v "MB" ]
           ] )
         ] ;
         fhir:system [
           fhir:v "http://example.org/old-payer"^^xsd:anyURI ;
           fhir:l <http://example.org/old-payer>
         ] ;
         fhir:value [ fhir:v "DH10001235" ]
       ] ) ;
       fhir:status [ fhir:v "draft" ] ;
       fhir:beneficiary [
         fhir:l <http://example.org/old-payer/Patient/1> ;
         fhir:reference [ fhir:v "http://example.org/old-payer/Patient/1" ]
       ] ;
       fhir:relationship [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/data-absent-reason"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/data-absent-reason>
           ] ;
           fhir:version [ fhir:v "1.0.0" ] ;
           fhir:code [ fhir:v "unknown" ]
         ] )
       ] ;
       fhir:period [
         fhir:start [ fhir:v "2011-05-23"^^xsd:date ] ;
         fhir:end [ fhir:v "2012-05-23"^^xsd:date ]
       ] ;
       fhir:payor ( [
         fhir:identifier [
           fhir:system [
             fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/sid/us-npi>
           ] ;
           fhir:value [ fhir:v "9876543210" ]
         ] ;
         fhir:display [ fhir:v "Old Health Plan" ]
       ] ) ;
       fhir:class ( [
         fhir:type [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/coverage-class"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/coverage-class>
             ] ;
             fhir:code [ fhir:v "group" ]
           ] )
         ] ;
         fhir:value [ fhir:v "CB135" ]
       ] [
         fhir:type [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/coverage-class"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/coverage-class>
             ] ;
             fhir:code [ fhir:v "plan" ]
           ] )
         ] ;
         fhir:value [ fhir:v "B37FC" ]
       ] [
         fhir:type [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/coverage-class"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/coverage-class>
             ] ;
             fhir:code [ fhir:v "subplan" ]
           ] )
         ] ;
         fhir:value [ fhir:v "P7" ]
       ] [
         fhir:type [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/coverage-class"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/coverage-class>
             ] ;
             fhir:code [ fhir:v "class" ]
           ] )
         ] ;
         fhir:value [ fhir:v "SILVER" ]
       ] )
     ] )
  ] [
     fhir:name [ fhir:v "CoverageToLink" ] ;
     fhir:Parameters.parameter.resource ( [
       a fhir:Coverage ;
       fhir:id [ fhir:v "AA87654" ] ;
       fhir:language [ fhir:v "en" ] ;
       fhir:identifier ( [
         fhir:type [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
             ] ;
             fhir:code [ fhir:v "MB" ]
           ] )
         ] ;
         fhir:system [
           fhir:v "http://example.org/new-payer/identifiers/coverage"^^xsd:anyURI ;
           fhir:l <http://example.org/new-payer/identifiers/coverage>
         ] ;
         fhir:value [ fhir:v "234567" ]
       ] ) ;
       fhir:status [ fhir:v "active" ] ;
       fhir:beneficiary [
         fhir:l <https://example.org/Patient/example> ;
         fhir:reference [ fhir:v "https://example.org/Patient/example" ]
       ] ;
       fhir:relationship [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/data-absent-reason"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/data-absent-reason>
           ] ;
           fhir:version [ fhir:v "1.0.0" ] ;
           fhir:code [ fhir:v "unknown" ]
         ] )
       ] ;
       fhir:payor ( [
         fhir:identifier [
           fhir:system [
             fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/sid/us-npi>
           ] ;
           fhir:value [ fhir:v "0123456789" ]
         ] ;
         fhir:display [ fhir:v "New Health Plan" ]
       ] )
     ] )
  ] [
     fhir:name [ fhir:v "Consent" ] ;
     fhir:Parameters.parameter.resource ( [
       a fhir:Consent ;
       fhir:language [ fhir:v "en" ] ;
       fhir:status [ fhir:v "active" ] ;
       fhir:scope [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentscope>
           ] ;
           fhir:code [ fhir:v "patient-privacy" ]
         ] )
       ] ;
       fhir:category ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
           ] ;
           fhir:code [ fhir:v "IDSCL" ]
         ] )
       ] ) ;
       fhir:patient [
         fhir:l <http://example.org/Patient/example> ;
         fhir:reference [ fhir:v "http://example.org/Patient/example" ]
       ] ;
       fhir:performer ( [
         fhir:l <http://example.org/Patient/example> ;
         fhir:reference [ fhir:v "http://example.org/Patient/example" ]
       ] ) ;
       fhir:source [
         a fhir:Reference ;
         fhir:l <http://example.org/DocumentReference/someconsent> ;
         fhir:reference [ fhir:v "http://example.org/DocumentReference/someconsent" ]
       ] ;
       fhir:policy ( [
         fhir:uri [
           fhir:v "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition-hrex-consent.html#regular"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/us/davinci-hrex/StructureDefinition-hrex-consent.html#regular>
         ]
       ] ) ;
       fhir:provision [
         fhir:type [ fhir:v "permit" ] ;
         fhir:period [
           fhir:start [ fhir:v "2022-01-01"^^xsd:date ] ;
           fhir:end [ fhir:v "2022-01-31"^^xsd:date ]
         ] ;
         fhir:actor ( [
           fhir:role [
             fhir:coding ( [
               fhir:system [
                 fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ;
                 fhir:l <http://terminology.hl7.org/CodeSystem/provenance-participant-type>
               ] ;
               fhir:code [ fhir:v "performer" ]
             ] )
           ] ;
           fhir:reference [
             fhir:identifier [
               fhir:system [
                 fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/sid/us-npi>
               ] ;
               fhir:value [ fhir:v "9876543210" ]
             ] ;
             fhir:display [ fhir:v "Old Health Plan" ]
           ]
         ] [
           fhir:role [
             fhir:coding ( [
               fhir:system [
                 fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
                 fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
               ] ;
               fhir:code [ fhir:v "IRCP" ]
             ] )
           ] ;
           fhir:reference [
             fhir:identifier [
               fhir:system [
                 fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/sid/us-npi>
               ] ;
               fhir:value [ fhir:v "0123456789" ]
             ] ;
             fhir:display [ fhir:v "New Health Plan" ]
           ]
         ] ) ;
         fhir:action ( [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
             ] ;
             fhir:code [ fhir:v "disclose" ]
           ] )
         ] )
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

