Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Pcd-example-notLabs.ttl

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

ConsentDirective Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:Contract;
  fhir:Resource.id [ fhir:value "pcd-example-notLabs"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:Contract.issued [ fhir:value "2014-08-17"];
  fhir:Contract.subject [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Patient/f001" ];
     fhir:Reference.display [ fhir:value "P. van de Heuvel" ]
  ];
  fhir:Contract.authority [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/3" ];
     fhir:Reference.display [ fhir:value "Michigan Health" ]
  ];
  fhir:Contract.domain [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Location/ukp" ];
     fhir:Reference.display [ fhir:value "UK Pharmacies" ]
  ];
  fhir:Contract.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "57016-8" ]
     ]
  ];
  fhir:Contract.subType [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.infoway-inforoute.ca.org/Consent-subtype-codes" ];
       fhir:Coding.code [ fhir:value "Opt-In" ];
       fhir:Coding.display [ fhir:value "Default Authorization with exceptions." ]
     ]
  ];
  fhir:Contract.term [
     fhir:index 0;
     fhir:Contract.offer [
       fhir:Contract.text [ fhir:value "sample" ]
     ];
     fhir:Contract.group [
       fhir:index 0;
       fhir:Contract.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/fhir/consent-term-type-codes" ];
           fhir:Coding.code [ fhir:value "withhold-object-type" ]
         ]
       ];
       fhir:Contract.subType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/resource-types" ];
           fhir:Coding.code [ fhir:value "ServiceRequest" ]
         ]
       ];
       fhir:Contract.offer [
         fhir:Contract.text [ fhir:value "Withhold orders from any provider." ]
       ]
     ], [
       fhir:index 1;
       fhir:Contract.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/fhir/consent-term-type-codes" ];
           fhir:Coding.code [ fhir:value "withhold-object-type" ]
         ]
       ];
       fhir:Contract.subType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/resource-types" ];
           fhir:Coding.code [ fhir:value "DiagnosticReport" ]
         ]
       ];
       fhir:Contract.offer [
         fhir:Contract.text [ fhir:value "Withhold order results from any provider." ]
       ]
     ]
  ];
  fhir:Contract.friendly [
     fhir:index 0;
     fhir:Contract.content [
       fhir:Attachment.title [ fhir:value "The terms of the consent in friendly consumer speak." ]
     ]
  ];
  fhir:Contract.legal [
     fhir:index 0;
     fhir:Contract.content [
       fhir:Attachment.title [ fhir:value "The terms of the consent in lawyer speak." ]
     ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.