Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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

Example Contract/pcd-example-notLabs (Turtle)

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 loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:Contract;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "pcd-example-notLabs"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">The following scenario is based on existing\n      jurisdictional policy and are realized in existing systems in Canada. The default policy is\n      one of implied consent for the provision of care, so these scenarios all deal with withdrawal\n      or withholding consent for that purpose. In other jurisdictions, where an express consent\n      model is used (Opt-In), these would examples would contain the phrase &quot;consent to&quot; rather than\n      &quot;withhold&quot; or &quot;withdraw&quot; consent for. <p> specific to use-case 1. Withhold or withdraw consent\n        for disclosure of records related to specific domain (e.g. DI, LAB, etc.) </p><p> Patient\n        &quot;P. van de Heuvel&quot; wishes to withhold disclosure of all of her lab orders and results to any\n        provider. </p>\n    </div>"
  ];
  fhir:Contract.issued [ fhir:value "2014-08-17"^^xsd:date];
  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;
       a loinc:57016-8;
       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.term.offer [
       fhir:Contract.term.offer.text [ fhir:value "sample" ]
     ];
     fhir:Contract.term.group [
       fhir:index 0;
       fhir:Contract.term.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.term.subType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/fhir-types" ];
           fhir:Coding.code [ fhir:value "ServiceRequest" ]
         ]
       ];
       fhir:Contract.term.offer [
         fhir:Contract.term.offer.text [ fhir:value "Withhold orders from any provider." ]
       ]
     ], [
       fhir:index 1;
       fhir:Contract.term.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.term.subType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/fhir-types" ];
           fhir:Coding.code [ fhir:value "DiagnosticReport" ]
         ]
       ];
       fhir:Contract.term.offer [
         fhir:Contract.term.offer.text [ fhir:value "Withhold order results from any provider." ]
       ]
     ]
  ];
  fhir:Contract.friendly [
     fhir:index 0;
     fhir:Contract.friendly.contentAttachment [
       fhir:Attachment.title [ fhir:value "The terms of the consent in friendly consumer speak." ]
     ]
  ];
  fhir:Contract.legal [
     fhir:index 0;
     fhir:Contract.legal.contentAttachment [
       fhir:Attachment.title [ fhir:value "The terms of the consent in lawyer speak." ]
     ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

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


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.