Release 4 R5 Final QA

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-draft-final: Final QA Preview for R5 - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). 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

Extension-consent-location.json

Example Contract/C-2121 (Turtle)

Community Based Collaborative Care Financial Management Work Group Maturity Level : N/A Standards Status : Informative Compartments : Patient
Raw

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

location 42 CFR Part 2 Consent Directive

{ "resourceType" : "StructureDefinition", "id" : "consent-location", "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode" : "cbcc" }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger" : 1 }], "url" : "http://hl7.org/fhir/StructureDefinition/consent-location", "version" : "4.0.1", "name" : "location", "title" : "Location of Access restriction", "status" : "draft", "date" : "2019-11-01T09:29:23+11:00", "publisher" : "Health Level Seven, Inc. - CBCC WG", "contact" : [{ "telecom" : [{ "system" : "url", "value" : "http://www.hl7.org/Special/committees/homehealth/index.cfm" }] }], "description" : "Restricts this exception to only apply a specific location as defined.", "fhirVersion" : "4.0.1", "mapping" : [{ "identity" : "rim", "uri" : "http://hl7.org/v3", "name" : "RIM Mapping" }], "kind" : "complex-type", "abstract" : false, "context" : [{ "type" : "element", "expression" : "Consent.provision" }], "type" : "Extension", "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension", "derivation" : "constraint", "snapshot" : { "element" : [{ "id" : "Extension", "path" : "Extension", "short" : "A location specific constraint", "definition" : "Restricts this exception to only apply a specific location as defined.", "min" : 0, "max" : "*", "base" : { "path" : "Extension", "min" : 0, "max" : "*" }, "condition" : ["ele-1"], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }, { "key" : "ext-1", "severity" : "error", "human" : "Must have either extensions or value[x], not both", "expression" : "extension.exists() != value.exists()", "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source" : "http://hl7.org/fhir/StructureDefinition/Extension" }], "isModifier" : false }, { "id" : "Extension.id", "path" : "Extension.id", "representation" : ["xmlAttr"], "short" : "Unique id for inter-element referencing", "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [{ "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl" : "string" }], "code" : "http://hl7.org/fhirpath/System.String" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "n/a" }] }, { "id" : "Extension.extension", "path" : "Extension.extension", "slicing" : { "discriminator" : [{ "type" : "value", "path" : "url" }], "description" : "Extensions are always sliced by (at least) url", "rules" : "open" }, "short" : "Extension", "definition" : "An Extension", "min" : 0, "max" : "0", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [{ "code" : "Extension" }], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }, { "key" : "ext-1", "severity" : "error", "human" : "Must have either extensions or value[x], not both", "expression" : "extension.exists() != value.exists()", "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source" : "http://hl7.org/fhir/StructureDefinition/Extension" }], "isModifier" : false, "isSummary" : false }, { "id" : "Extension.url", "path" : "Extension.url", "representation" : ["xmlAttr"], "short" : "identifies the meaning of the extension", "definition" : "Source of the definition for the extension code - a logical name or a URL.", "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "min" : 1, "max" : "1", "base" : { "path" : "Extension.url", "min" : 1, "max" : "1" }, "type" : [{ "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl" : "uri" }], "code" : "http://hl7.org/fhirpath/System.String" }], "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-location", "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "N/A" }] }, { "id" : "Extension.value[x]", "path" : "Extension.value[x]", "short" : "Value of extension", "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", "min" : 1, "max" : "1", "base" : { "path" : "Extension.value[x]", "min" : 0, "max" : "1" }, "type" : [{ "code" : "Reference", "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"] }], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "N/A" }] }] }, "differential" : { "element" : [{ "id" : "Extension", "path" : "Extension", "short" : "A location specific constraint", "definition" : "Restricts this exception to only apply a specific location as defined.", "min" : 0, "max" : "*" }, { "id" : "Extension.extension", "path" : "Extension.extension", "max" : "0" }, { "id" : "Extension.url", "path" : "Extension.url", "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-location" }, { "id" : "Extension.value[x]", "path" : "Extension.value[x]", "min" : 1, "type" : [{ "code" : "Reference", "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"] }] }] } }
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:Contract ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "C-2121"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "1" ] ;
     fhir:lastUpdated [ fhir:v "2016-07-19T18:18:42.108-04:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Contract</b><a name=\"C-2121\"> </a></p><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\">Resource Contract &quot;C-2121&quot; Version &quot;1&quot; Updated &quot;2016-07-19T18:18:42.108-04:00&quot; </p></div><p><b>status</b>: executed</p><p><b>contentDerivative</b>: Content Registration <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-contract-content-derivative.html\">Contract Content Derivation Codes</a>#registration)</span></p><p><b>issued</b>: 2013-11-01T21:18:27-04:00</p><p><b>applies</b>: 2013-11-01T21:18:27-04:00 --&gt; (ongoing)</p><p><b>subject</b>: <a href=\"patient-example-f201-roel.html\">Patient/f201</a> &quot;Roel&quot;</p><p><b>type</b>: Opt-in consent directive <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (consentdirective-type#OPTIN)</span></p><p><b>subType</b>: Health Care Directive <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-consentcategorycodes.html\">Consent Category Codes</a>#hcd)</span></p><blockquote><p><b>term</b></p><h3>Offers</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Decision</b></td><td><b>Text</b></td></tr><tr><td>*</td><td>Statutory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-contracttermtypecodes.html\">Contract Term Type Codes</a>#statutory)</span></td><td>opt-in <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ActCode.html\">ActCode</a>#OPTIN)</span></td><td>Can't refuse</td></tr></table><h3>Assets</h3><table class=\"grid\"><tr><td>-</td><td><b>Period</b></td></tr><tr><td>*</td><td>2013-11-01T21:18:27-04:00 --&gt; 2019-11-01T21:18:27-04:00</td></tr></table><blockquote><p><b>action</b></p><p><b>type</b>: Action A <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-contractaction.html\">Contract Action Codes</a>#action-a)</span></p><blockquote><p><b>subject</b></p><p><b>reference</b>: <a href=\"organization-example-f001-burgers.html\">Organization/f001: VA Ann Arbor Healthcare System</a> &quot;Burgers University Medical Center&quot;</p><p><b>role</b>: Recipient of restricted health information <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (consent-actor-type#IR &quot;Recipient&quot;)</span></p></blockquote><blockquote><p><b>subject</b></p><p><b>reference</b>: <a href=\"organization-example-insurer.html\">Organization/2: Community Mental Health Clinic</a> &quot;XYZ Insurance&quot;</p><p><b>role</b>: Sender of restricted health information <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (consent-actor-type#IS &quot;Sender&quot;)</span></p></blockquote><p><b>intent</b>: health program reporting <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ActReason.html\">ActReason</a>#HPRGRP)</span></p><p><b>status</b>: Sample <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote></blockquote><blockquote><p><b>signer</b></p><p><b>type</b>: SELF (Details: http://mdhhs.org/fhir/consent-signer-type code SELF = 'SELF', stated as 'null')</p><p><b>party</b>: <a href=\"patient-example-f201-roel.html\">Patient/f201: Alice Recruit</a> &quot;Roel&quot;</p><h3>Signatures</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>When</b></td><td><b>Who</b></td></tr><tr><td>*</td><td>Author's Signature (Details: urn:iso-astm:E1762-95:2013 code 1.2.840.10065.1.12.1.1 = 'Author's Signature', stated as 'null')</td><td>8 Feb 2017, 8:57:34 pm</td><td><a href=\"patient-example-f201-roel.html\">Patient/f201</a> &quot;Roel&quot;</td></tr></table></blockquote><h3>Legals</h3><table class=\"grid\"><tr><td>-</td><td><b>Content[x]</b></td></tr><tr><td>*</td><td/></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "executed"] ; # 
  fhir:contentDerivative [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/contract-content-derivative"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "registration" ]
     ] )
  ] ; # 
  fhir:issued [ fhir:v "2013-11-01T21:18:27-04:00"^^xsd:dateTime] ; # 
  fhir:applies [
     fhir:start [ fhir:v "2013-11-01T21:18:27-04:00"^^xsd:dateTime ]
  ] ; # 
  fhir:subject ( [
     fhir:reference [ fhir:v "Patient/f201" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "http://mdhhs.org/fhir/consentdirective-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "OPTIN" ]
     ] ) ;
     fhir:text [ fhir:v "Opt-in consent directive" ]
  ] ; # 
  fhir:subType ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentcategorycodes"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "hcd" ]
     ] ) #         <code value=\"MDHHS-5515\"\/>\n      <display\n        value=\"Michigan MDHHS-5515 Consent to Share Behavioral Health Information for Care Coordination Purposes\"\n      \/>   
  ] ) ; # 
  fhir:term ( [
     fhir:offer [
       fhir:type [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/contracttermtypecodes"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "statutory" ]
         ] )
       ] ;
       fhir:decision [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "OPTIN" ]
         ] )
       ] ;
       fhir:text [ fhir:v "Can't refuse" ]
     ] ;
     fhir:asset ( [
       fhir:period ( [
         fhir:start [ fhir:v "2013-11-01T21:18:27-04:00"^^xsd:dateTime ] ;
         fhir:end [ fhir:v "2019-11-01T21:18:27-04:00"^^xsd:dateTime ]
       ] )
     ] ) ; #   \n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-Confidentiality\"\/>\n        <code value=\"R\"\/>\n        <display value=\"Restricted\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActCode\"\/>\n        <code value=\"ETH\"\/>\n        <display value=\"substance abuse information sensitivity\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActCode\"\/>\n        <code value=\"42CFRPart2\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActReason\"\/>\n        <code value=\"TREAT\"\/>\n        <display value=\"treatment\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActReason\"\/>\n        <code value=\"HPAYMT\"\/>\n        <display value=\"healthcare payment\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActReason\"\/>\n        <code value=\"HOPERAT\"\/>\n        <display value=\"healthcare operations\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActCode\"\/>\n        <code value=\"PERSISTLABEL\"\/>\n        <display value=\"persist security label\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActCode\"\/>\n        <code value=\"PRIVMARK\"\/>\n        <display value=\"privacy mark\"\/>\n      <\/securityLabel>\n      <securityLabel>\n        <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-ActCode\"\/>\n        <code value=\"NORDSCLCD\"\/>\n        <display value=\"no redisclosure without consent directive\"\/>\n      <\/securityLabel>\n      
     fhir:action ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/contractaction"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "action-a" ]
         ] )
       ] ;
       fhir:subject ( [
         fhir:reference ( [
           fhir:reference [ fhir:v "Organization/f001" ] ;
           fhir:display [ fhir:v "VA Ann Arbor Healthcare System" ]
         ] ) ;
         fhir:role [
           fhir:coding ( [
             fhir:system [ fhir:v "http://mdhhs.org/fhir/consent-actor-type"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "IR" ] ;
             fhir:display [ fhir:v "Recipient" ]
           ] ) ;
           fhir:text [ fhir:v "Recipient of restricted health information" ]
         ]
       ] [
         fhir:reference ( [
           fhir:reference [ fhir:v "Organization/2" ] ;
           fhir:display [ fhir:v "Community Mental Health Clinic" ]
         ] ) ;
         fhir:role [
           fhir:coding ( [
             fhir:system [ fhir:v "http://mdhhs.org/fhir/consent-actor-type"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "IS" ] ;
             fhir:display [ fhir:v "Sender" ]
           ] ) ;
           fhir:text [ fhir:v "Sender of restricted health information" ]
         ]
       ] ) ;
       fhir:intent [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "HPRGRP" ]
         ] )
       ] ;
       fhir:status [
         fhir:text [ fhir:v "Sample" ]
       ]
     ] )
  ] ) ; # 
  fhir:signer ( [
     fhir:type [
       fhir:system [ fhir:v "http://mdhhs.org/fhir/consent-signer-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "SELF" ]
     ] ;
     fhir:party [
       fhir:reference [ fhir:v "Patient/f201" ] ;
       fhir:display [ fhir:v "Alice Recruit" ]
     ] ;
     fhir:signature ( [
       fhir:type ( [
         fhir:system [ fhir:v "urn:iso-astm:E1762-95:2013"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1.2.840.10065.1.12.1.1" ]
       ] ) ;
       fhir:when [ fhir:v "2017-02-08T10:57:34+01:00"^^xsd:dateTime ] ;
       fhir:who [
         fhir:reference [ fhir:v "Patient/f201" ]
       ]
     ] )
  ] ) ; # 
  fhir:legal ( [
     fhir:content [
       a fhir:Attachment ;
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:language [ fhir:v "en-US" ] ;
       fhir:url [ fhir:v "http://org.mihin.ecms/ConsentDirective-2121"^^xsd:anyURI ] ;
       fhir:title [ fhir:v "MDHHS-5515 Consent To Share Your Health Information" ]
     ]
  ] )] . # 

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



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.