STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Moduledefinition-example.ttl

Raw Turtle, JSON-LD

Example of moduledefinition

@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 xs: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir//ModuleDefinition/example> a fhir:ModuleDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:ModuleDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.value [ fhir:value "ChalmydiaScreening_Common" ]
  ];
  fhir:ModuleDefinition.version [ fhir:value "2.0.0"];
  fhir:ModuleDefinition.model [
     fhir:index 0;
     fhir:ModuleDefinition.model.identifier [ fhir:value "QUICK" ]
  ];
  fhir:ModuleDefinition.valueSet [
     fhir:index 0;
     fhir:ModuleDefinition.valueSet.name [ fhir:value "Female Administrative Sex" ];
     fhir:ModuleDefinition.valueSet.identifier [ fhir:value "2.16.840.1.113883.3.560.100.2" ]
  ];
  fhir:ModuleDefinition.data [
     fhir:index 0;
     fhir:ModuleDefinition.data.type [ fhir:value "Condition" ];
     fhir:ModuleDefinition.data.codeFilter [
       fhir:index 0;
       fhir:ModuleDefinition.data.codeFilter.path [ fhir:value "code" ];
       fhir:ModuleDefinition.data.codeFilter.valueSetString [ fhir:value "Other Female Reproductive Conditions" ]     ]
  ].

# -------------------------------------------------------------------------------------


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.