@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.ee/vris/BiologicallyDerivedProduct/donor-embryo1> a fhir:BiologicallyDerivedProduct ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "donor-embryo1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.ee/vris/StructureDefinition/ee-vris-embryo"^^xsd:anyURI ;
       fhir:link <https://fhir.ee/vris/StructureDefinition/ee-vris-embryo>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: BiologicallyDerivedProduct donor-embryo1</b></p><a name=\"donor-embryo1\"> </a><a name=\"hcdonor-embryo1\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ee-vris-embryo.html\">BiologicallyDerivedProduct: EE VRIS Embryo</a></p></div><p><b>Cryopreservation date</b>: 2025-02-20</p><p><b>Cell preservation reason</b>: <span title=\"Codes:{https://fhir.ee/CodeSystem/vris-pohjused hilisem}\">PGT</span></p><p><b>BiologicallyDerivedProduct Intended Recipient</b>: <a href=\"Patient-patientFemale.html\">Leena Lööve (official) Female, DoB: 1983-01-11 ( https://fhir.ee/sid/pid/est/ni#38301105216)</a></p><blockquote><p><b>Thawing date and count</b></p><ul><li>thawingDate: 2025-08-10</li><li>thawingCount: 1</li></ul></blockquote><blockquote><p><b>Re-cryopreservation date and count</b></p><ul><li>reCryo: false</li><li>reCryoCount: 0</li><li>reCryoDate: 2025-08-10</li></ul></blockquote><p><b>productCategory</b>: [not stated]: cells (cells)</p><p><b>productCode</b>: <span title=\"Codes:{http://snomed.info/sct 57991002}\">Entire embryo</span></p><p><b>parent</b>: </p><ul><li><a href=\"BiologicallyDerivedProduct-sperm1.html\">BiologicallyDerivedProduct: extension = 2025-02-20,For donation,-&gt;Leena Lööve (official) Female, DoB: 1983-01-11 ( https://fhir.ee/sid/pid/est/ni#38301105216); productCode = Seemnerakud; biologicalSourceEvent = ABC123; productStatus = available (available)</a></li><li><a href=\"BiologicallyDerivedProduct-oocyte1.html\">BiologicallyDerivedProduct: extension = 2025-02-20,Meditsiiniline põhjus,-&gt;Leena Lööve (official) Female, DoB: 1983-01-11 ( https://fhir.ee/sid/pid/est/ni#38301105216),; productCode = Munarakk; productStatus = available (available)</a></li></ul><p><b>biologicalSourceEvent</b>: <code>https://fhir.ee/sid/vris/procedure</code>/fertilization-2025-02-15-001</p><p><b>processingFacility</b>: <a href=\"Organization-organization-novavita1.html\">Organization Nova Vita Kliinik AS</a></p><p><b>productStatus</b>: [not stated]: available (available)</p><h3>Collections</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Source</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Patient-patientFemale.html\">Leena Lööve (official) Female, DoB: 1983-01-11 ( https://fhir.ee/sid/pid/est/ni#38301105216)</a></td></tr></table><h3>Properties</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">arengupäev</span></td><td>5</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "https://fhir.ee/vris/StructureDefinition/ee-vris-cryopreservation-date"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:dateTime ;
       fhir:v "2025-02-20"^^xsd:date
     ]
  ] [
     fhir:url [ fhir:v "https://fhir.ee/vris/StructureDefinition/ee-vris-cell-preservation-reason"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "https://fhir.ee/CodeSystem/vris-pohjused"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "hilisem" ] ;
         fhir:display [ fhir:v "PGT" ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-intendedRecipient"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <https://fhir.ee/vris/Patient/patientFemale> ;
       fhir:reference [ fhir:v "Patient/patientFemale" ]
     ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "thawingDate"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:dateTime ;
         fhir:v "2025-08-10"^^xsd:date
       ]
     ] [
       fhir:url [ fhir:v "thawingCount"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 1
       ]
     ] ) ;
     fhir:url [ fhir:v "https://fhir.ee/vris/StructureDefinition/ee-vris-thawing"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "reCryo"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v false
       ]
     ] [
       fhir:url [ fhir:v "reCryoCount"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 0
       ]
     ] [
       fhir:url [ fhir:v "reCryoDate"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:dateTime ;
         fhir:v "2025-08-10"^^xsd:date
       ]
     ] ) ;
     fhir:url [ fhir:v "https://fhir.ee/vris/StructureDefinition/ee-vris-recryo"^^xsd:anyURI ]
  ] ) ; # 
  fhir:productCategory [
     fhir:code [ fhir:v "cells" ]
  ] ; # 
  fhir:productCode [
     fhir:coding ( [
       a sct:57991002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "57991002" ] ;
       fhir:display [ fhir:v "Entire embryo" ]
     ] )
  ] ; # 
  fhir:parent ( [
     fhir:link <https://fhir.ee/vris/BiologicallyDerivedProduct/sperm1> ;
     fhir:reference [ fhir:v "BiologicallyDerivedProduct/sperm1" ]
  ] [
     fhir:link <https://fhir.ee/vris/BiologicallyDerivedProduct/oocyte1> ;
     fhir:reference [ fhir:v "BiologicallyDerivedProduct/oocyte1" ]
  ] ) ; # 
  fhir:biologicalSourceEvent [
     fhir:system [ fhir:v "https://fhir.ee/sid/vris/procedure"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fertilization-2025-02-15-001" ]
  ] ; # 
  fhir:processingFacility ( [
     fhir:link <https://fhir.ee/vris/Organization/organization-novavita1> ;
     fhir:reference [ fhir:v "Organization/organization-novavita1" ]
  ] ) ; # 
  fhir:productStatus [
     fhir:code [ fhir:v "available" ]
  ] ; # 
  fhir:collection [
     fhir:source [
       fhir:link <https://fhir.ee/vris/Patient/patientFemale> ;
       fhir:reference [ fhir:v "Patient/patientFemale" ]
     ]
  ] ; # 
  fhir:property ( [
     fhir:type [
       fhir:coding ( [
         fhir:code [ fhir:v "arengupäev" ]
       ] )
     ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v 5
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

