@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/4.0/CodeSystem/relationship> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "relationship"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem relationship</b></p><a name=\"relationship\"> </a><a name=\"hcrelationship\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/relationship</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">1<a name=\"relationship-1\"> </a></td><td>Self</td><td>The patient is the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">2<a name=\"relationship-2\"> </a></td><td>Spouse</td><td>The patient is the spouse or equivalent of the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"relationship-3\"> </a></td><td>Child</td><td>The patient is the child of the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"relationship-4\"> </a></td><td>Common Law Spouse</td><td>The patient is the common law spouse of the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"relationship-5\"> </a></td><td>Other</td><td>The patient has some other relationship, such as parent, to the subscriber (policy holder)</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:id ;
         fhir:v "hl7.fhir.uv.xver-r4.r4b"
       ]
     ] [
       fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "0.0.1-snapshot-2"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "fm"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "informative" ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:canonical ;
           fhir:v "http://hl7.org/fhir/4.0/ImplementationGuide/hl7.fhir.uv.xver-r4.r4b"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/4.0/ImplementationGuide/hl7.fhir.uv.xver-r4.r4b>
         ]
       ] )
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/relationship"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "4.0.1"] ; # 
  fhir:name [ fhir:v "Beneficiary Relationship Codes"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2025-09-13T16:11:23-04:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Financial Management"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Financial Management" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This value set includes the Patient to subscriber relationship codes."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "This is an example set."] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/relationship|4.3.0"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/relationship|4.3.0>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "1" ] ;
     fhir:display [ fhir:v "Self" ] ;
     fhir:definition [ fhir:v "The patient is the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "2" ] ;
     fhir:display [ fhir:v "Spouse" ] ;
     fhir:definition [ fhir:v "The patient is the spouse or equivalent of the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "3" ] ;
     fhir:display [ fhir:v "Child" ] ;
     fhir:definition [ fhir:v "The patient is the child of the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "4" ] ;
     fhir:display [ fhir:v "Common Law Spouse" ] ;
     fhir:definition [ fhir:v "The patient is the common law spouse of the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "5" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "The patient has some other relationship, such as parent, to the subscriber (policy holder)" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

