Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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 ValueSet/nhin-purposeofuse (Turtle)

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

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

NHIN Purpose of Use

@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:ValueSet;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "nhin-purposeofuse"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <ul>\n        <li>Include all codes defined in \n          <a href=\"codesystem-nhin-purposeofuse.html\">\n            <code>http://healthit.gov/nhin/purposeofuse</code>\n          </a>\n        </li>\n      </ul>\n    </div>"
  ];
  fhir:DomainResource.contained [
     a fhir:ConceptMap;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "map" ];
     fhir:ConceptMap.name [ fhir:value "NHIN / V3 Mapping" ];
     fhir:ConceptMap.status [ fhir:value "draft" ];
     fhir:ConceptMap.group [
       fhir:index 0;
       fhir:ConceptMap.group.source [
         fhir:value "http://healthit.gov/nhin/purposeofuse";
         fhir:link <http://healthit.gov/nhin/purposeofuse>
       ];
       fhir:ConceptMap.group.target [
         fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason";
         fhir:link <http://terminology.hl7.org/CodeSystem/v3-ActReason>
       ];
       fhir:ConceptMap.group.element [
         fhir:index 0;
         fhir:ConceptMap.group.element.code [ fhir:value "TREATMENT" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "TREAT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 1;
         fhir:ConceptMap.group.element.code [ fhir:value "PAYMENT" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HPAYMT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 2;
         fhir:ConceptMap.group.element.code [ fhir:value "OPERATIONS" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HOPERAT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 3;
         fhir:ConceptMap.group.element.code [ fhir:value "SYSADMIN" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "SYSADMIN" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 4;
         fhir:ConceptMap.group.element.code [ fhir:value "FRAUD" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "FRAUD" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 5;
         fhir:ConceptMap.group.element.code [ fhir:value "PSYCHOTHERAPY" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "PSYCHOTHERAPY" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 6;
         fhir:ConceptMap.group.element.code [ fhir:value "TRAINING" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "TRAINING" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 7;
         fhir:ConceptMap.group.element.code [ fhir:value "LEGAL" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HLEGAL" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 8;
         fhir:ConceptMap.group.element.code [ fhir:value "MARKETING" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HMARKT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "source-is-broader-than-target" ];
           fhir:ConceptMap.group.element.target.comment [ fhir:value "Not clear how much difference there is between 'marketing' and 'healthcare marketing'" ]
         ]
       ], [
         fhir:index 9;
         fhir:ConceptMap.group.element.code [ fhir:value "DIRECTORY" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HDIRECT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 10;
         fhir:ConceptMap.group.element.code [ fhir:value "DISASTER" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "DISASTER" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 11;
         fhir:ConceptMap.group.element.code [ fhir:value "PUBLICHEALTH" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "PUBHLTH" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 12;
         fhir:ConceptMap.group.element.code [ fhir:value "JUDICIAL" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HLEGAL" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "source-is-narrower-than-target" ]
         ]
       ], [
         fhir:index 13;
         fhir:ConceptMap.group.element.code [ fhir:value "LAW" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HLEGAL" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "source-is-narrower-than-target" ]
         ]
       ], [
         fhir:index 14;
         fhir:ConceptMap.group.element.code [ fhir:value "DONATION" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "DONAT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 15;
         fhir:ConceptMap.group.element.code [ fhir:value "RESEARCH" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "HRESCH" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "source-is-broader-than-target" ];
           fhir:ConceptMap.group.element.target.comment [ fhir:value "Not clear how much difference there is between 'research' and 'healthcare research'" ]
         ]
       ], [
         fhir:index 16;
         fhir:ConceptMap.group.element.code [ fhir:value "THREAT" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "THREAT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 17;
         fhir:ConceptMap.group.element.code [ fhir:value "GOVERNMENT" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "GOV" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 18;
         fhir:ConceptMap.group.element.code [ fhir:value "COVERAGE" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "OVAUTH" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ], [
         fhir:index 19;
         fhir:ConceptMap.group.element.code [ fhir:value "REQUEST" ];
         fhir:ConceptMap.group.element.target [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.code [ fhir:value "PATRQT" ];
           fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ]
         ]
       ]
     ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-map" ];
     fhir:Extension.valueCanonical [ fhir:value "#map" ]
  ];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/nhin-purposeofuse"];
  fhir:ValueSet.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.3142" ]
  ];
  fhir:ValueSet.version [ fhir:value "5.0.0-ballot"];
  fhir:ValueSet.name [ fhir:value "NHIN PurposeOfUse"];
  fhir:ValueSet.status [ fhir:value "active"];
  fhir:ValueSet.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:ValueSet.date [ fhir:value "2010-01-29"^^xsd:date];
  fhir:ValueSet.publisher [ fhir:value "Nationwide Health Information Network (NHIN)"];
  fhir:ValueSet.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://www.healthit.gov/sites/default/files/nhin-authorization-framework-production-specification-v2.0-1.pdf" ]
     ]
  ];
  fhir:ValueSet.description [ fhir:value "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:ValueSet.compose [
     fhir:ValueSet.compose.include [
       fhir:index 0;
       fhir:ValueSet.compose.include.system [ fhir:value "http://healthit.gov/nhin/purposeofuse" ]
     ]
  ]] .

# - 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.