@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/uv/xver/CodeSystem/nhin-purposeofuse> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "nhin-purposeofuse"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system \n              <code>http://healthit.gov/nhin/purposeofuse</code> defines the following codes:\n            </p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">TREATMENT\n                  <a name=\"nhin-purposeofuse-TREATMENT\"> </a>\n                </td>\n                <td>Treatment</td>\n                <td>Treatment</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">PAYMENT\n                  <a name=\"nhin-purposeofuse-PAYMENT\"> </a>\n                </td>\n                <td>Payment</td>\n                <td>Payment</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">OPERATIONS\n                  <a name=\"nhin-purposeofuse-OPERATIONS\"> </a>\n                </td>\n                <td>Operations</td>\n                <td>Healthcare Operations</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">SYSADMIN\n                  <a name=\"nhin-purposeofuse-SYSADMIN\"> </a>\n                </td>\n                <td>Sysadmin</td>\n                <td>System Administration</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">FRAUD\n                  <a name=\"nhin-purposeofuse-FRAUD\"> </a>\n                </td>\n                <td>Fraud</td>\n                <td>Fraud detection</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">PSYCHOTHERAPY\n                  <a name=\"nhin-purposeofuse-PSYCHOTHERAPY\"> </a>\n                </td>\n                <td>Psychotherapy</td>\n                <td>Use or disclosure of Psychotherapy Notes</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">TRAINING\n                  <a name=\"nhin-purposeofuse-TRAINING\"> </a>\n                </td>\n                <td>Training</td>\n                <td>Use or disclosure by the covered entity for its own training programs</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">LEGAL\n                  <a name=\"nhin-purposeofuse-LEGAL\"> </a>\n                </td>\n                <td>Legal</td>\n                <td>Use or disclosure by the covered entity to defend itself in a legal action</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">MARKETING\n                  <a name=\"nhin-purposeofuse-MARKETING\"> </a>\n                </td>\n                <td>Marketing</td>\n                <td>Marketing</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">DIRECTORY\n                  <a name=\"nhin-purposeofuse-DIRECTORY\"> </a>\n                </td>\n                <td>Directory</td>\n                <td>Use and disclosure for facility directories</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">FAMILY\n                  <a name=\"nhin-purposeofuse-FAMILY\"> </a>\n                </td>\n                <td>Family</td>\n                <td>Disclose to a family member, other relative, or a close personal friend of the individual</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">PRESENT\n                  <a name=\"nhin-purposeofuse-PRESENT\"> </a>\n                </td>\n                <td>Present</td>\n                <td>Uses and disclosures with the individual present.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">EMERGENCY\n                  <a name=\"nhin-purposeofuse-EMERGENCY\"> </a>\n                </td>\n                <td>Emergency</td>\n                <td>Permission cannot practicably be provided because of the individual's incapacity or an emergency.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">DISASTER\n                  <a name=\"nhin-purposeofuse-DISASTER\"> </a>\n                </td>\n                <td>Disaster</td>\n                <td>Use and disclosures for disaster relief purposes.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">PUBLICHEALTH\n                  <a name=\"nhin-purposeofuse-PUBLICHEALTH\"> </a>\n                </td>\n                <td>Public Health</td>\n                <td>Uses and disclosures for public health activities.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">ABUSE\n                  <a name=\"nhin-purposeofuse-ABUSE\"> </a>\n                </td>\n                <td>Abuse</td>\n                <td>Disclosures about victims of abuse, neglect or domestic violence.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">OVERSIGHT\n                  <a name=\"nhin-purposeofuse-OVERSIGHT\"> </a>\n                </td>\n                <td>Oversight</td>\n                <td>Uses and disclosures for health oversight activities.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">JUDICIAL\n                  <a name=\"nhin-purposeofuse-JUDICIAL\"> </a>\n                </td>\n                <td>Judicial</td>\n                <td>Disclosures for judicial and administrative proceedings.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">LAW\n                  <a name=\"nhin-purposeofuse-LAW\"> </a>\n                </td>\n                <td>Law Enforcement</td>\n                <td>Disclosures for law enforcement purposes.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">DECEASED\n                  <a name=\"nhin-purposeofuse-DECEASED\"> </a>\n                </td>\n                <td>Deceased</td>\n                <td>Uses and disclosures about decedents.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">DONATION\n                  <a name=\"nhin-purposeofuse-DONATION\"> </a>\n                </td>\n                <td>Donation</td>\n                <td>Uses and disclosures for cadaveric organ,  eye or tissue donation purposes</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">RESEARCH\n                  <a name=\"nhin-purposeofuse-RESEARCH\"> </a>\n                </td>\n                <td>Research</td>\n                <td>Uses and disclosures for research purposes.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">THREAT\n                  <a name=\"nhin-purposeofuse-THREAT\"> </a>\n                </td>\n                <td>Threat</td>\n                <td>Uses and disclosures to avert a serious threat to health or safety.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">GOVERNMENT\n                  <a name=\"nhin-purposeofuse-GOVERNMENT\"> </a>\n                </td>\n                <td>Government</td>\n                <td>Uses and disclosures for specialized government functions.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">WORKERSCOMP\n                  <a name=\"nhin-purposeofuse-WORKERSCOMP\"> </a>\n                </td>\n                <td>Worker's Comp</td>\n                <td>Disclosures for workers' compensation.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">COVERAGE\n                  <a name=\"nhin-purposeofuse-COVERAGE\"> </a>\n                </td>\n                <td>Coverage</td>\n                <td>Disclosures for insurance or disability coverage determination</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">REQUEST\n                  <a name=\"nhin-purposeofuse-REQUEST\"> </a>\n                </td>\n                <td>Request</td>\n                <td>Request of the Individual</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r5.r4"
       ]
     ] [
       fhir:url [
         fhir:v "version"^^xsd:anyURI ;
         fhir:l fhir:version
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "0.1.0"
       ]
     ] [
       fhir:url [
         fhir:v "uri"^^xsd:anyURI ;
         fhir:l fhir:uri
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4>
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://healthit.gov/nhin/purposeofuse"^^xsd:anyURI ;
     fhir:l <http://healthit.gov/nhin/purposeofuse>
  ] ; # 
  fhir:version [ fhir:v "2.0"] ; # 
  fhir:name [ fhir:v "NHINPurposeOfUse"] ; # 
  fhir:title [ fhir:v "NHIN PurposeOfUse"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2010-01-28T18:00:00-06:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "FHIR Infrastructure" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This value set is suitable for use with the provenance resource. It is derived from, but not compatible with, the HL7 v3 Purpose of use Code system."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/nhin-purposeofuse|4.0.1"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/nhin-purposeofuse?version=4.0.1>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "TREATMENT" ] ;
     fhir:display [ fhir:v "Treatment" ] ;
     fhir:definition [ fhir:v "Treatment" ]
  ] [
     fhir:code [ fhir:v "PAYMENT" ] ;
     fhir:display [ fhir:v "Payment" ] ;
     fhir:definition [ fhir:v "Payment" ]
  ] [
     fhir:code [ fhir:v "OPERATIONS" ] ;
     fhir:display [ fhir:v "Operations" ] ;
     fhir:definition [ fhir:v "Healthcare Operations" ]
  ] [
     fhir:code [ fhir:v "SYSADMIN" ] ;
     fhir:display [ fhir:v "Sysadmin" ] ;
     fhir:definition [ fhir:v "System Administration" ]
  ] [
     fhir:code [ fhir:v "FRAUD" ] ;
     fhir:display [ fhir:v "Fraud" ] ;
     fhir:definition [ fhir:v "Fraud detection" ]
  ] [
     fhir:code [ fhir:v "PSYCHOTHERAPY" ] ;
     fhir:display [ fhir:v "Psychotherapy" ] ;
     fhir:definition [ fhir:v "Use or disclosure of Psychotherapy Notes" ]
  ] [
     fhir:code [ fhir:v "TRAINING" ] ;
     fhir:display [ fhir:v "Training" ] ;
     fhir:definition [ fhir:v "Use or disclosure by the covered entity for its own training programs" ]
  ] [
     fhir:code [ fhir:v "LEGAL" ] ;
     fhir:display [ fhir:v "Legal" ] ;
     fhir:definition [ fhir:v "Use or disclosure by the covered entity to defend itself in a legal action" ]
  ] [
     fhir:code [ fhir:v "MARKETING" ] ;
     fhir:display [ fhir:v "Marketing" ] ;
     fhir:definition [ fhir:v "Marketing" ]
  ] [
     fhir:code [ fhir:v "DIRECTORY" ] ;
     fhir:display [ fhir:v "Directory" ] ;
     fhir:definition [ fhir:v "Use and disclosure for facility directories" ]
  ] [
     fhir:code [ fhir:v "FAMILY" ] ;
     fhir:display [ fhir:v "Family" ] ;
     fhir:definition [ fhir:v "Disclose to a family member, other relative, or a close personal friend of the individual" ]
  ] [
     fhir:code [ fhir:v "PRESENT" ] ;
     fhir:display [ fhir:v "Present" ] ;
     fhir:definition [ fhir:v "Uses and disclosures with the individual present." ]
  ] [
     fhir:code [ fhir:v "EMERGENCY" ] ;
     fhir:display [ fhir:v "Emergency" ] ;
     fhir:definition [ fhir:v "Permission cannot practicably be provided because of the individual's incapacity or an emergency." ]
  ] [
     fhir:code [ fhir:v "DISASTER" ] ;
     fhir:display [ fhir:v "Disaster" ] ;
     fhir:definition [ fhir:v "Use and disclosures for disaster relief purposes." ]
  ] [
     fhir:code [ fhir:v "PUBLICHEALTH" ] ;
     fhir:display [ fhir:v "Public Health" ] ;
     fhir:definition [ fhir:v "Uses and disclosures for public health activities." ]
  ] [
     fhir:code [ fhir:v "ABUSE" ] ;
     fhir:display [ fhir:v "Abuse" ] ;
     fhir:definition [ fhir:v "Disclosures about victims of abuse, neglect or domestic violence." ]
  ] [
     fhir:code [ fhir:v "OVERSIGHT" ] ;
     fhir:display [ fhir:v "Oversight" ] ;
     fhir:definition [ fhir:v "Uses and disclosures for health oversight activities." ]
  ] [
     fhir:code [ fhir:v "JUDICIAL" ] ;
     fhir:display [ fhir:v "Judicial" ] ;
     fhir:definition [ fhir:v "Disclosures for judicial and administrative proceedings." ]
  ] [
     fhir:code [ fhir:v "LAW" ] ;
     fhir:display [ fhir:v "Law Enforcement" ] ;
     fhir:definition [ fhir:v "Disclosures for law enforcement purposes." ]
  ] [
     fhir:code [ fhir:v "DECEASED" ] ;
     fhir:display [ fhir:v "Deceased" ] ;
     fhir:definition [ fhir:v "Uses and disclosures about decedents." ]
  ] [
     fhir:code [ fhir:v "DONATION" ] ;
     fhir:display [ fhir:v "Donation" ] ;
     fhir:definition [ fhir:v "Uses and disclosures for cadaveric organ,  eye or tissue donation purposes" ]
  ] [
     fhir:code [ fhir:v "RESEARCH" ] ;
     fhir:display [ fhir:v "Research" ] ;
     fhir:definition [ fhir:v "Uses and disclosures for research purposes." ]
  ] [
     fhir:code [ fhir:v "THREAT" ] ;
     fhir:display [ fhir:v "Threat" ] ;
     fhir:definition [ fhir:v "Uses and disclosures to avert a serious threat to health or safety." ]
  ] [
     fhir:code [ fhir:v "GOVERNMENT" ] ;
     fhir:display [ fhir:v "Government" ] ;
     fhir:definition [ fhir:v "Uses and disclosures for specialized government functions." ]
  ] [
     fhir:code [ fhir:v "WORKERSCOMP" ] ;
     fhir:display [ fhir:v "Worker's Comp" ] ;
     fhir:definition [ fhir:v "Disclosures for workers' compensation." ]
  ] [
     fhir:code [ fhir:v "COVERAGE" ] ;
     fhir:display [ fhir:v "Coverage" ] ;
     fhir:definition [ fhir:v "Disclosures for insurance or disability coverage determination" ]
  ] [
     fhir:code [ fhir:v "REQUEST" ] ;
     fhir:display [ fhir:v "Request" ] ;
     fhir:definition [ fhir:v "Request of the Individual" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

