@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 -------------------------------------------------------------------

<http://terminology.hl7.org/ValueSet/v3-ActRelationshipReplaces> a fhir:ValueSet;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "v3-ActRelationshipReplaces"]; # 
  fhir:Resource.language [ fhir:value "en"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><ul><li>Include codes from <a href=\"CodeSystem-v3-ActRelationshipType.html\"><code>http://terminology.hl7.org/CodeSystem/v3-ActRelationshipType</code></a> where concept  is-a  <a href=\"CodeSystem-v3-ActRelationshipType.html#v3-ActRelationshipType-RPLC\">RPLC</a></li></ul></div>"
  ]; # 
  fhir:ValueSet.url [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActRelationshipReplaces"]; # 
  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.1.11.20009" ]
  ]; # 
  fhir:ValueSet.version [ fhir:value "2.0.0"]; # 
  fhir:ValueSet.name [ fhir:value "ActRelationshipReplaces"]; # 
  fhir:ValueSet.title [ fhir:value "ActRelationshipReplaces"]; # 
  fhir:ValueSet.status [ fhir:value "active"]; # 
  fhir:ValueSet.experimental [ fhir:value "false"^^xsd:boolean]; # 
  fhir:ValueSet.date [ fhir:value "2014-03-26"^^xsd:date]; # 
  fhir:ValueSet.description [ fhir:value "A replacement source act replaces an existing target act. The state of the target act being replaced becomes obselete, but the act is typically still retained in the system for historical reference. The source and target must be of the same type."]; # 
  fhir:ValueSet.immutable [ fhir:value "true"^^xsd:boolean]; # 
  fhir:ValueSet.compose [
     fhir:ValueSet.compose.include [
       fhir:index 0;
       fhir:ValueSet.compose.include.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActRelationshipType" ];
       fhir:ValueSet.compose.include.filter [
         fhir:index 0;
         fhir:ValueSet.compose.include.filter.property [ fhir:value "concept" ];
         fhir:ValueSet.compose.include.filter.op [ fhir:value "is-a" ];
         fhir:ValueSet.compose.include.filter.value [ fhir:value "RPLC" ]
       ]
     ]
  ] . # 

# - ontology header ------------------------------------------------------------

<http://terminology.hl7.org/ValueSet/v3-ActRelationshipReplaces.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

