Clinical Document Architecture V2.0.1
2.1.0-draft1 - 1st Draft

This page is part of the CDA: Clinical Document Architecture (v2.1.0-draft1: CDA 2.1 Draft) based on FHIR v5.0.0. . For a full list of available versions, see the Directory of published versions

Logical Model: CDAR2.AssignedCustodian - TTL Profile

Active as of 2023-01-16

TTL representation of the AssignedCustodian logical model.

Raw ttl | Download


@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:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "AssignedCustodian"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>A custodian is a scoping organization in the role of an assigned custodian (AssignedCustodian class).</p>\n    </div>"
  ]; # 
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
     fhir:Extension.valueUri [ fhir:value "urn:hl7-org:v3" ]
  ]; # 
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AssignedCustodian"]; # 
  fhir:StructureDefinition.version [ fhir:value "2.1.0-draft1"]; # 
  fhir:StructureDefinition.name [ fhir:value "CDAR2.AssignedCustodian"]; # 
  fhir:StructureDefinition.title [ fhir:value "AssignedCustodian (CDA Class)"]; # 
  fhir:StructureDefinition.status [ fhir:value "active"]; # 
  fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean]; # 
  fhir:StructureDefinition.date [ fhir:value "2023-01-16T16:39:50+11:00"^^xsd:dateTime]; # 
  fhir:StructureDefinition.publisher [ fhir:value "Health Level 7"]; # 
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 International - Cross-Group Projects" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/cgp" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "cgp@lists.HL7.org" ]     ]
  ]; # 
  fhir:StructureDefinition.description [ fhir:value "A custodian is a scoping organization in the role of an assigned custodian (AssignedCustodian class)."]; # 
  fhir:StructureDefinition.fhirVersion [ fhir:value "5.0.0-snapshot3"]; # 
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
  ]; # 
  fhir:StructureDefinition.kind [ fhir:value "logical"]; # 
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; # 
  fhir:StructureDefinition.type [ fhir:value "AssignedCustodian"]; # 
  fhir:StructureDefinition.baseDefinition [
     fhir:value "http://hl7.org/fhir/StructureDefinition/Base";
     fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
  ]; # 
  fhir:StructureDefinition.derivation [ fhir:value "specialization"]; # 
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "AssignedCustodian" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian" ];
       fhir:ElementDefinition.short [ fhir:value "Base for all types and resources" ];
       fhir:ElementDefinition.definition [ fhir:value "Base definition for all types defined in FHIR type system." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Base" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "AssignedCustodian.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "AssignedCustodian.classCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.defaultValueCode [ fhir:value "ASSIGNED" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "ASSIGNED" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity";
           fhir:link <http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity>         ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "AssignedCustodian.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian.templateId" ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "AssignedCustodian.templateId" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "AssignedCustodian.representedCustodianOrganization" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian.representedCustodianOrganization" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "AssignedCustodian.representedCustodianOrganization" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CustodianOrganization" ]       ]     ]
  ]; # 
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "AssignedCustodian" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "AssignedCustodian.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.defaultValueCode [ fhir:value "ASSIGNED" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "ASSIGNED" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity";
           fhir:link <http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity>         ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "AssignedCustodian.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian.templateId" ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "AssignedCustodian.representedCustodianOrganization" ];
       fhir:ElementDefinition.path [ fhir:value "AssignedCustodian.representedCustodianOrganization" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CustodianOrganization" ]       ]     ]
  ]. # 

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.